com.liferay.portlet.documentlibrary.service
Interface DLFileShortcutLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
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)
           
 DLFileShortcut createDLFileShortcut(long fileShortcutId)
           
 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<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 DLFileShortcut getDLFileShortcut(long fileShortcutId)
           
 java.util.List<DLFileShortcut> getDLFileShortcuts(int start, int end)
           
 int getDLFileShortcutsCount()
           
 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

createDLFileShortcut

DLFileShortcut createDLFileShortcut(long fileShortcutId)

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

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFileShortcut

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileShortcut getDLFileShortcut(long fileShortcutId)
                                 throws com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDLFileShortcuts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileShortcut> getDLFileShortcuts(int start,
                                                                int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFileShortcutsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getDLFileShortcutsCount()
                            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.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

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

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

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

addFileShortcutResources

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

void addFileShortcutResources(DLFolder folder,
                              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

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

void addFileShortcutResources(DLFolder folder,
                              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

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

deleteFileShortcut

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

deleteFileShortcuts

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileShortcut getFileShortcut(long fileShortcutId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateFileShortcut

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

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