com.liferay.portlet.documentlibrary.service
Interface DLFileShortcutLocalService


public interface DLFileShortcutLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
DLFileShortcutLocalServiceFactory, DLFileShortcutLocalServiceUtil

Method Summary
 DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
           
 DLFileShortcut addFileShortcut(long userId, long folderId, long toFolderId, java.lang.String toName, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 DLFileShortcut addFileShortcut(long userId, long folderId, long toFolderId, java.lang.String toName, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFileShortcut addFileShortcut(java.lang.String uuid, long userId, long folderId, long toFolderId, java.lang.String toName, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 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(DLFolder folder, DLFileShortcut fileShortcut, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileShortcutResources(DLFolder folder, 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 deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
           
 void deleteDLFileShortcut(long fileShortcutId)
           
 void deleteFileShortcut(DLFileShortcut fileShortcut)
           
 void deleteFileShortcut(long fileShortcutId)
           
 void deleteFileShortcuts(long toFolderId, java.lang.String toName)
           
 java.util.List<DLFileShortcut> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<DLFileShortcut> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 DLFileShortcut getFileShortcut(long fileShortcutId)
           
 DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
           
 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)
           
 

Method Detail

addDLFileShortcut

DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteDLFileShortcut

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

deleteDLFileShortcut

void deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<DLFileShortcut> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<DLFileShortcut> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                            int begin,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateDLFileShortcut

DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addFileShortcut

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

addFileShortcut

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

addFileShortcut

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

addFileShortcut

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.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFileShortcutResources

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

addFileShortcutResources

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

addFileShortcutResources

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

addFileShortcutResources

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

deleteFileShortcut

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

deleteFileShortcut

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

deleteFileShortcuts

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

getFileShortcut

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

updateFileShortcut

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

updateFileShortcuts

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