Class DLFileShortcutServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFileShortcutServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutServiceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.DLFileShortcutService
,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseService
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutServiceBaseImpl
counterLocalService, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.document.library.kernel.model.DLFileShortcut
addFileShortcut
(String externalReferenceCode, long groupId, long repositoryId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteFileShortcut
(long fileShortcutId) void
deleteFileShortcut
(String externalReferenceCode, long groupId) com.liferay.document.library.kernel.model.DLFileShortcut
getDLFileShortcutByExternalReferenceCode
(String externalReferenceCode, long groupId) com.liferay.document.library.kernel.model.DLFileShortcut
getFileShortcut
(long fileShortcutId) List<com.liferay.document.library.kernel.model.DLFileShortcut>
getGroupFileShortcuts
(long groupId) List<com.liferay.document.library.kernel.model.DLFileShortcut>
getGroupFileShortcuts
(long groupId, int start, int end) long
getGroupFileShortcutsCount
(long groupId) com.liferay.document.library.kernel.model.DLFileShortcut
updateFileShortcut
(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
updateFileShortcuts
(long oldToFileEntryId, long newToFileEntryId) Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setCounterLocalService, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
DLFileShortcutServiceImpl
public DLFileShortcutServiceImpl()
-
-
Method Details
-
addFileShortcut
public com.liferay.document.library.kernel.model.DLFileShortcut addFileShortcut(String externalReferenceCode, 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
-
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
-
getDLFileShortcutByExternalReferenceCode
public com.liferay.document.library.kernel.model.DLFileShortcut getDLFileShortcutByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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
-
getGroupFileShortcuts
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getGroupFileShortcuts(long groupId) -
getGroupFileShortcuts
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getGroupFileShortcuts(long groupId, int start, int end) -
getGroupFileShortcutsCount
public long getGroupFileShortcutsCount(long groupId) -
updateFileShortcut
public com.liferay.document.library.kernel.model.DLFileShortcut updateFileShortcut(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) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-