public class DLAppHelperLocalServiceImpl extends DLAppHelperLocalServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService, dlAppHelperLocalService, dlAppLocalService, dlAppService, dlContentLocalService, dlContentPersistence, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryMetadataLocalService, dlFileEntryMetadataPersistence, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlSyncEventLocalService, dlSyncEventPersistence, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, lockFinder, lockLocalService, lockPersistence, mbDiscussionLocalService, mbDiscussionPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, ratingsEntryFinder, ratingsEntryLocalService, ratingsEntryPersistence, ratingsEntryService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence| Constructor and Description |
|---|
DLAppHelperLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFileEntry(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
addFolder(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
cancelCheckOut(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion draftFileVersion,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
checkAssetEntry(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
void |
deleteFileEntry(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
void |
deleteFolder(com.liferay.portal.kernel.repository.model.Folder folder) |
protected com.liferay.portal.kernel.repository.model.FileEntry |
doMoveFileEntryFromTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
long newFolderId,
com.liferay.portal.service.ServiceContext serviceContext) |
protected com.liferay.portal.kernel.repository.model.FileEntry |
doMoveFileEntryToTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
protected com.liferay.portal.kernel.repository.model.Folder |
doMoveFolderFromTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
long parentFolderId,
com.liferay.portal.service.ServiceContext serviceContext) |
protected com.liferay.portal.kernel.repository.model.Folder |
doMoveFolderToTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder) |
protected java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.Long,java.lang.Integer>> |
getDlFileVersionStatuses(java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> dlFileVersions) |
void |
getFileAsStream(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
boolean incrementCounter) |
protected long |
getFileEntryTypeId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
boolean active,
int status) |
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
int status)
Deprecated.
As of 6.2.0, replaced by
getFileShortcuts(long, long,
boolean, int) |
int |
getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status) |
int |
getFileShortcutsCount(long groupId,
long folderId,
int status)
Deprecated.
As of 6.2.0, replaced by
getFileShortcutsCount(long,
long, boolean, int) |
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getNoAssetFileEntries() |
protected boolean |
isStagingGroup(long groupId) |
void |
moveDependentsToTrash(java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
long trashEntryId) |
void |
moveFileEntry(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
com.liferay.portal.kernel.repository.model.FileEntry |
moveFileEntryFromTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
long newFolderId,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.repository.model.FileEntry |
moveFileEntryToTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
Moves the file entry to the recycle bin.
|
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
moveFileShortcutFromTrash(long userId,
com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
long newFolderId,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.documentlibrary.model.DLFileShortcut |
moveFileShortcutToTrash(long userId,
com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
Moves the file shortcut to the recycle bin.
|
void |
moveFolder(com.liferay.portal.kernel.repository.model.Folder folder) |
com.liferay.portal.kernel.repository.model.Folder |
moveFolderFromTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
long parentFolderId,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.repository.model.Folder |
moveFolderToTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder)
Moves the folder to the recycle bin.
|
protected void |
notify(com.liferay.portal.util.SubscriptionSender subscriptionSender) |
protected void |
notifySubscribers(com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
registerDLProcessorCallback(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
void |
registerDLSyncEventCallback(java.lang.String event,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
void |
registerDLSyncEventCallback(java.lang.String event,
com.liferay.portal.kernel.repository.model.Folder folder) |
protected void |
registerDLSyncEventCallback(java.lang.String event,
java.lang.String type,
long typePK) |
void |
restoreDependentsFromTrash(java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
long trashEntryId) |
void |
restoreFileEntryFromTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
void |
restoreFileShortcutFromTrash(long userId,
com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut) |
void |
restoreFolderFromTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder) |
com.liferay.portlet.asset.model.AssetEntry |
updateAsset(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
long assetClassPk) |
com.liferay.portlet.asset.model.AssetEntry |
updateAsset(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
com.liferay.portlet.asset.model.AssetEntry |
updateAsset(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
void |
updateFileEntry(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
long assetClassPk) |
void |
updateFileEntry(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
updateFolder(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
updateStatus(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion latestFileVersion,
int oldStatus,
int newStatus,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
com.liferay.portal.service.ServiceContext serviceContext) |
afterPropertiesSet, destroy, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getCounterLocalService, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContentLocalService, getDLContentPersistence, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLSyncEventLocalService, getDLSyncEventPersistence, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLockFinder, getLockLocalService, getLockPersistence, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsEntryFinder, getRatingsEntryLocalService, getRatingsEntryPersistence, getRatingsEntryService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setCounterLocalService, setDLAppHelperLocalService, setDLAppLocalService, setDLAppService, setDLContentLocalService, setDLContentPersistence, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryMetadataLocalService, setDLFileEntryMetadataPersistence, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncEventLocalService, setDLSyncEventPersistence, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLockFinder, setLockLocalService, setLockPersistence, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setRatingsEntryFinder, setRatingsEntryLocalService, setRatingsEntryPersistence, setRatingsEntryService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistencepublic void addFileEntry(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addFolder(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void cancelCheckOut(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion draftFileVersion,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void checkAssetEntry(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteFileEntry(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteFolder(com.liferay.portal.kernel.repository.model.Folder folder)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void getFileAsStream(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
boolean incrementCounter)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getFileShortcuts(long groupId,
long folderId,
boolean active,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getFileShortcuts(long groupId,
long folderId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
getFileShortcuts(long, long,
boolean, int)com.liferay.portal.kernel.exception.SystemExceptionpublic int getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getFileShortcutsCount(long groupId,
long folderId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
getFileShortcutsCount(long,
long, boolean, int)com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getNoAssetFileEntries()
public void moveDependentsToTrash(java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
long trashEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void moveFileEntry(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryFromTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
long newFolderId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryToTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the user moving the file entryfileEntry - the file entry to be movedcom.liferay.portal.kernel.exception.PortalException - if a user with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.documentlibrary.model.DLFileShortcut moveFileShortcutFromTrash(long userId,
com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
long newFolderId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.documentlibrary.model.DLFileShortcut moveFileShortcutToTrash(long userId,
com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the user moving the file shortcutdlFileShortcut - the file shortcut to be movedcom.liferay.portal.kernel.exception.PortalException - if a user with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void moveFolder(com.liferay.portal.kernel.repository.model.Folder folder)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.repository.model.Folder moveFolderFromTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
long parentFolderId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.repository.model.Folder moveFolderToTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
userId - the primary key of the user moving the folderfolder - the folder to be movedcom.liferay.portal.kernel.exception.PortalException - if a user with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void registerDLSyncEventCallback(java.lang.String event,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void registerDLSyncEventCallback(java.lang.String event,
com.liferay.portal.kernel.repository.model.Folder folder)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void restoreDependentsFromTrash(java.util.List<java.lang.Object> dlFileEntriesAndDLFolders,
long trashEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void restoreFileEntryFromTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void restoreFileShortcutFromTrash(long userId,
com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void restoreFolderFromTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetEntry updateAsset(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
long assetClassPk)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetEntry updateAsset(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetEntry updateAsset(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void updateFileEntry(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
long assetClassPk)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void updateFileEntry(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void updateFolder(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void updateStatus(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion latestFileVersion,
int oldStatus,
int newStatus,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.kernel.repository.model.FileEntry doMoveFileEntryFromTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
long newFolderId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.kernel.repository.model.FileEntry doMoveFileEntryToTrash(long userId,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.kernel.repository.model.Folder doMoveFolderFromTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder,
long parentFolderId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.kernel.repository.model.Folder doMoveFolderToTrash(long userId,
com.liferay.portal.kernel.repository.model.Folder folder)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.Long,java.lang.Integer>> getDlFileVersionStatuses(java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> dlFileVersions)
protected long getFileEntryTypeId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
protected boolean isStagingGroup(long groupId)
protected void notify(com.liferay.portal.util.SubscriptionSender subscriptionSender)
protected void notifySubscribers(com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void registerDLProcessorCallback(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
protected void registerDLSyncEventCallback(java.lang.String event,
java.lang.String type,
long typePK)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException