com.liferay.portlet.documentlibrary.service
Class DLFileShortcutServiceUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFileShortcutServiceUtil
public class DLFileShortcutServiceUtil
- 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
DLFileShortcutService
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:
DLFileShortcutService
Method Summary |
static DLFileShortcut |
addFileShortcut(long folderId,
long toFolderId,
java.lang.String toName,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static DLFileShortcut |
addFileShortcut(long folderId,
long toFolderId,
java.lang.String toName,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
deleteFileShortcut(long fileShortcutId)
|
static DLFileShortcut |
getFileShortcut(long fileShortcutId)
|
static DLFileShortcutService |
getService()
|
void |
setService(DLFileShortcutService service)
|
static DLFileShortcut |
updateFileShortcut(long fileShortcutId,
long folderId,
long toFolderId,
java.lang.String toName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileShortcutServiceUtil
public DLFileShortcutServiceUtil()
addFileShortcut
public static DLFileShortcut addFileShortcut(long folderId,
long toFolderId,
java.lang.String toName,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
addFileShortcut
public static DLFileShortcut addFileShortcut(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,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteFileShortcut
public static void deleteFileShortcut(long fileShortcutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getFileShortcut
public static DLFileShortcut getFileShortcut(long fileShortcutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
updateFileShortcut
public static DLFileShortcut updateFileShortcut(long fileShortcutId,
long folderId,
long toFolderId,
java.lang.String toName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getService
public static DLFileShortcutService getService()
setService
public void setService(DLFileShortcutService service)