com.liferay.portlet.documentlibrary.service
Class DLFileVersionLocalServiceUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFileVersionLocalServiceUtil
public class DLFileVersionLocalServiceUtil
- 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
DLFileVersionLocalService
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:
DLFileVersionLocalService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileVersionLocalServiceUtil
public DLFileVersionLocalServiceUtil()
addDLFileVersion
public static DLFileVersion addDLFileVersion(DLFileVersion dlFileVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createDLFileVersion
public static DLFileVersion createDLFileVersion(long fileVersionId)
deleteDLFileVersion
public static void deleteDLFileVersion(long fileVersionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteDLFileVersion
public static void deleteDLFileVersion(DLFileVersion dlFileVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFileVersion
public static DLFileVersion getDLFileVersion(long fileVersionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDLFileVersions
public static java.util.List<DLFileVersion> getDLFileVersions(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFileVersionsCount
public static int getDLFileVersionsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateDLFileVersion
public static DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateDLFileVersion
public static DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileVersion
public static DLFileVersion getFileVersion(long folderId,
java.lang.String name,
double version)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileVersions
public static java.util.List<DLFileVersion> getFileVersions(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getService
public static DLFileVersionLocalService getService()
setService
public void setService(DLFileVersionLocalService service)