Interface DDLRecordPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecord>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecord>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDLRecord ddlRecord) Caches the ddl record in the entity cache if it is enabled.void
cacheResult
(List<DDLRecord> ddlRecords) Caches the ddl records in the entity cache if it is enabled.int
countAll()
Returns the number of ddl records.int
countByC_C
(String className, long classPK) Returns the number of ddl records where className = ? and classPK = ?.int
countByCompanyId
(long companyId) Returns the number of ddl records where companyId = ?.int
countByR_R
(long recordSetId, String recordSetVersion) Returns the number of ddl records where recordSetId = ? and recordSetVersion = ?.int
countByR_U
(long recordSetId, long userId) Returns the number of ddl records where recordSetId = ? and userId = ?.int
countByRecordSetId
(long recordSetId) Returns the number of ddl records where recordSetId = ?.int
countByUuid
(String uuid) Returns the number of ddl records where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of ddl records where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of ddl records where uuid = ? and groupId = ?.create
(long recordId) Creates a new ddl record with the primary key.fetchByC_C_First
(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where className = ? and classPK = ?.fetchByC_C_Last
(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where className = ? and classPK = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where companyId = ?.fetchByPrimaryKey
(long recordId) Returns the ddl record with the primary key or returnsnull
if it could not be found.fetchByR_R_First
(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.fetchByR_R_Last
(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.fetchByR_U_First
(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ? and userId = ?.fetchByR_U_Last
(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ? and userId = ?.fetchByRecordSetId_First
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ?.fetchByRecordSetId_Last
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ?.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the ddl record where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the ddl record where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where uuid = ?.findAll()
Returns all the ddl records.findAll
(int start, int end) Returns a range of all the ddl records.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records.Returns all the ddl records where className = ? and classPK = ?.Returns a range of all the ddl records where className = ? and classPK = ?.findByC_C
(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where className = ? and classPK = ?.findByC_C
(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where className = ? and classPK = ?.findByC_C_First
(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where className = ? and classPK = ?.findByC_C_Last
(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where className = ? and classPK = ?.findByC_C_PrevAndNext
(long recordId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the ddl records before and after the current ddl record in the ordered set where className = ? and classPK = ?.findByCompanyId
(long companyId) Returns all the ddl records where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the ddl records where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long recordId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the ddl records before and after the current ddl record in the ordered set where companyId = ?.findByPrimaryKey
(long recordId) Returns the ddl record with the primary key or throws aNoSuchRecordException
if it could not be found.Returns all the ddl records where recordSetId = ? and recordSetVersion = ?.Returns a range of all the ddl records where recordSetId = ? and recordSetVersion = ?.findByR_R
(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where recordSetId = ? and recordSetVersion = ?.findByR_R
(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where recordSetId = ? and recordSetVersion = ?.findByR_R_First
(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.findByR_R_Last
(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.findByR_R_PrevAndNext
(long recordId, long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.findByR_U
(long recordSetId, long userId) Returns all the ddl records where recordSetId = ? and userId = ?.findByR_U
(long recordSetId, long userId, int start, int end) Returns a range of all the ddl records where recordSetId = ? and userId = ?.findByR_U
(long recordSetId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where recordSetId = ? and userId = ?.findByR_U
(long recordSetId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where recordSetId = ? and userId = ?.findByR_U_First
(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ? and userId = ?.findByR_U_Last
(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ? and userId = ?.findByR_U_PrevAndNext
(long recordId, long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ? and userId = ?.findByRecordSetId
(long recordSetId) Returns all the ddl records where recordSetId = ?.findByRecordSetId
(long recordSetId, int start, int end) Returns a range of all the ddl records where recordSetId = ?.findByRecordSetId
(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where recordSetId = ?.findByRecordSetId
(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where recordSetId = ?.findByRecordSetId_First
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ?.findByRecordSetId_Last
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ?.findByRecordSetId_PrevAndNext
(long recordId, long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ?.findByUuid
(String uuid) Returns all the ddl records where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the ddl records where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the ddl records where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ddl records where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long recordId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the ddl records before and after the current ddl record in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the ddl record where uuid = ? and groupId = ? or throws aNoSuchRecordException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long recordId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the ddl records before and after the current ddl record in the ordered set where uuid = ?.remove
(long recordId) Removes the ddl record with the primary key from the database.void
Removes all the ddl records from the database.void
removeByC_C
(String className, long classPK) Removes all the ddl records where className = ? and classPK = ? from the database.void
removeByCompanyId
(long companyId) Removes all the ddl records where companyId = ? from the database.void
removeByR_R
(long recordSetId, String recordSetVersion) Removes all the ddl records where recordSetId = ? and recordSetVersion = ? from the database.void
removeByR_U
(long recordSetId, long userId) Removes all the ddl records where recordSetId = ? and userId = ? from the database.void
removeByRecordSetId
(long recordSetId) Removes all the ddl records where recordSetId = ? from the database.void
removeByUuid
(String uuid) Removes all the ddl records where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the ddl records where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the ddl record where uuid = ? and groupId = ? from the database.updateImpl
(DDLRecord ddlRecord) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the ddl records where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching ddl records
-
findByUuid
Returns a range of all the ddl records where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)- Returns:
- the range of matching ddl records
-
findByUuid
List<DDLRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl records
-
findByUuid
List<DDLRecord> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddl records
-
findByUuid_First
DDLRecord findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the first ddl record in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByUuid_First
DDLRecord fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record, or
null
if a matching ddl record could not be found
-
findByUuid_Last
DDLRecord findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the last ddl record in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByUuid_Last
DDLRecord fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record, or
null
if a matching ddl record could not be found
-
findByUuid_PrevAndNext
DDLRecord[] findByUuid_PrevAndNext(long recordId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the ddl records before and after the current ddl record in the ordered set where uuid = ?.- Parameters:
recordId
- the primary key of the current ddl recorduuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
removeByUuid
Removes all the ddl records where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of ddl records where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching ddl records
-
findByUUID_G
Returns the ddl record where uuid = ? and groupId = ? or throws aNoSuchRecordException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByUUID_G
Returns the ddl record where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching ddl record, or
null
if a matching ddl record could not be found
-
fetchByUUID_G
Returns the ddl record where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddl record, or
null
if a matching ddl record could not be found
-
removeByUUID_G
Removes the ddl record where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the ddl record that was removed
- Throws:
NoSuchRecordException
-
countByUUID_G
Returns the number of ddl records where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching ddl records
-
findByUuid_C
Returns all the ddl records where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching ddl records
-
findByUuid_C
Returns a range of all the ddl records where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)- Returns:
- the range of matching ddl records
-
findByUuid_C
List<DDLRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl records
-
findByUuid_C
List<DDLRecord> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddl records
-
findByUuid_C_First
DDLRecord findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the first ddl record in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByUuid_C_First
DDLRecord fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record, or
null
if a matching ddl record could not be found
-
findByUuid_C_Last
DDLRecord findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the last ddl record in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByUuid_C_Last
DDLRecord fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record, or
null
if a matching ddl record could not be found
-
findByUuid_C_PrevAndNext
DDLRecord[] findByUuid_C_PrevAndNext(long recordId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the ddl records before and after the current ddl record in the ordered set where uuid = ? and companyId = ?.- Parameters:
recordId
- the primary key of the current ddl recorduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
removeByUuid_C
Removes all the ddl records where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of ddl records where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching ddl records
-
findByCompanyId
Returns all the ddl records where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching ddl records
-
findByCompanyId
Returns a range of all the ddl records where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)- Returns:
- the range of matching ddl records
-
findByCompanyId
List<DDLRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl records
-
findByCompanyId
List<DDLRecord> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddl records
-
findByCompanyId_First
DDLRecord findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the first ddl record in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByCompanyId_First
DDLRecord fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record, or
null
if a matching ddl record could not be found
-
findByCompanyId_Last
DDLRecord findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the last ddl record in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByCompanyId_Last
DDLRecord fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record, or
null
if a matching ddl record could not be found
-
findByCompanyId_PrevAndNext
DDLRecord[] findByCompanyId_PrevAndNext(long recordId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the ddl records before and after the current ddl record in the ordered set where companyId = ?.- Parameters:
recordId
- the primary key of the current ddl recordcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the ddl records where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of ddl records where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching ddl records
-
findByRecordSetId
Returns all the ddl records where recordSetId = ?.- Parameters:
recordSetId
- the record set ID- Returns:
- the matching ddl records
-
findByRecordSetId
Returns a range of all the ddl records where recordSetId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)- Returns:
- the range of matching ddl records
-
findByRecordSetId
List<DDLRecord> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where recordSetId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl records
-
findByRecordSetId
List<DDLRecord> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where recordSetId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddl records
-
findByRecordSetId_First
DDLRecord findByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the first ddl record in the ordered set where recordSetId = ?.- Parameters:
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByRecordSetId_First
DDLRecord fetchByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ?.- Parameters:
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record, or
null
if a matching ddl record could not be found
-
findByRecordSetId_Last
DDLRecord findByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the last ddl record in the ordered set where recordSetId = ?.- Parameters:
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByRecordSetId_Last
DDLRecord fetchByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ?.- Parameters:
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record, or
null
if a matching ddl record could not be found
-
findByRecordSetId_PrevAndNext
DDLRecord[] findByRecordSetId_PrevAndNext(long recordId, long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ?.- Parameters:
recordId
- the primary key of the current ddl recordrecordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
removeByRecordSetId
void removeByRecordSetId(long recordSetId) Removes all the ddl records where recordSetId = ? from the database.- Parameters:
recordSetId
- the record set ID
-
countByRecordSetId
int countByRecordSetId(long recordSetId) Returns the number of ddl records where recordSetId = ?.- Parameters:
recordSetId
- the record set ID- Returns:
- the number of matching ddl records
-
findByR_U
Returns all the ddl records where recordSetId = ? and userId = ?.- Parameters:
recordSetId
- the record set IDuserId
- the user ID- Returns:
- the matching ddl records
-
findByR_U
Returns a range of all the ddl records where recordSetId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDuserId
- the user IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)- Returns:
- the range of matching ddl records
-
findByR_U
List<DDLRecord> findByR_U(long recordSetId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where recordSetId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDuserId
- the user IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl records
-
findByR_U
List<DDLRecord> findByR_U(long recordSetId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where recordSetId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDuserId
- the user IDstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddl records
-
findByR_U_First
DDLRecord findByR_U_First(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the first ddl record in the ordered set where recordSetId = ? and userId = ?.- Parameters:
recordSetId
- the record set IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByR_U_First
DDLRecord fetchByR_U_First(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ? and userId = ?.- Parameters:
recordSetId
- the record set IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record, or
null
if a matching ddl record could not be found
-
findByR_U_Last
DDLRecord findByR_U_Last(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the last ddl record in the ordered set where recordSetId = ? and userId = ?.- Parameters:
recordSetId
- the record set IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByR_U_Last
DDLRecord fetchByR_U_Last(long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ? and userId = ?.- Parameters:
recordSetId
- the record set IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record, or
null
if a matching ddl record could not be found
-
findByR_U_PrevAndNext
DDLRecord[] findByR_U_PrevAndNext(long recordId, long recordSetId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ? and userId = ?.- Parameters:
recordId
- the primary key of the current ddl recordrecordSetId
- the record set IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
removeByR_U
void removeByR_U(long recordSetId, long userId) Removes all the ddl records where recordSetId = ? and userId = ? from the database.- Parameters:
recordSetId
- the record set IDuserId
- the user ID
-
countByR_U
int countByR_U(long recordSetId, long userId) Returns the number of ddl records where recordSetId = ? and userId = ?.- Parameters:
recordSetId
- the record set IDuserId
- the user ID- Returns:
- the number of matching ddl records
-
findByR_R
Returns all the ddl records where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set version- Returns:
- the matching ddl records
-
findByR_R
Returns a range of all the ddl records where recordSetId = ? and recordSetVersion = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set versionstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)- Returns:
- the range of matching ddl records
-
findByR_R
List<DDLRecord> findByR_R(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where recordSetId = ? and recordSetVersion = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set versionstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl records
-
findByR_R
List<DDLRecord> findByR_R(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where recordSetId = ? and recordSetVersion = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set versionstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddl records
-
findByR_R_First
DDLRecord findByR_R_First(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the first ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByR_R_First
DDLRecord fetchByR_R_First(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record, or
null
if a matching ddl record could not be found
-
findByR_R_Last
DDLRecord findByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the last ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByR_R_Last
DDLRecord fetchByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record, or
null
if a matching ddl record could not be found
-
findByR_R_PrevAndNext
DDLRecord[] findByR_R_PrevAndNext(long recordId, long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the ddl records before and after the current ddl record in the ordered set where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordId
- the primary key of the current ddl recordrecordSetId
- the record set IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
removeByR_R
Removes all the ddl records where recordSetId = ? and recordSetVersion = ? from the database.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set version
-
countByR_R
Returns the number of ddl records where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordSetId
- the record set IDrecordSetVersion
- the record set version- Returns:
- the number of matching ddl records
-
findByC_C
Returns all the ddl records where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pk- Returns:
- the matching ddl records
-
findByC_C
Returns a range of all the ddl records where className = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)- Returns:
- the range of matching ddl records
-
findByC_C
List<DDLRecord> findByC_C(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records where className = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl records
-
findByC_C
List<DDLRecord> findByC_C(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records where className = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddl records
-
findByC_C_First
DDLRecord findByC_C_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the first ddl record in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByC_C_First
DDLRecord fetchByC_C_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record, or
null
if a matching ddl record could not be found
-
findByC_C_Last
DDLRecord findByC_C_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the last ddl record in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record
- Throws:
NoSuchRecordException
- if a matching ddl record could not be found
-
fetchByC_C_Last
DDLRecord fetchByC_C_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record, or
null
if a matching ddl record could not be found
-
findByC_C_PrevAndNext
DDLRecord[] findByC_C_PrevAndNext(long recordId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws NoSuchRecordException Returns the ddl records before and after the current ddl record in the ordered set where className = ? and classPK = ?.- Parameters:
recordId
- the primary key of the current ddl recordclassName
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
removeByC_C
Removes all the ddl records where className = ? and classPK = ? from the database.- Parameters:
className
- the class nameclassPK
- the class pk
-
countByC_C
Returns the number of ddl records where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pk- Returns:
- the number of matching ddl records
-
cacheResult
Caches the ddl record in the entity cache if it is enabled.- Parameters:
ddlRecord
- the ddl record
-
cacheResult
Caches the ddl records in the entity cache if it is enabled.- Parameters:
ddlRecords
- the ddl records
-
create
Creates a new ddl record with the primary key. Does not add the ddl record to the database.- Parameters:
recordId
- the primary key for the new ddl record- Returns:
- the new ddl record
-
remove
Removes the ddl record with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
recordId
- the primary key of the ddl record- Returns:
- the ddl record that was removed
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the ddl record with the primary key or throws aNoSuchRecordException
if it could not be found.- Parameters:
recordId
- the primary key of the ddl record- Returns:
- the ddl record
- Throws:
NoSuchRecordException
- if a ddl record with the primary key could not be found
-
fetchByPrimaryKey
Returns the ddl record with the primary key or returnsnull
if it could not be found.- Parameters:
recordId
- the primary key of the ddl record- Returns:
- the ddl record, or
null
if a ddl record with the primary key could not be found
-
findAll
Returns all the ddl records.- Returns:
- the ddl records
-
findAll
Returns a range of all the ddl records.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
start
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)- Returns:
- the range of ddl records
-
findAll
List<DDLRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns an ordered range of all the ddl records.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
start
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of ddl records
-
findAll
List<DDLRecord> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl records.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDLRecordModelImpl
.- Parameters:
start
- the lower bound of the range of ddl recordsend
- the upper bound of the range of ddl records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of ddl records
-
removeAll
void removeAll()Removes all the ddl records from the database. -
countAll
int countAll()Returns the number of ddl records.- Returns:
- the number of ddl records
-