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

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
      extended by com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService

public class DLFileShortcutLocalServiceImpl
extends DLFileShortcutLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
counterLocalService, counterService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutFinder, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
DLFileShortcutLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(long userId, long folderId, long toFolderId, java.lang.String toName, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(long userId, long folderId, long toFolderId, java.lang.String toName, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(java.lang.String uuid, long userId, long folderId, long toFolderId, java.lang.String toName, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(java.lang.String uuid, long userId, long folderId, long toFolderId, java.lang.String toName, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFileShortcutResources(com.liferay.portlet.documentlibrary.model.DLFolder folder, com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileShortcutResources(com.liferay.portlet.documentlibrary.model.DLFolder folder, com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFileShortcutResources(long fileShortcutId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileShortcutResources(long fileShortcutId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteFileShortcut(com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
           
 void deleteFileShortcut(long fileShortcutId)
           
 void deleteFileShortcuts(long toFolderId, java.lang.String toName)
           
 com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(long fileShortcutId)
           
protected  long getFolderId(long companyId, long folderId)
           
 com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFolderId, java.lang.String toName)
           
 void updateFileShortcuts(long oldToFolderId, java.lang.String oldToName, long newToFolderId, java.lang.String newToName)
           
protected  void validate(com.liferay.portal.model.User user, long toFolderId, java.lang.String toName)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
addDLFileShortcut, createDLFileShortcut, deleteDLFileShortcut, deleteDLFileShortcut, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcut, getDLFileShortcutFinder, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcuts, getDLFileShortcutsCount, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutFinder, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateDLFileShortcut
 
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 com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(long userId,
                                                                                long folderId,
                                                                                long toFolderId,
                                                                                java.lang.String toName,
                                                                                boolean addCommunityPermissions,
                                                                                boolean addGuestPermissions)
                                                                         throws com.liferay.portal.PortalException,
                                                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFileShortcut

public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(java.lang.String uuid,
                                                                                long userId,
                                                                                long folderId,
                                                                                long toFolderId,
                                                                                java.lang.String toName,
                                                                                boolean addCommunityPermissions,
                                                                                boolean addGuestPermissions)
                                                                         throws com.liferay.portal.PortalException,
                                                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFileShortcut

public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(long userId,
                                                                                long folderId,
                                                                                long toFolderId,
                                                                                java.lang.String toName,
                                                                                java.lang.String[] communityPermissions,
                                                                                java.lang.String[] guestPermissions)
                                                                         throws com.liferay.portal.PortalException,
                                                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFileShortcut

public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(java.lang.String uuid,
                                                                                long userId,
                                                                                long folderId,
                                                                                long toFolderId,
                                                                                java.lang.String toName,
                                                                                java.lang.Boolean addCommunityPermissions,
                                                                                java.lang.Boolean addGuestPermissions,
                                                                                java.lang.String[] communityPermissions,
                                                                                java.lang.String[] guestPermissions)
                                                                         throws com.liferay.portal.PortalException,
                                                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFileShortcutResources

public void addFileShortcutResources(long fileShortcutId,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFileShortcutResources

public void addFileShortcutResources(com.liferay.portlet.documentlibrary.model.DLFolder folder,
                                     com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFileShortcutResources

public void addFileShortcutResources(long fileShortcutId,
                                     java.lang.String[] communityPermissions,
                                     java.lang.String[] guestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFileShortcutResources

public void addFileShortcutResources(com.liferay.portlet.documentlibrary.model.DLFolder folder,
                                     com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
                                     java.lang.String[] communityPermissions,
                                     java.lang.String[] guestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFileShortcut

public void deleteFileShortcut(long fileShortcutId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFileShortcut

public void deleteFileShortcut(com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFileShortcuts

public void deleteFileShortcuts(long toFolderId,
                                java.lang.String toName)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFileShortcut

public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(long fileShortcutId)
                                                                         throws com.liferay.portal.PortalException,
                                                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateFileShortcut

public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(long userId,
                                                                                   long fileShortcutId,
                                                                                   long folderId,
                                                                                   long toFolderId,
                                                                                   java.lang.String toName)
                                                                            throws com.liferay.portal.PortalException,
                                                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateFileShortcuts

public void updateFileShortcuts(long oldToFolderId,
                                java.lang.String oldToName,
                                long newToFolderId,
                                java.lang.String newToName)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFolderId

protected long getFolderId(long companyId,
                           long folderId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

validate

protected void validate(com.liferay.portal.model.User user,
                        long toFolderId,
                        java.lang.String toName)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException