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:
DLFileShortcutServiceFactory, DLFileShortcutServiceUtil

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

Method Detail

addDLFileShortcut

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

dynamicQuery

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

dynamicQuery

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

updateDLFileShortcut

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

addFileShortcut

public 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

public 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

public DLFileShortcut addFileShortcut(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

public 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

public 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

public 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

public 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

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

deleteFileShortcut

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

deleteFileShortcuts

public 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

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

updateFileShortcut

public 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

public 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