Class DLFileShortcutLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutLocalServiceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.DLFileShortcutLocalService,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.document.library.kernel.model.DLFileShortcut>,com.liferay.portal.kernel.service.PersistedModelLocalService
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
counterLocalService, dlFileShortcutLocalService, dlFileShortcutPersistence -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.document.library.kernel.model.DLFileShortcutaddFileShortcut(String externalReferenceCode, long userId, long groupId, long repositoryId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidaddFileShortcutResources(long fileShortcutId, boolean addGroupPermissions, boolean addGuestPermissions) voidaddFileShortcutResources(long fileShortcutId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) voidaddFileShortcutResources(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, boolean addGroupPermissions, boolean addGuestPermissions) voidaddFileShortcutResources(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) protected voidcopyAssetTags(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteFileShortcut(long fileShortcutId) voiddeleteFileShortcut(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut) voiddeleteFileShortcut(String externalReferenceCode, long groupId) voiddeleteFileShortcuts(long toFileEntryId) voiddeleteFileShortcuts(long groupId, long folderId) voiddeleteFileShortcuts(long groupId, long folderId, boolean includeTrashedEntries) voiddeleteRepositoryFileShortcuts(long repositoryId) voiddisableFileShortcuts(long toFileEntryId) voidenableFileShortcuts(long toFileEntryId) com.liferay.document.library.kernel.model.DLFileShortcutgetFileShortcut(long fileShortcutId) List<com.liferay.document.library.kernel.model.DLFileShortcut>getFileShortcuts(long toFileEntryId) List<com.liferay.document.library.kernel.model.DLFileShortcut>getFileShortcuts(long groupId, long folderId) List<com.liferay.document.library.kernel.model.DLFileShortcut>getFileShortcuts(long groupId, long folderId, boolean active, int status, int start, int end) intgetFileShortcutsCount(long groupId, long folderId, boolean active, int status) protected longgetFolderId(long companyId, long folderId) List<com.liferay.document.library.kernel.model.DLFileShortcut>getGroupFileShortcuts(long groupId) voidrebuildTree(long companyId) voidsetTreePaths(long folderId, String treePath) voidupdateAsset(long userId, com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, long[] assetCategoryIds, String[] assetTagNames) com.liferay.document.library.kernel.model.DLFileShortcutupdateFileShortcut(long userId, long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidupdateFileShortcuts(long oldToFileEntryId, long newToFileEntryId) voidupdateFileShortcutsActive(long toFileEntryId, boolean active) com.liferay.document.library.kernel.model.DLFileShortcutupdateStatus(long userId, long fileShortcutId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected voidvalidate(com.liferay.portal.kernel.model.User user, long groupId, long folderId, long toFileEntryId) Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
addDLFileShortcut, afterPropertiesSet, createDLFileShortcut, createPersistedModel, deleteDLFileShortcut, deleteDLFileShortcut, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDLFileShortcut, fetchDLFileShortcutByExternalReferenceCode, fetchDLFileShortcutByUuidAndGroupId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getDLFileShortcut, getDLFileShortcutByExternalReferenceCode, getDLFileShortcutByUuidAndGroupId, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcuts, getDLFileShortcutsByUuidAndCompanyId, getDLFileShortcutsByUuidAndCompanyId, getDLFileShortcutsCount, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setDLFileShortcutLocalService, setDLFileShortcutPersistence, updateDLFileShortcut, updateWithUnsafeFunctionMethods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
DLFileShortcutLocalServiceImpl
public DLFileShortcutLocalServiceImpl()
-
-
Method Details
-
addFileShortcut
public com.liferay.document.library.kernel.model.DLFileShortcut addFileShortcut(String externalReferenceCode, long userId, long groupId, long repositoryId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFileShortcutResources
public void addFileShortcutResources(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFileShortcutResources
public void addFileShortcutResources(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFileShortcutResources
public void addFileShortcutResources(long fileShortcutId, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFileShortcutResources
public void addFileShortcutResources(long fileShortcutId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFileShortcut
@SystemEvent(type=1) public void deleteFileShortcut(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFileShortcut
public void deleteFileShortcut(long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFileShortcut
public void deleteFileShortcut(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFileShortcuts
public void deleteFileShortcuts(long toFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFileShortcuts
public void deleteFileShortcuts(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFileShortcuts
public void deleteFileShortcuts(long groupId, long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteRepositoryFileShortcuts
public void deleteRepositoryFileShortcuts(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
disableFileShortcuts
public void disableFileShortcuts(long toFileEntryId) -
enableFileShortcuts
public void enableFileShortcuts(long toFileEntryId) -
getFileShortcut
public com.liferay.document.library.kernel.model.DLFileShortcut getFileShortcut(long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFileShortcuts
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getFileShortcuts(long toFileEntryId) -
getFileShortcuts
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getFileShortcuts(long groupId, long folderId) -
getFileShortcuts
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status, int start, int end) -
getFileShortcutsCount
public int getFileShortcutsCount(long groupId, long folderId, boolean active, int status) -
getGroupFileShortcuts
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getGroupFileShortcuts(long groupId) -
rebuildTree
public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
setTreePaths
public void setTreePaths(long folderId, String treePath) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAsset
public void updateAsset(long userId, com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, long[] assetCategoryIds, String[] assetTagNames) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFileShortcut
public com.liferay.document.library.kernel.model.DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFileShortcuts
public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId) -
updateFileShortcutsActive
public void updateFileShortcutsActive(long toFileEntryId, boolean active) -
updateStatus
public com.liferay.document.library.kernel.model.DLFileShortcut updateStatus(long userId, long fileShortcutId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyAssetTags
protected void copyAssetTags(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderId
protected long getFolderId(long companyId, long folderId) -
validate
protected void validate(com.liferay.portal.kernel.model.User user, long groupId, long folderId, long toFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-