com.liferay.portlet.documentlibrary.service
Interface DLFileShortcutLocalService

All Known Implementing Classes:
DLFileShortcutLocalServiceWrapper

@Transactional(isolation=PORTAL,
               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
Generated:

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, ServiceContext serviceContext)
           
 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)
           
 DLFileShortcut addFileShortcut(java.lang.String uuid, long userId, 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 toFolderId, java.lang.String toName)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.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)
           
 DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
           
 DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut, boolean merge)
           
 DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFolderId, java.lang.String toName)
           
 DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFolderId, java.lang.String toName, ServiceContext serviceContext)
           
 void updateFileShortcuts(long oldToFolderId, java.lang.String oldToName, long newToFolderId, java.lang.String newToName)
           
 void updateTagsAsset(long userId, DLFileShortcut fileShortcut, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
           
 

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

deleteDLFileShortcut

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

dynamicQuery

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

dynamicQuery

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

dynamicQuery

java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFileShortcut

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

getDLFileShortcutByUuidAndGroupId

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

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

updateDLFileShortcut

DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut,
                                    boolean merge)
                                    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(long userId,
                               long folderId,
                               long toFolderId,
                               java.lang.String toName,
                               ServiceContext serviceContext)
                               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,
                               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,
                               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

addFileShortcut

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

addFileShortcutResources

void addFileShortcutResources(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(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

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(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

deleteFileShortcut

void deleteFileShortcut(DLFileShortcut fileShortcut)
                        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

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

updateFileShortcut

DLFileShortcut updateFileShortcut(long userId,
                                  long fileShortcutId,
                                  long folderId,
                                  long toFolderId,
                                  java.lang.String toName,
                                  ServiceContext serviceContext)
                                  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

updateTagsAsset

void updateTagsAsset(long userId,
                     DLFileShortcut fileShortcut,
                     java.lang.String[] tagsCategories,
                     java.lang.String[] tagsEntries)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException