@ProviderType public interface DDMFormInstancePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstance>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstance>
Caching information and settings can be found in portal.properties
DDMFormInstanceUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDMFormInstance ddmFormInstance)
Caches the ddm form instance in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMFormInstance> ddmFormInstances)
Caches the ddm form instances in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddm form instances.
|
int |
countByGroupId(long groupId)
Returns the number of ddm form instances where groupId = ?.
|
int |
countByGroupId(long[] groupIds)
Returns the number of ddm form instances where groupId = any ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ddm form instances where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of ddm form instances where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of ddm form instances where uuid = ?.
|
DDMFormInstance |
create(long formInstanceId)
Creates a new ddm form instance with the primary key.
|
DDMFormInstance |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the first ddm form instance in the ordered set where groupId = ?.
|
DDMFormInstance |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the last ddm form instance in the ordered set where groupId = ?.
|
DDMFormInstance |
fetchByPrimaryKey(long formInstanceId)
Returns the ddm form instance with the primary key or returns
null if it could not be found. |
DDMFormInstance |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the first ddm form instance in the ordered set where uuid = ? and companyId = ?.
|
DDMFormInstance |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the last ddm form instance in the ordered set where uuid = ? and companyId = ?.
|
DDMFormInstance |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the first ddm form instance in the ordered set where uuid = ?.
|
DDMFormInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm form instance where uuid = ? and groupId = ? or returns
null if it could not be found. |
DDMFormInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the ddm form instance where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMFormInstance |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the last ddm form instance in the ordered set where uuid = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of ddm form instances that the user has permission to view where groupId = ?.
|
int |
filterCountByGroupId(long[] groupIds)
Returns the number of ddm form instances that the user has permission to view where groupId = any ?.
|
DDMFormInstance[] |
filterFindByGroupId_PrevAndNext(long formInstanceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the ddm form instances before and after the current ddm form instance in the ordered set of ddm form instances that the user has permission to view where groupId = ?.
|
java.util.List<DDMFormInstance> |
filterFindByGroupId(long groupId)
Returns all the ddm form instances that the user has permission to view where groupId = ?.
|
java.util.List<DDMFormInstance> |
filterFindByGroupId(long[] groupIds)
Returns all the ddm form instances that the user has permission to view where groupId = any ?.
|
java.util.List<DDMFormInstance> |
filterFindByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the ddm form instances that the user has permission to view where groupId = any ?.
|
java.util.List<DDMFormInstance> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns an ordered range of all the ddm form instances that the user has permission to view where groupId = any ?.
|
java.util.List<DDMFormInstance> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the ddm form instances that the user has permission to view where groupId = ?.
|
java.util.List<DDMFormInstance> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns an ordered range of all the ddm form instances that the user has permissions to view where groupId = ?.
|
java.util.List<DDMFormInstance> |
findAll()
Returns all the ddm form instances.
|
java.util.List<DDMFormInstance> |
findAll(int start,
int end)
Returns a range of all the ddm form instances.
|
java.util.List<DDMFormInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns an ordered range of all the ddm form instances.
|
java.util.List<DDMFormInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instances.
|
DDMFormInstance |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the first ddm form instance in the ordered set where groupId = ?.
|
DDMFormInstance |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the last ddm form instance in the ordered set where groupId = ?.
|
DDMFormInstance[] |
findByGroupId_PrevAndNext(long formInstanceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the ddm form instances before and after the current ddm form instance in the ordered set where groupId = ?.
|
java.util.List<DDMFormInstance> |
findByGroupId(long groupId)
Returns all the ddm form instances where groupId = ?.
|
java.util.List<DDMFormInstance> |
findByGroupId(long[] groupIds)
Returns all the ddm form instances where groupId = any ?.
|
java.util.List<DDMFormInstance> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the ddm form instances where groupId = any ?.
|
java.util.List<DDMFormInstance> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns an ordered range of all the ddm form instances where groupId = any ?.
|
java.util.List<DDMFormInstance> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instances where groupId = ?, optionally using the finder cache.
|
java.util.List<DDMFormInstance> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the ddm form instances where groupId = ?.
|
java.util.List<DDMFormInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns an ordered range of all the ddm form instances where groupId = ?.
|
java.util.List<DDMFormInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instances where groupId = ?.
|
DDMFormInstance |
findByPrimaryKey(long formInstanceId)
Returns the ddm form instance with the primary key or throws a
NoSuchFormInstanceException if it could not be found. |
DDMFormInstance |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the first ddm form instance in the ordered set where uuid = ? and companyId = ?.
|
DDMFormInstance |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the last ddm form instance in the ordered set where uuid = ? and companyId = ?.
|
DDMFormInstance[] |
findByUuid_C_PrevAndNext(long formInstanceId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the ddm form instances before and after the current ddm form instance in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<DDMFormInstance> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ddm form instances where uuid = ? and companyId = ?.
|
java.util.List<DDMFormInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ddm form instances where uuid = ? and companyId = ?.
|
java.util.List<DDMFormInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns an ordered range of all the ddm form instances where uuid = ? and companyId = ?.
|
java.util.List<DDMFormInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instances where uuid = ? and companyId = ?.
|
DDMFormInstance |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the first ddm form instance in the ordered set where uuid = ?.
|
DDMFormInstance |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm form instance where uuid = ? and groupId = ? or throws a
NoSuchFormInstanceException if it could not be found. |
DDMFormInstance |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the last ddm form instance in the ordered set where uuid = ?.
|
DDMFormInstance[] |
findByUuid_PrevAndNext(long formInstanceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns the ddm form instances before and after the current ddm form instance in the ordered set where uuid = ?.
|
java.util.List<DDMFormInstance> |
findByUuid(java.lang.String uuid)
Returns all the ddm form instances where uuid = ?.
|
java.util.List<DDMFormInstance> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ddm form instances where uuid = ?.
|
java.util.List<DDMFormInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
Returns an ordered range of all the ddm form instances where uuid = ?.
|
java.util.List<DDMFormInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm form instances where uuid = ?.
|
DDMFormInstance |
remove(long formInstanceId)
Removes the ddm form instance with the primary key from the database.
|
void |
removeAll()
Removes all the ddm form instances from the database.
|
void |
removeByGroupId(long groupId)
Removes all the ddm form instances where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ddm form instances where uuid = ? and companyId = ? from the database.
|
DDMFormInstance |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the ddm form instance where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the ddm form instances where uuid = ? from the database.
|
DDMFormInstance |
updateImpl(DDMFormInstance ddmFormInstance) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<DDMFormInstance> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<DDMFormInstance> findByUuid(java.lang.String uuid, 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)java.util.List<DDMFormInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDMFormInstance findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a matching ddm form instance could not be foundDDMFormInstance fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance could not be foundDDMFormInstance findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a matching ddm form instance could not be foundDDMFormInstance fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance could not be foundDDMFormInstance[] findByUuid_PrevAndNext(long formInstanceId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
formInstanceId
- the primary key of the current ddm form instanceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a ddm form instance with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidDDMFormInstance findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFormInstanceException
NoSuchFormInstanceException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchFormInstanceException
- if a matching ddm form instance could not be foundDDMFormInstance fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching ddm form instance could not be foundDDMFormInstance fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm form instance could not be foundDDMFormInstance removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFormInstanceException
uuid
- the uuidgroupId
- the group IDNoSuchFormInstanceException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<DDMFormInstance> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<DDMFormInstance> findByUuid_C(java.lang.String uuid, long companyId, 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)java.util.List<DDMFormInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDMFormInstance findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a matching ddm form instance could not be foundDDMFormInstance fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance could not be foundDDMFormInstance findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a matching ddm form instance could not be foundDDMFormInstance fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance could not be foundDDMFormInstance[] findByUuid_C_PrevAndNext(long formInstanceId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
formInstanceId
- the primary key of the current ddm form instanceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a ddm form instance with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<DDMFormInstance> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<DDMFormInstance> findByGroupId(long groupId, 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)java.util.List<DDMFormInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDMFormInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a matching ddm form instance could not be foundDDMFormInstance fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance could not be foundDDMFormInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a matching ddm form instance could not be foundDDMFormInstance fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm form instance could not be foundDDMFormInstance[] findByGroupId_PrevAndNext(long formInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
formInstanceId
- the primary key of the current ddm form instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a ddm form instance with the primary key could not be foundjava.util.List<DDMFormInstance> filterFindByGroupId(long groupId)
groupId
- the group IDjava.util.List<DDMFormInstance> filterFindByGroupId(long groupId, 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)java.util.List<DDMFormInstance> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)DDMFormInstance[] filterFindByGroupId_PrevAndNext(long formInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) throws NoSuchFormInstanceException
formInstanceId
- the primary key of the current ddm form instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFormInstanceException
- if a ddm form instance with the primary key could not be foundjava.util.List<DDMFormInstance> filterFindByGroupId(long[] groupIds)
groupIds
- the group IDsjava.util.List<DDMFormInstance> filterFindByGroupId(long[] groupIds, 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)java.util.List<DDMFormInstance> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstance> findByGroupId(long[] groupIds)
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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupIds
- the group IDsjava.util.List<DDMFormInstance> findByGroupId(long[] groupIds, 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)java.util.List<DDMFormInstance> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstance> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long[] groupIds)
groupIds
- the group IDsint filterCountByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long[] groupIds)
groupIds
- the group IDsvoid cacheResult(DDMFormInstance ddmFormInstance)
ddmFormInstance
- the ddm form instancevoid cacheResult(java.util.List<DDMFormInstance> ddmFormInstances)
ddmFormInstances
- the ddm form instancesDDMFormInstance create(long formInstanceId)
formInstanceId
- the primary key for the new ddm form instanceDDMFormInstance remove(long formInstanceId) throws NoSuchFormInstanceException
formInstanceId
- the primary key of the ddm form instanceNoSuchFormInstanceException
- if a ddm form instance with the primary key could not be foundDDMFormInstance updateImpl(DDMFormInstance ddmFormInstance)
DDMFormInstance findByPrimaryKey(long formInstanceId) throws NoSuchFormInstanceException
NoSuchFormInstanceException
if it could not be found.formInstanceId
- the primary key of the ddm form instanceNoSuchFormInstanceException
- if a ddm form instance with the primary key could not be foundDDMFormInstance fetchByPrimaryKey(long formInstanceId)
null
if it could not be found.formInstanceId
- the primary key of the ddm form instancenull
if a ddm form instance with the primary key could not be foundjava.util.List<DDMFormInstance> findAll()
java.util.List<DDMFormInstance> 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
start
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)java.util.List<DDMFormInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> 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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
start
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMFormInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMFormInstanceModelImpl
.
start
- the lower bound of the range of ddm form instancesend
- the upper bound of the range of ddm form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()