com.liferay.portlet.documentlibrary.service
Class DLFileShortcutLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalServiceUtil

public class DLFileShortcutLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the DLFileShortcutLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
DLFileShortcutLocalService
Generated:

Constructor Summary
DLFileShortcutLocalServiceUtil()
           
 
Method Summary
static DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
           
static DLFileShortcut addFileShortcut(java.lang.String uuid, long userId, long groupId, long folderId, long toFolderId, java.lang.String toName, ServiceContext serviceContext)
           
static void addFileShortcutResources(DLFileShortcut fileShortcut, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addFileShortcutResources(DLFileShortcut fileShortcut, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static void addFileShortcutResources(long fileShortcutId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addFileShortcutResources(long fileShortcutId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static DLFileShortcut createDLFileShortcut(long fileShortcutId)
           
static void deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
           
static void deleteDLFileShortcut(long fileShortcutId)
           
static void deleteFileShortcut(DLFileShortcut fileShortcut)
           
static void deleteFileShortcut(long fileShortcutId)
           
static void deleteFileShortcuts(long groupId, long toFolderId, java.lang.String toName)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
static DLFileShortcut getDLFileShortcut(long fileShortcutId)
           
static DLFileShortcut getDLFileShortcutByUuidAndGroupId(java.lang.String uuid, long groupId)
           
static java.util.List<DLFileShortcut> getDLFileShortcuts(int start, int end)
           
static int getDLFileShortcutsCount()
           
static DLFileShortcut getFileShortcut(long fileShortcutId)
           
static DLFileShortcutLocalService getService()
           
 void setService(DLFileShortcutLocalService service)
           
static void updateAsset(long userId, DLFileShortcut fileShortcut, long[] assetCategoryIds, java.lang.String[] assetTagNames)
           
static DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
           
static DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut, boolean merge)
           
static DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFolderId, java.lang.String toName, ServiceContext serviceContext)
           
static void updateFileShortcuts(long groupId, long oldToFolderId, java.lang.String oldToName, long newToFolderId, java.lang.String newToName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileShortcutLocalServiceUtil

public DLFileShortcutLocalServiceUtil()
Method Detail

addDLFileShortcut

public static DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
                                        throws SystemException
Throws:
SystemException

createDLFileShortcut

public static DLFileShortcut createDLFileShortcut(long fileShortcutId)

deleteDLFileShortcut

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

deleteDLFileShortcut

public static void deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
                                 throws SystemException
Throws:
SystemException

dynamicQuery

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

dynamicQuery

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

dynamicQuery

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

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getDLFileShortcut

public static DLFileShortcut getDLFileShortcut(long fileShortcutId)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

getDLFileShortcutByUuidAndGroupId

public static DLFileShortcut getDLFileShortcutByUuidAndGroupId(java.lang.String uuid,
                                                               long groupId)
                                                        throws PortalException,
                                                               SystemException
Throws:
PortalException
SystemException

getDLFileShortcuts

public static java.util.List<DLFileShortcut> getDLFileShortcuts(int start,
                                                                int end)
                                                         throws SystemException
Throws:
SystemException

getDLFileShortcutsCount

public static int getDLFileShortcutsCount()
                                   throws SystemException
Throws:
SystemException

updateDLFileShortcut

public static DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
                                           throws SystemException
Throws:
SystemException

updateDLFileShortcut

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

addFileShortcut

public static 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

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

addFileShortcutResources

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

addFileShortcutResources

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

addFileShortcutResources

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

deleteFileShortcut

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

deleteFileShortcut

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

deleteFileShortcuts

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

getFileShortcut

public static DLFileShortcut getFileShortcut(long fileShortcutId)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

updateAsset

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

updateFileShortcut

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

updateFileShortcuts

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

getService

public static DLFileShortcutLocalService getService()

setService

public void setService(DLFileShortcutLocalService service)