Liferay 6.2-ce-ga5

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:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, DLFileShortcutLocalService

public class DLFileShortcutLocalServiceImpl
extends DLFileShortcutLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService, dlAppHelperLocalService, dlAppLocalService, dlAppService, dlContentLocalService, dlContentPersistence, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryMetadataLocalService, dlFileEntryMetadataPersistence, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlSyncEventLocalService, dlSyncEventPersistence, persistedModelLocalServiceRegistry, resourceLocalService, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
DLFileShortcutLocalServiceImpl()
           
 
Method Summary
 DLFileShortcut addFileShortcut(long userId, long groupId, long folderId, long toFileEntryId, ServiceContext serviceContext)
           
 void addFileShortcutResources(DLFileShortcut fileShortcut, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addFileShortcutResources(DLFileShortcut fileShortcut, String[] groupPermissions, String[] guestPermissions)
           
 void addFileShortcutResources(long fileShortcutId, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addFileShortcutResources(long fileShortcutId, String[] groupPermissions, String[] guestPermissions)
           
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 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 folderId, long toFileEntryId, ServiceContext serviceContext)
           
 void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
           
 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, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDLFileShortcut, fetchDLFileShortcutByUuidAndCompanyId, fetchDLFileShortcutByUuidAndGroupId, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getCounterLocalService, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContentLocalService, getDLContentPersistence, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcut, getDLFileShortcutByUuidAndCompanyId, getDLFileShortcutByUuidAndGroupId, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcuts, getDLFileShortcutsCount, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLSyncEventLocalService, getDLSyncEventPersistence, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setCounterLocalService, setDLAppHelperLocalService, setDLAppLocalService, setDLAppService, setDLContentLocalService, setDLContentPersistence, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryMetadataLocalService, setDLFileEntryMetadataPersistence, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncEventLocalService, setDLSyncEventPersistence, setResourceLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateDLFileShortcut
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
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 folderId,
                                      long toFileEntryId,
                                      ServiceContext serviceContext)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

addFileShortcutResources

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

addFileShortcutResources

public void addFileShortcutResources(DLFileShortcut fileShortcut,
                                     String[] groupPermissions,
                                     String[] guestPermissions)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

addFileShortcutResources

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

addFileShortcutResources

public void addFileShortcutResources(long fileShortcutId,
                                     String[] groupPermissions,
                                     String[] guestPermissions)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deleteFileShortcut

public void deleteFileShortcut(DLFileShortcut fileShortcut)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteFileShortcut

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

deleteFileShortcuts

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

deleteFileShortcuts

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

deleteFileShortcuts

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

disableFileShortcuts

public void disableFileShortcuts(long toFileEntryId)
                          throws SystemException
Throws:
SystemException

enableFileShortcuts

public void enableFileShortcuts(long toFileEntryId)
                         throws SystemException
Throws:
SystemException

getFileShortcut

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

getFileShortcuts

public List<DLFileShortcut> getFileShortcuts(long groupId,
                                             long folderId,
                                             boolean active,
                                             int status,
                                             int start,
                                             int end)
                                      throws SystemException
Throws:
SystemException

getFileShortcutsCount

public int getFileShortcutsCount(long groupId,
                                 long folderId,
                                 boolean active,
                                 int status)
                          throws SystemException
Throws:
SystemException

rebuildTree

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

setTreePaths

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

updateAsset

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

updateFileShortcut

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

updateFileShortcuts

public void updateFileShortcuts(long oldToFileEntryId,
                                long newToFileEntryId)
                         throws SystemException
Throws:
SystemException

updateStatus

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

copyAssetTags

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

getFolderId

protected long getFolderId(long companyId,
                           long folderId)
                    throws SystemException
Throws:
SystemException

validate

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

Liferay 6.2-ce-ga5