com.liferay.portlet.documentlibrary.service
Interface DLFileShortcutLocalService

All Known Implementing Classes:
DLFileShortcutLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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
Generated:

Method Summary
 DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
           
 DLFileShortcut addFileShortcut(java.lang.String uuid, long userId, long groupId, long folderId, long toFolderId, java.lang.String toName, ServiceContext serviceContext)
           
 void addFileShortcutResources(DLFileShortcut fileShortcut, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileShortcutResources(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 groupId, long toFolderId, java.lang.String toName)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 DLFileShortcut getDLFileShortcut(long fileShortcutId)
           
 DLFileShortcut getDLFileShortcutByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<DLFileShortcut> getDLFileShortcuts(int start, int end)
           
 int getDLFileShortcutsCount()
           
 DLFileShortcut getFileShortcut(long fileShortcutId)
           
 void updateAsset(long userId, DLFileShortcut fileShortcut, long[] assetCategoryIds, java.lang.String[] assetTagNames)
           
 DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
           
 DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut, boolean merge)
           
 DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFolderId, java.lang.String toName, ServiceContext serviceContext)
           
 void updateFileShortcuts(long groupId, long oldToFolderId, java.lang.String oldToName, long newToFolderId, java.lang.String newToName)
           
 

Method Detail

addDLFileShortcut

DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
                                 throws SystemException
Throws:
SystemException

createDLFileShortcut

DLFileShortcut createDLFileShortcut(long fileShortcutId)

deleteDLFileShortcut

void deleteDLFileShortcut(long fileShortcutId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

deleteDLFileShortcut

void deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
                          throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getDLFileShortcut

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

getDLFileShortcutByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileShortcut getDLFileShortcutByUuidAndGroupId(java.lang.String uuid,
                                                                                          long groupId)
                                                 throws PortalException,
                                                        SystemException
Throws:
PortalException
SystemException

getDLFileShortcuts

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

getDLFileShortcutsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getDLFileShortcutsCount()
                            throws SystemException
Throws:
SystemException

updateDLFileShortcut

DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
                                    throws SystemException
Throws:
SystemException

updateDLFileShortcut

DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut,
                                    boolean merge)
                                    throws SystemException
Throws:
SystemException

addFileShortcut

DLFileShortcut addFileShortcut(java.lang.String uuid,
                               long userId,
                               long groupId,
                               long folderId,
                               long toFolderId,
                               java.lang.String toName,
                               ServiceContext serviceContext)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

addFileShortcutResources

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

addFileShortcutResources

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

addFileShortcutResources

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

addFileShortcutResources

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

deleteFileShortcut

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

deleteFileShortcut

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

deleteFileShortcuts

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

getFileShortcut

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

updateAsset

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

updateFileShortcut

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

updateFileShortcuts

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