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(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 DLFileVersion |
getDLFileVersion(long fileVersionId)
|
static java.util.List<DLFileVersion> |
getDLFileVersions(int start,
int end)
|
static int |
getDLFileVersionsCount()
|
static DLFileVersion |
getFileVersion(long groupId,
long folderId,
java.lang.String name,
java.lang.String version)
|
static java.util.List<DLFileVersion> |
getFileVersions(long groupId,
long folderId,
java.lang.String name,
int status)
|
static DLFileVersion |
getLatestFileVersion(long groupId,
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 SystemException
- Throws:
SystemException
createDLFileVersion
public static DLFileVersion createDLFileVersion(long fileVersionId)
deleteDLFileVersion
public static void deleteDLFileVersion(long fileVersionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteDLFileVersion
public static void deleteDLFileVersion(DLFileVersion dlFileVersion)
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
getDLFileVersion
public static DLFileVersion getDLFileVersion(long fileVersionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDLFileVersions
public static java.util.List<DLFileVersion> getDLFileVersions(int start,
int end)
throws SystemException
- Throws:
SystemException
getDLFileVersionsCount
public static int getDLFileVersionsCount()
throws SystemException
- Throws:
SystemException
updateDLFileVersion
public static DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion)
throws SystemException
- Throws:
SystemException
updateDLFileVersion
public static DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion,
boolean merge)
throws SystemException
- Throws:
SystemException
getFileVersion
public static DLFileVersion getFileVersion(long groupId,
long folderId,
java.lang.String name,
java.lang.String version)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileVersions
public static java.util.List<DLFileVersion> getFileVersions(long groupId,
long folderId,
java.lang.String name,
int status)
throws SystemException
- Throws:
SystemException
getLatestFileVersion
public static DLFileVersion getLatestFileVersion(long groupId,
long folderId,
java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateDescription
public static DLFileVersion updateDescription(long fileVersionId,
java.lang.String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static DLFileVersionLocalService getService()
setService
public void setService(DLFileVersionLocalService service)