@CTAware @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DLAppHelperLocalService extends BaseLocalService
DLAppHelperLocalServiceUtil
Modifier and Type | Method and Description |
---|---|
void |
addFolder(long userId,
Folder folder,
ServiceContext serviceContext) |
void |
cancelCheckOut(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
FileVersion draftFileVersion,
ServiceContext serviceContext) |
void |
cancelCheckOuts(long groupId) |
void |
checkAssetEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion) |
void |
deleteFileEntry(FileEntry fileEntry) |
void |
deleteFolder(Folder folder) |
void |
deleteRepositoryFileEntries(long repositoryId) |
long |
getCheckedOutFileEntriesCount(long groupId) |
void |
getFileAsStream(long userId,
FileEntry fileEntry,
boolean incrementCounter) |
List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
boolean active,
int status) |
int |
getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status) |
List<FileEntry> |
getNoAssetFileEntries() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void |
moveDependentsToTrash(DLFolder dlFolder) |
FileEntry |
moveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext) |
FileEntry |
moveFileEntryToTrash(long userId,
FileEntry fileEntry)
Moves the file entry to the recycle bin.
|
FileShortcut |
moveFileShortcutFromTrash(long userId,
FileShortcut fileShortcut,
long newFolderId,
ServiceContext serviceContext) |
FileShortcut |
moveFileShortcutToTrash(long userId,
FileShortcut fileShortcut)
Moves the file shortcut to the recycle bin.
|
Folder |
moveFolderFromTrash(long userId,
Folder folder,
long parentFolderId,
ServiceContext serviceContext) |
Folder |
moveFolderToTrash(long userId,
Folder folder)
Moves the folder to the recycle bin.
|
void |
reindex(long companyId,
List<Long> dlFileEntryIds) |
void |
restoreDependentsFromTrash(DLFolder dlFolder) |
void |
restoreFileEntryFromTrash(long userId,
FileEntry fileEntry) |
void |
restoreFileEntryFromTrash(long userId,
long newFolderId,
FileEntry fileEntry) |
void |
restoreFileShortcutFromTrash(long userId,
FileShortcut fileShortcut) |
void |
restoreFolderFromTrash(long userId,
Folder folder) |
AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long assetClassPK) |
AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds) |
AssetEntry |
updateAsset(long userId,
Folder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds) |
void |
updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
long assetClassPK) |
void |
updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
ServiceContext serviceContext) |
void |
updateFolder(long userId,
Folder folder,
ServiceContext serviceContext) |
void |
updateStatus(long userId,
FileEntry fileEntry,
FileVersion latestFileVersion,
int oldStatus,
int newStatus,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext) |
void addFolder(long userId, Folder folder, ServiceContext serviceContext) throws PortalException
PortalException
void cancelCheckOut(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, FileVersion draftFileVersion, ServiceContext serviceContext) throws PortalException
PortalException
void cancelCheckOuts(long groupId) throws PortalException
PortalException
void checkAssetEntry(long userId, FileEntry fileEntry, FileVersion fileVersion) throws PortalException
PortalException
void deleteFileEntry(FileEntry fileEntry) throws PortalException
PortalException
void deleteFolder(Folder folder) throws PortalException
PortalException
void deleteRepositoryFileEntries(long repositoryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) long getCheckedOutFileEntriesCount(long groupId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) void getFileAsStream(long userId, FileEntry fileEntry, boolean incrementCounter)
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileShortcutsCount(long groupId, long folderId, boolean active, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) List<FileEntry> getNoAssetFileEntries()
String getOSGiServiceIdentifier()
void moveDependentsToTrash(DLFolder dlFolder) throws PortalException
PortalException
FileEntry moveFileEntryFromTrash(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext) throws PortalException
PortalException
FileEntry moveFileEntryToTrash(long userId, FileEntry fileEntry) throws PortalException
userId
- the primary key of the user moving the file entryfileEntry
- the file entry to be movedPortalException
FileShortcut moveFileShortcutFromTrash(long userId, FileShortcut fileShortcut, long newFolderId, ServiceContext serviceContext) throws PortalException
PortalException
FileShortcut moveFileShortcutToTrash(long userId, FileShortcut fileShortcut) throws PortalException
userId
- the primary key of the user moving the file shortcutfileShortcut
- the file shortcut to be movedPortalException
Folder moveFolderFromTrash(long userId, Folder folder, long parentFolderId, ServiceContext serviceContext) throws PortalException
PortalException
Folder moveFolderToTrash(long userId, Folder folder) throws PortalException
userId
- the primary key of the user moving the folderfolder
- the folder to be movedPortalException
@Async @Transactional(propagation=SUPPORTS, readOnly=true) void reindex(long companyId, List<Long> dlFileEntryIds) throws PortalException
PortalException
void restoreDependentsFromTrash(DLFolder dlFolder) throws PortalException
PortalException
void restoreFileEntryFromTrash(long userId, FileEntry fileEntry) throws PortalException
PortalException
void restoreFileEntryFromTrash(long userId, long newFolderId, FileEntry fileEntry) throws PortalException
PortalException
void restoreFileShortcutFromTrash(long userId, FileShortcut fileShortcut) throws PortalException
PortalException
void restoreFolderFromTrash(long userId, Folder folder) throws PortalException
PortalException
AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPK) throws PortalException
PortalException
AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException
PortalException
AssetEntry updateAsset(long userId, Folder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException
PortalException
void updateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, long assetClassPK) throws PortalException
PortalException
void updateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, ServiceContext serviceContext) throws PortalException
PortalException
void updateFolder(long userId, Folder folder, ServiceContext serviceContext) throws PortalException
PortalException
void updateStatus(long userId, FileEntry fileEntry, FileVersion latestFileVersion, int oldStatus, int newStatus, ServiceContext serviceContext, Map<String,Serializable> workflowContext) throws PortalException
PortalException