Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service.impl
Class DLFileShortcutLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, DLFileShortcutLocalService

public class DLFileShortcutLocalServiceImpl
extends DLFileShortcutLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, counterLocalService, dlAppLocalService, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, persistedModelLocalServiceRegistry, resourceLocalService, trashEntryLocalService, trashEntryPersistence, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence
 
Constructor Summary
DLFileShortcutLocalServiceImpl()
           
 
Method Summary
 DLFileShortcut addFileShortcut(long userId, long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext)
           
 void addFileShortcutResources(DLFileShortcut fileShortcut, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addFileShortcutResources(DLFileShortcut fileShortcut, ModelPermissions modelPermissions)
           
 void addFileShortcutResources(long fileShortcutId, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addFileShortcutResources(long fileShortcutId, ModelPermissions modelPermissions)
           
protected  void copyAssetTags(FileEntry fileEntry, ServiceContext serviceContext)
           
 void deleteFileShortcut(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 disableFileShortcuts(long toFileEntryId)
           
 void enableFileShortcuts(long toFileEntryId)
           
 DLFileShortcut getFileShortcut(long fileShortcutId)
           
 List<DLFileShortcut> getFileShortcuts(long toFileEntryId)
           
 List<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, DLFileShortcut fileShortcut, long[] assetCategoryIds, String[] assetTagNames)
           
 DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext)
           
 void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
           
 void updateFileShortcutsActive(long toFileEntryId, boolean active)
           
 void updateStatus(long userId, long fileShortcutId, int status, ServiceContext serviceContext)
           
protected  void validate(User user, long toFileEntryId)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
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, updateDLFileShortcut
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileShortcutLocalServiceImpl

public DLFileShortcutLocalServiceImpl()
Method Detail

addFileShortcut

public DLFileShortcut addFileShortcut(long userId,
                                      long groupId,
                                      long repositoryId,
                                      long folderId,
                                      long toFileEntryId,
                                      ServiceContext serviceContext)
                               throws PortalException
Throws:
PortalException

addFileShortcutResources

public void addFileShortcutResources(DLFileShortcut fileShortcut,
                                     boolean addGroupPermissions,
                                     boolean addGuestPermissions)
                              throws PortalException
Throws:
PortalException

addFileShortcutResources

public void addFileShortcutResources(DLFileShortcut fileShortcut,
                                     ModelPermissions modelPermissions)
                              throws PortalException
Throws:
PortalException

addFileShortcutResources

public void addFileShortcutResources(long fileShortcutId,
                                     boolean addGroupPermissions,
                                     boolean addGuestPermissions)
                              throws PortalException
Throws:
PortalException

addFileShortcutResources

public void addFileShortcutResources(long fileShortcutId,
                                     ModelPermissions modelPermissions)
                              throws PortalException
Throws:
PortalException

deleteFileShortcut

@SystemEvent(type=1)
public void deleteFileShortcut(DLFileShortcut fileShortcut)
                        throws PortalException
Throws:
PortalException

deleteFileShortcut

public void deleteFileShortcut(long fileShortcutId)
                        throws PortalException
Throws:
PortalException

deleteFileShortcuts

public void deleteFileShortcuts(long toFileEntryId)
                         throws PortalException
Throws:
PortalException

deleteFileShortcuts

public void deleteFileShortcuts(long groupId,
                                long folderId)
                         throws PortalException
Throws:
PortalException

deleteFileShortcuts

public void deleteFileShortcuts(long groupId,
                                long folderId,
                                boolean includeTrashedEntries)
                         throws PortalException
Throws:
PortalException

disableFileShortcuts

public void disableFileShortcuts(long toFileEntryId)

enableFileShortcuts

public void enableFileShortcuts(long toFileEntryId)

getFileShortcut

public DLFileShortcut getFileShortcut(long fileShortcutId)
                               throws PortalException
Throws:
PortalException

getFileShortcuts

public List<DLFileShortcut> getFileShortcuts(long toFileEntryId)

getFileShortcuts

public List<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)

rebuildTree

public void rebuildTree(long companyId)
                 throws PortalException
Throws:
PortalException

setTreePaths

public void setTreePaths(long folderId,
                         String treePath)
                  throws PortalException
Throws:
PortalException

updateAsset

public void updateAsset(long userId,
                        DLFileShortcut fileShortcut,
                        long[] assetCategoryIds,
                        String[] assetTagNames)
                 throws PortalException
Throws:
PortalException

updateFileShortcut

public DLFileShortcut updateFileShortcut(long userId,
                                         long fileShortcutId,
                                         long repositoryId,
                                         long folderId,
                                         long toFileEntryId,
                                         ServiceContext serviceContext)
                                  throws PortalException
Throws:
PortalException

updateFileShortcuts

public void updateFileShortcuts(long oldToFileEntryId,
                                long newToFileEntryId)

updateFileShortcutsActive

public void updateFileShortcutsActive(long toFileEntryId,
                                      boolean active)

updateStatus

public void updateStatus(long userId,
                         long fileShortcutId,
                         int status,
                         ServiceContext serviceContext)
                  throws PortalException
Throws:
PortalException

copyAssetTags

protected void copyAssetTags(FileEntry fileEntry,
                             ServiceContext serviceContext)
                      throws PortalException
Throws:
PortalException

getFolderId

protected long getFolderId(long companyId,
                           long folderId)

validate

protected void validate(User user,
                        long toFileEntryId)
                 throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4