com.liferay.portlet.documentlibrary.service
Class DLFileShortcutLocalServiceUtil
java.lang.Object
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
com.liferay.portlet.documentlibrary.service.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.
com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
DLFileShortcutLocalService
,
DLFileShortcutLocalServiceFactory
Method Summary |
static DLFileShortcut |
addDLFileShortcut(DLFileShortcut model)
|
static DLFileShortcut |
addFileShortcut(long userId,
long folderId,
long toFolderId,
java.lang.String toName,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static DLFileShortcut |
addFileShortcut(long userId,
long folderId,
long toFolderId,
java.lang.String toName,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static DLFileShortcut |
addFileShortcut(java.lang.String uuid,
long userId,
long folderId,
long toFolderId,
java.lang.String toName,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static 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)
|
static void |
addFileShortcutResources(DLFolder folder,
DLFileShortcut fileShortcut,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFileShortcutResources(DLFolder folder,
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 void |
afterPropertiesSet()
|
static void |
deleteFileShortcut(DLFileShortcut fileShortcut)
|
static void |
deleteFileShortcut(long fileShortcutId)
|
static void |
deleteFileShortcuts(long toFolderId,
java.lang.String toName)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static DLFileEntryAndShortcutFinder |
getDLFileEntryAndShortcutFinder()
|
static DLFileEntryFinder |
getDLFileEntryFinder()
|
static DLFileEntryPersistence |
getDLFileEntryPersistence()
|
static DLFileRankFinder |
getDLFileRankFinder()
|
static DLFileRankPersistence |
getDLFileRankPersistence()
|
static DLFileShortcutFinder |
getDLFileShortcutFinder()
|
static DLFileShortcutPersistence |
getDLFileShortcutPersistence()
|
static DLFileVersionPersistence |
getDLFileVersionPersistence()
|
static DLFolderPersistence |
getDLFolderPersistence()
|
static DLFileShortcut |
getFileShortcut(long fileShortcutId)
|
static ResourceFinder |
getResourceFinder()
|
static ResourcePersistence |
getResourcePersistence()
|
static UserFinder |
getUserFinder()
|
static UserPersistence |
getUserPersistence()
|
static void |
setDLFileEntryAndShortcutFinder(DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder)
|
static void |
setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
|
static void |
setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
|
static void |
setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
|
static void |
setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
|
static void |
setDLFileShortcutFinder(DLFileShortcutFinder dlFileShortcutFinder)
|
static void |
setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
|
static void |
setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
|
static void |
setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
|
static void |
setResourceFinder(ResourceFinder resourceFinder)
|
static void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
static void |
setUserFinder(UserFinder userFinder)
|
static void |
setUserPersistence(UserPersistence userPersistence)
|
static DLFileShortcut |
updateDLFileShortcut(DLFileShortcut model)
|
static DLFileShortcut |
updateFileShortcut(long userId,
long fileShortcutId,
long folderId,
long toFolderId,
java.lang.String toName)
|
static void |
updateFileShortcuts(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 |
DLFileShortcutLocalServiceUtil
public DLFileShortcutLocalServiceUtil()
addDLFileShortcut
public static DLFileShortcut addDLFileShortcut(DLFileShortcut model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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 static DLFileShortcut updateDLFileShortcut(DLFileShortcut model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFileEntryPersistence
public static DLFileEntryPersistence getDLFileEntryPersistence()
setDLFileEntryPersistence
public static void setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
getDLFileEntryFinder
public static DLFileEntryFinder getDLFileEntryFinder()
setDLFileEntryFinder
public static void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
getDLFileEntryAndShortcutFinder
public static DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder()
setDLFileEntryAndShortcutFinder
public static void setDLFileEntryAndShortcutFinder(DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder)
getDLFileRankPersistence
public static DLFileRankPersistence getDLFileRankPersistence()
setDLFileRankPersistence
public static void setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
getDLFileRankFinder
public static DLFileRankFinder getDLFileRankFinder()
setDLFileRankFinder
public static void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
getDLFileShortcutPersistence
public static DLFileShortcutPersistence getDLFileShortcutPersistence()
setDLFileShortcutPersistence
public static void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
getDLFileShortcutFinder
public static DLFileShortcutFinder getDLFileShortcutFinder()
setDLFileShortcutFinder
public static void setDLFileShortcutFinder(DLFileShortcutFinder dlFileShortcutFinder)
getDLFileVersionPersistence
public static DLFileVersionPersistence getDLFileVersionPersistence()
setDLFileVersionPersistence
public static void setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
getDLFolderPersistence
public static DLFolderPersistence getDLFolderPersistence()
setDLFolderPersistence
public static void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
getResourcePersistence
public static ResourcePersistence getResourcePersistence()
setResourcePersistence
public static void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public static ResourceFinder getResourceFinder()
setResourceFinder
public static void setResourceFinder(ResourceFinder resourceFinder)
getUserPersistence
public static UserPersistence getUserPersistence()
setUserPersistence
public static void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public static UserFinder getUserFinder()
setUserFinder
public static void setUserFinder(UserFinder userFinder)
afterPropertiesSet
public static void afterPropertiesSet()
addFileShortcut
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static void deleteFileShortcut(long fileShortcutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileShortcut
public static void deleteFileShortcut(DLFileShortcut fileShortcut)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFileShortcuts
public static 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
public static DLFileShortcut getFileShortcut(long fileShortcutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFileShortcut
public static 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
public static void updateFileShortcuts(long oldToFolderId,
java.lang.String oldToName,
long newToFolderId,
java.lang.String newToName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException