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.DLFileShortcut
addFileShortcut
(String externalReferenceCode, long userId, long groupId, long repositoryId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
addFileShortcutResources
(long fileShortcutId, boolean addGroupPermissions, boolean addGuestPermissions) void
addFileShortcutResources
(long fileShortcutId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) void
addFileShortcutResources
(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, boolean addGroupPermissions, boolean addGuestPermissions) void
addFileShortcutResources
(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) protected void
copyAssetTags
(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteFileShortcut
(long fileShortcutId) void
deleteFileShortcut
(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut) void
deleteFileShortcut
(String externalReferenceCode, long groupId) void
deleteFileShortcuts
(long toFileEntryId) void
deleteFileShortcuts
(long groupId, long folderId) void
deleteFileShortcuts
(long groupId, long folderId, boolean includeTrashedEntries) void
deleteRepositoryFileShortcuts
(long repositoryId) void
disableFileShortcuts
(long toFileEntryId) void
enableFileShortcuts
(long toFileEntryId) com.liferay.document.library.kernel.model.DLFileShortcut
getFileShortcut
(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) int
getFileShortcutsCount
(long groupId, long folderId, boolean active, int status) protected long
getFolderId
(long companyId, long folderId) List<com.liferay.document.library.kernel.model.DLFileShortcut>
getGroupFileShortcuts
(long groupId) void
rebuildTree
(long companyId) void
setTreePaths
(long folderId, String treePath) void
updateAsset
(long userId, com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut, long[] assetCategoryIds, String[] assetTagNames) 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) void
updateFileShortcuts
(long oldToFileEntryId, long newToFileEntryId) void
updateFileShortcutsActive
(long toFileEntryId, boolean active) com.liferay.document.library.kernel.model.DLFileShortcut
updateStatus
(long userId, long fileShortcutId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected void
validate
(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, updateWithUnsafeFunction
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-