@ProviderType
public class DDMFormInstanceVersionUtil
extends java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMFormInstanceVersionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DDMFormInstanceVersionPersistence
,
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMFormInstanceVersionPersistenceImpl
Constructor and Description |
---|
DDMFormInstanceVersionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDMFormInstanceVersion ddmFormInstanceVersion)
Caches the ddm form instance version in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMFormInstanceVersion> ddmFormInstanceVersions)
Caches the ddm form instance versions in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDMFormInstanceVersion ddmFormInstanceVersion) |
static int |
countAll()
Returns the number of ddm form instance versions.
|
static int |
countByF_S(long formInstanceId,
int status)
Returns the number of ddm form instance versions where formInstanceId = ? and status = ?.
|
static int |
countByF_V(long formInstanceId,
java.lang.String version)
Returns the number of ddm form instance versions where formInstanceId = ? and version = ?.
|
static int |
countByFormInstanceId(long formInstanceId)
Returns the number of ddm form instance versions where formInstanceId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DDMFormInstanceVersion |
create(long formInstanceVersionId)
Creates a new ddm form instance version with the primary key.
|
static DDMFormInstanceVersion |
fetchByF_S_First(long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
static DDMFormInstanceVersion |
fetchByF_S_Last(long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
static DDMFormInstanceVersion |
fetchByF_V(long formInstanceId,
java.lang.String version)
Returns the ddm form instance version where formInstanceId = ? and version = ? or returns
null if it could not be found. |
static DDMFormInstanceVersion |
fetchByF_V(long formInstanceId,
java.lang.String version,
boolean retrieveFromCache)
Returns the ddm form instance version where formInstanceId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMFormInstanceVersion |
fetchByFormInstanceId_First(long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the first ddm form instance version in the ordered set where formInstanceId = ?.
|
static DDMFormInstanceVersion |
fetchByFormInstanceId_Last(long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the last ddm form instance version in the ordered set where formInstanceId = ?.
|
static DDMFormInstanceVersion |
fetchByPrimaryKey(long formInstanceVersionId)
Returns the ddm form instance version with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDMFormInstanceVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<DDMFormInstanceVersion> |
findAll()
Returns all the ddm form instance versions.
|
static java.util.List<DDMFormInstanceVersion> |
findAll(int start,
int end)
Returns a range of all the ddm form instance versions.
|
static java.util.List<DDMFormInstanceVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns an ordered range of all the ddm form instance versions.
|
static java.util.List<DDMFormInstanceVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm form instance versions.
|
static DDMFormInstanceVersion |
findByF_S_First(long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
static DDMFormInstanceVersion |
findByF_S_Last(long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
static DDMFormInstanceVersion[] |
findByF_S_PrevAndNext(long formInstanceVersionId,
long formInstanceId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
|
static java.util.List<DDMFormInstanceVersion> |
findByF_S(long formInstanceId,
int status)
Returns all the ddm form instance versions where formInstanceId = ? and status = ?.
|
static java.util.List<DDMFormInstanceVersion> |
findByF_S(long formInstanceId,
int status,
int start,
int end)
Returns a range of all the ddm form instance versions where formInstanceId = ? and status = ?.
|
static java.util.List<DDMFormInstanceVersion> |
findByF_S(long formInstanceId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.
|
static java.util.List<DDMFormInstanceVersion> |
findByF_S(long formInstanceId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.
|
static DDMFormInstanceVersion |
findByF_V(long formInstanceId,
java.lang.String version)
Returns the ddm form instance version where formInstanceId = ? and version = ? or throws a
NoSuchFormInstanceVersionException if it could not be found. |
static DDMFormInstanceVersion |
findByFormInstanceId_First(long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the first ddm form instance version in the ordered set where formInstanceId = ?.
|
static DDMFormInstanceVersion |
findByFormInstanceId_Last(long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the last ddm form instance version in the ordered set where formInstanceId = ?.
|
static DDMFormInstanceVersion[] |
findByFormInstanceId_PrevAndNext(long formInstanceVersionId,
long formInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ?.
|
static java.util.List<DDMFormInstanceVersion> |
findByFormInstanceId(long formInstanceId)
Returns all the ddm form instance versions where formInstanceId = ?.
|
static java.util.List<DDMFormInstanceVersion> |
findByFormInstanceId(long formInstanceId,
int start,
int end)
Returns a range of all the ddm form instance versions where formInstanceId = ?.
|
static java.util.List<DDMFormInstanceVersion> |
findByFormInstanceId(long formInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.
|
static java.util.List<DDMFormInstanceVersion> |
findByFormInstanceId(long formInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.
|
static DDMFormInstanceVersion |
findByPrimaryKey(long formInstanceVersionId)
Returns the ddm form instance version with the primary key or throws a
NoSuchFormInstanceVersionException if it could not be found. |
static java.util.List<DDMFormInstanceVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDMFormInstanceVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMFormInstanceVersion> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static DDMFormInstanceVersionPersistence |
getPersistence() |
static DDMFormInstanceVersion |
remove(long formInstanceVersionId)
Removes the ddm form instance version with the primary key from the database.
|
static void |
removeAll()
Removes all the ddm form instance versions from the database.
|
static void |
removeByF_S(long formInstanceId,
int status)
Removes all the ddm form instance versions where formInstanceId = ? and status = ? from the database.
|
static DDMFormInstanceVersion |
removeByF_V(long formInstanceId,
java.lang.String version)
Removes the ddm form instance version where formInstanceId = ? and version = ? from the database.
|
static void |
removeByFormInstanceId(long formInstanceId)
Removes all the ddm form instance versions where formInstanceId = ? from the database.
|
static DDMFormInstanceVersion |
update(DDMFormInstanceVersion ddmFormInstanceVersion) |
static DDMFormInstanceVersion |
update(DDMFormInstanceVersion ddmFormInstanceVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDMFormInstanceVersion |
updateImpl(DDMFormInstanceVersion ddmFormInstanceVersion) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMFormInstanceVersion ddmFormInstanceVersion)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMFormInstanceVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMFormInstanceVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDMFormInstanceVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMFormInstanceVersion update(DDMFormInstanceVersion ddmFormInstanceVersion)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDMFormInstanceVersion update(DDMFormInstanceVersion ddmFormInstanceVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDpublic static java.util.List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)public static java.util.List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
formInstanceId
- the form instance IDstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DDMFormInstanceVersion findByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion fetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion findByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion fetchByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
formInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion[] findByFormInstanceId_PrevAndNext(long formInstanceVersionId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceVersionId
- the primary key of the current ddm form instance versionformInstanceId
- the form instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be foundpublic static void removeByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDpublic static int countByFormInstanceId(long formInstanceId)
formInstanceId
- the form instance IDpublic static DDMFormInstanceVersion findByF_V(long formInstanceId, java.lang.String version) throws NoSuchFormInstanceVersionException
NoSuchFormInstanceVersionException
if it could not be found.formInstanceId
- the form instance IDversion
- the versionNoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion fetchByF_V(long formInstanceId, java.lang.String version)
null
if it could not be found. Uses the finder cache.formInstanceId
- the form instance IDversion
- the versionnull
if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion fetchByF_V(long formInstanceId, java.lang.String version, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.formInstanceId
- the form instance IDversion
- the versionretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion removeByF_V(long formInstanceId, java.lang.String version) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDversion
- the versionNoSuchFormInstanceVersionException
public static int countByF_V(long formInstanceId, java.lang.String version)
formInstanceId
- the form instance IDversion
- the versionpublic static java.util.List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status)
formInstanceId
- the form instance IDstatus
- the statuspublic static java.util.List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)public static java.util.List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
formInstanceId
- the form instance IDstatus
- the statusstart
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DDMFormInstanceVersion findByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion fetchByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion findByF_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion fetchByF_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
formInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance version could not be foundpublic static DDMFormInstanceVersion[] findByF_S_PrevAndNext(long formInstanceVersionId, long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
formInstanceVersionId
- the primary key of the current ddm form instance versionformInstanceId
- the form instance IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be foundpublic static void removeByF_S(long formInstanceId, int status)
formInstanceId
- the form instance IDstatus
- the statuspublic static int countByF_S(long formInstanceId, int status)
formInstanceId
- the form instance IDstatus
- the statuspublic static void cacheResult(DDMFormInstanceVersion ddmFormInstanceVersion)
ddmFormInstanceVersion
- the ddm form instance versionpublic static void cacheResult(java.util.List<DDMFormInstanceVersion> ddmFormInstanceVersions)
ddmFormInstanceVersions
- the ddm form instance versionspublic static DDMFormInstanceVersion create(long formInstanceVersionId)
formInstanceVersionId
- the primary key for the new ddm form instance versionpublic static DDMFormInstanceVersion remove(long formInstanceVersionId) throws NoSuchFormInstanceVersionException
formInstanceVersionId
- the primary key of the ddm form instance versionNoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be foundpublic static DDMFormInstanceVersion updateImpl(DDMFormInstanceVersion ddmFormInstanceVersion)
public static DDMFormInstanceVersion findByPrimaryKey(long formInstanceVersionId) throws NoSuchFormInstanceVersionException
NoSuchFormInstanceVersionException
if it could not be found.formInstanceVersionId
- the primary key of the ddm form instance versionNoSuchFormInstanceVersionException
- if a ddm form instance version with the primary key could not be foundpublic static DDMFormInstanceVersion fetchByPrimaryKey(long formInstanceVersionId)
null
if it could not be found.formInstanceVersionId
- the primary key of the ddm form instance versionnull
if a ddm form instance version with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,DDMFormInstanceVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<DDMFormInstanceVersion> findAll()
public static java.util.List<DDMFormInstanceVersion> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)public static java.util.List<DDMFormInstanceVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMFormInstanceVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMFormInstanceVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of ddm form instance versionsend
- the upper bound of the range of ddm form instance versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static DDMFormInstanceVersionPersistence getPersistence()