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
- Generated:
Method Summary |
static DLFileVersion |
addDLFileVersion(DLFileVersion dlFileVersion)
|
static DLFileVersion |
createDLFileVersion(long fileVersionId)
|
static void |
deleteDLFileVersion(DLFileVersion dlFileVersion)
|
static void |
deleteDLFileVersion(long fileVersionId)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static DLFileVersion |
getDLFileVersion(long fileVersionId)
|
static java.util.List<DLFileVersion> |
getDLFileVersions(int start,
int end)
|
static int |
getDLFileVersionsCount()
|
static DLFileVersion |
getFileVersion(long folderId,
java.lang.String name,
double version)
|
static java.util.List<DLFileVersion> |
getFileVersions(long folderId,
java.lang.String name)
|
static DLFileVersion |
getLatestFileVersion(long folderId,
java.lang.String name)
|
static DLFileVersionLocalService |
getService()
|
void |
setService(DLFileVersionLocalService service)
|
static DLFileVersion |
updateDescription(long fileVersionId,
java.lang.String description)
|
static DLFileVersion |
updateDLFileVersion(DLFileVersion dlFileVersion)
|
static DLFileVersion |
updateDLFileVersion(DLFileVersion dlFileVersion,
boolean merge)
|
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 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 dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
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
getLatestFileVersion
public static DLFileVersion getLatestFileVersion(long folderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateDescription
public static DLFileVersion updateDescription(long fileVersionId,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static DLFileVersionLocalService getService()
setService
public void setService(DLFileVersionLocalService service)