public class DLFileShortcutLocalServiceImpl extends DLFileShortcutLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, counterLocalService, dlAppLocalService, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, persistedModelLocalServiceRegistry, resourceLocalService, trashEntryLocalService, trashEntryPersistence, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence| Constructor and Description |
|---|
DLFileShortcutLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.document.library.kernel.model.DLFileShortcut |
addFileShortcut(long userId,
long groupId,
long repositoryId,
long folderId,
long toFileEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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) |
void |
addFileShortcutResources(long fileShortcutId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addFileShortcutResources(long fileShortcutId,
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(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut) |
void |
deleteFileShortcut(long fileShortcutId) |
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,
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) |
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 toFileEntryId) |
addDLFileShortcut, afterPropertiesSet, createDLFileShortcut, deleteDLFileShortcut, deleteDLFileShortcut, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDLFileShortcut, fetchDLFileShortcutByUuidAndGroupId, getActionableDynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getCounterLocalService, getDLAppLocalService, getDLFileShortcut, getDLFileShortcutByUuidAndGroupId, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcuts, getDLFileShortcutsByUuidAndCompanyId, getDLFileShortcutsByUuidAndCompanyId, getDLFileShortcutsCount, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setCounterLocalService, setDLAppLocalService, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setResourceLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateDLFileShortcutpublic com.liferay.document.library.kernel.model.DLFileShortcut addFileShortcut(long userId,
long groupId,
long repositoryId,
long folderId,
long toFileEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addFileShortcutResources(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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
com.liferay.portal.kernel.exception.PortalExceptionpublic void addFileShortcutResources(long fileShortcutId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addFileShortcutResources(long fileShortcutId,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@SystemEvent(type=1)
public void deleteFileShortcut(com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteFileShortcut(long fileShortcutId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteFileShortcuts(long toFileEntryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteFileShortcuts(long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteFileShortcuts(long groupId,
long folderId,
boolean includeTrashedEntries)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteRepositoryFileShortcuts(long repositoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void disableFileShortcuts(long toFileEntryId)
public void enableFileShortcuts(long toFileEntryId)
public com.liferay.document.library.kernel.model.DLFileShortcut getFileShortcut(long fileShortcutId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic List<com.liferay.document.library.kernel.model.DLFileShortcut> getFileShortcuts(long toFileEntryId)
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getFileShortcuts(long groupId,
long folderId,
boolean active,
int status,
int start,
int end)
public int getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status)
public void rebuildTree(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void setTreePaths(long folderId,
String treePath)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void updateAsset(long userId,
com.liferay.document.library.kernel.model.DLFileShortcut fileShortcut,
long[] assetCategoryIds,
String[] assetTagNames)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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
com.liferay.portal.kernel.exception.PortalExceptionpublic void updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
public void updateFileShortcutsActive(long toFileEntryId,
boolean active)
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
com.liferay.portal.kernel.exception.PortalExceptionprotected void copyAssetTags(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected long getFolderId(long companyId,
long folderId)
protected void validate(com.liferay.portal.kernel.model.User user,
long toFileEntryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException