Class DDLRecordUtil
com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(DDLRecord ddlRecord) Caches the ddl record in the entity cache if it is enabled.static void
cacheResult
(List<DDLRecord> ddlRecords) Caches the ddl records in the entity cache if it is enabled.static void
static void
clearCache
(DDLRecord ddlRecord) static int
countAll()
Returns the number of ddl records.static int
countByC_C
(String className, long classPK) Returns the number of ddl records where className = ? and classPK = ?.static int
countByCompanyId
(long companyId) Returns the number of ddl records where companyId = ?.static int
countByR_R
(long recordSetId, String recordSetVersion) Returns the number of ddl records where recordSetId = ? and recordSetVersion = ?.static int
countByR_U
(long recordSetId, long userId) Returns the number of ddl records where recordSetId = ? and userId = ?.static int
countByRecordSetId
(long recordSetId) Returns the number of ddl records where recordSetId = ?.static int
countByUuid
(String uuid) Returns the number of ddl records where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of ddl records where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of ddl records where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDLRecord
create
(long recordId) Creates a new ddl record with the primary key.static 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 = ?.static 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 = ?.static DDLRecord
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where companyId = ?.static DDLRecord
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where companyId = ?.static DDLRecord
fetchByPrimaryKey
(long recordId) Returns the ddl record with the primary key or returnsnull
if it could not be found.static Map<Serializable,
DDLRecord> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static DDLRecord
fetchByRecordSetId_First
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ?.static DDLRecord
fetchByRecordSetId_Last
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ?.static 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 = ?.static 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 = ?.static DDLRecord
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where uuid = ?.static DDLRecord
fetchByUUID_G
(String uuid, long groupId) Returns the ddl record where uuid = ? and groupId = ? or returnsnull
if it could not be found.static DDLRecord
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.static DDLRecord
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 = ?.static DDLRecord
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 = ?.static DDLRecord
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 = ?.static DDLRecord[]
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 = ?.static DDLRecord
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where companyId = ?.static DDLRecord
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where companyId = ?.static DDLRecord[]
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 = ?.static DDLRecord
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 = ?.static DDLRecord
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 = ?.static DDLRecord
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 = ?.static DDLRecord[]
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 = ?.static DDLRecord
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 = ?.static DDLRecord
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 = ?.static DDLRecord[]
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 = ?.static DDLRecord
findByRecordSetId_First
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where recordSetId = ?.static DDLRecord
findByRecordSetId_Last
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where recordSetId = ?.static DDLRecord[]
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 = ?.static DDLRecord
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 = ?.static DDLRecord
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 = ?.static DDLRecord[]
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 = ?.static DDLRecord
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the first ddl record in the ordered set where uuid = ?.static DDLRecord
findByUUID_G
(String uuid, long groupId) Returns the ddl record where uuid = ? and groupId = ? or throws aNoSuchRecordException
if it could not be found.static DDLRecord
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) Returns the last ddl record in the ordered set where uuid = ?.static DDLRecord[]
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 = ?.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) static DDLRecordPersistence
static DDLRecord
remove
(long recordId) Removes the ddl record with the primary key from the database.static void
Removes all the ddl records from the database.static void
removeByC_C
(String className, long classPK) Removes all the ddl records where className = ? and classPK = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the ddl records where companyId = ? from the database.static void
removeByR_R
(long recordSetId, String recordSetVersion) Removes all the ddl records where recordSetId = ? and recordSetVersion = ? from the database.static void
removeByR_U
(long recordSetId, long userId) Removes all the ddl records where recordSetId = ? and userId = ? from the database.static void
removeByRecordSetId
(long recordSetId) Removes all the ddl records where recordSetId = ? from the database.static void
removeByUuid
(String uuid) Removes all the ddl records where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the ddl records where uuid = ? and companyId = ? from the database.static DDLRecord
removeByUUID_G
(String uuid, long groupId) Removes the ddl record where uuid = ? and groupId = ? from the database.static void
setPersistence
(DDLRecordPersistence persistence) static DDLRecord
static DDLRecord
static DDLRecord
updateImpl
(DDLRecord ddlRecord)
-
Constructor Details
-
DDLRecordUtil
public DDLRecordUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDLRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDLRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<DDLRecord> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDLRecord update(DDLRecord ddlRecord, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchRecordException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchRecordException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchRecordException
-
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 foundNoSuchRecordException
-
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
public static 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
public static 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
public static 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 foundNoSuchRecordException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchRecordException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchRecordException
-
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
public static 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
public static 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
public static 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 foundNoSuchRecordException
-
fetchByCompanyId_First
public static 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
public static 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 foundNoSuchRecordException
-
fetchByCompanyId_Last
public static 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
public static 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 foundNoSuchRecordException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the ddl records where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static 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
public static 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
public static 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
public static 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 foundNoSuchRecordException
-
fetchByRecordSetId_First
public static 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
public static 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 foundNoSuchRecordException
-
fetchByRecordSetId_Last
public static 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
public static 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 foundNoSuchRecordException
-
removeByRecordSetId
public static void removeByRecordSetId(long recordSetId) Removes all the ddl records where recordSetId = ? from the database.- Parameters:
recordSetId
- the record set ID
-
countByRecordSetId
public static 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
public static 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
public static 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
public static 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 foundNoSuchRecordException
-
fetchByR_U_First
public static 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
public static 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 foundNoSuchRecordException
-
fetchByR_U_Last
public static 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
public static 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 foundNoSuchRecordException
-
removeByR_U
public static 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
public static 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
public static List<DDLRecord> findByR_R(long recordSetId, String recordSetVersion, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchRecordException
-
fetchByR_R_First
public static 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
public static 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 foundNoSuchRecordException
-
fetchByR_R_Last
public static 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
public static 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 foundNoSuchRecordException
-
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
public static 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
public static 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
public static 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 foundNoSuchRecordException
-
fetchByC_C_First
public static 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
public static 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 foundNoSuchRecordException
-
fetchByC_C_Last
public static 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
public static 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 foundNoSuchRecordException
-
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 foundNoSuchRecordException
-
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 foundNoSuchRecordException
-
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
public static 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
public static 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
public static void removeAll()Removes all the ddl records from the database. -
countAll
public static int countAll()Returns the number of ddl records.- Returns:
- the number of ddl records
-
getPersistence
-
setPersistence
-