Class CTEntryUtil
com.liferay.change.tracking.service.persistence.impl.CTEntryPersistenceImpl
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
(CTEntry ctEntry) Caches the ct entry in the entity cache if it is enabled.static void
cacheResult
(List<CTEntry> ctEntries) Caches the ct entries in the entity cache if it is enabled.static void
static void
clearCache
(CTEntry ctEntry) static int
countAll()
Returns the number of ct entries.static int
countByC_MCNI
(long ctCollectionId, long modelClassNameId) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.static int
countByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.static int
countByCtCollectionId
(long ctCollectionId) Returns the number of ct entries where ctCollectionId = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.static int
countByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static int
countByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.static int
countByUuid
(String uuid) Returns the number of ct entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of ct entries where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CTEntry
create
(long ctEntryId) Creates a new ct entry with the primary key.static CTEntry
fetchByC_MCNI_First
(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.static CTEntry
fetchByC_MCNI_Last
(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.static CTEntry
fetchByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnull
if it could not be found.static CTEntry
fetchByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnull
if it could not be found, optionally using the finder cache.static CTEntry
fetchByCtCollectionId_First
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.static CTEntry
fetchByCtCollectionId_Last
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ?.static CTEntry
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static CTEntry
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CTEntry
fetchByNotC_MCNI_MCPK_First
(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntry
fetchByNotC_MCNI_MCPK_Last
(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntry
fetchByPrimaryKey
(long ctEntryId) Returns the ct entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CTEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static CTEntry
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.static CTEntry
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ? and companyId = ?.static CTEntry
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.static CTEntry
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ?.findAll()
Returns all the ct entries.findAll
(int start, int end) Returns a range of all the ct entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries.findByC_MCNI
(long ctCollectionId, long modelClassNameId) Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI
(long ctCollectionId, long modelClassNameId, int start, int end) Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI
(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.findByC_MCNI
(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.static CTEntry
findByC_MCNI_First
(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.static CTEntry
findByC_MCNI_Last
(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.static CTEntry
findByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws aNoSuchEntryException
if it could not be found.static CTEntry[]
findByC_MCNI_PrevAndNext
(long ctEntryId, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.findByCtCollectionId
(long ctCollectionId) Returns all the ct entries where ctCollectionId = ?.findByCtCollectionId
(long ctCollectionId, int start, int end) Returns a range of all the ct entries where ctCollectionId = ?.findByCtCollectionId
(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ?.findByCtCollectionId
(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ?.static CTEntry
findByCtCollectionId_First
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.static CTEntry
findByCtCollectionId_Last
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ?.static CTEntry[]
findByCtCollectionId_PrevAndNext
(long ctEntryId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ?.static CTEntry
findByERC_C
(String externalReferenceCode, long companyId) Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryException
if it could not be found.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, optionally using the finder cache.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.findByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntry
findByNotC_MCNI_MCPK_First
(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntry
findByNotC_MCNI_MCPK_Last
(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntry[]
findByNotC_MCNI_MCPK_PrevAndNext
(long ctEntryId, long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.static CTEntry
findByPrimaryKey
(long ctEntryId) Returns the ct entry with the primary key or throws aNoSuchEntryException
if it could not be found.findByUuid
(String uuid) Returns all the ct entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the ct entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the ct entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ct entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where uuid = ? and companyId = ?.static CTEntry
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ? and companyId = ?.static CTEntry
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ? and companyId = ?.static CTEntry[]
findByUuid_C_PrevAndNext
(long ctEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry in the ordered set where uuid = ? and companyId = ?.static CTEntry
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.static CTEntry
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ?.static CTEntry[]
findByUuid_PrevAndNext
(long ctEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the ct entries before and after the current ct entry 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<CTEntry> orderByComparator) static CTEntryPersistence
static CTEntry
remove
(long ctEntryId) Removes the ct entry with the primary key from the database.static void
Removes all the ct entries from the database.static void
removeByC_MCNI
(long ctCollectionId, long modelClassNameId) Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.static CTEntry
removeByC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.static void
removeByCtCollectionId
(long ctCollectionId) Removes all the ct entries where ctCollectionId = ? from the database.static CTEntry
removeByERC_C
(String externalReferenceCode, long companyId) Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.static void
removeByNotC_MCNI_MCPK
(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.static void
removeByUuid
(String uuid) Removes all the ct entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the ct entries where uuid = ? and companyId = ? from the database.static void
setPersistence
(CTEntryPersistence persistence) static CTEntry
static CTEntry
static CTEntry
updateImpl
(CTEntry ctEntry)
-
Constructor Details
-
CTEntryUtil
public CTEntryUtil()
-
-
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<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CTEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CTEntry update(CTEntry ctEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the ct entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching ct entries
-
findByUuid
Returns a range of all the ct entries 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByUuid
public static List<CTEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByUuid
public static List<CTEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct entries
-
findByUuid_First
public static CTEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByUuid_First
public static CTEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry, or
null
if a matching ct entry could not be found
-
findByUuid_Last
public static CTEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByUuid_Last
public static CTEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry, or
null
if a matching ct entry could not be found
-
findByUuid_PrevAndNext
public static CTEntry[] findByUuid_PrevAndNext(long ctEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where uuid = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be foundNoSuchEntryException
-
removeByUuid
Removes all the ct entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of ct entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching ct entries
-
findByUuid_C
Returns all the ct entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching ct entries
-
findByUuid_C
Returns a range of all the ct entries 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByUuid_C
public static List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByUuid_C
public static List<CTEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries 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 fromCTEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct entries
-
findByUuid_C_First
public static CTEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry 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 ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByUuid_C_First
public static CTEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry 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 ct entry, or
null
if a matching ct entry could not be found
-
findByUuid_C_Last
public static CTEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry 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 ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByUuid_C_Last
public static CTEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry 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 ct entry, or
null
if a matching ct entry could not be found
-
findByUuid_C_PrevAndNext
public static CTEntry[] findByUuid_C_PrevAndNext(long ctEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be foundNoSuchEntryException
-
removeByUuid_C
Removes all the ct entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of ct entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching ct entries
-
findByCtCollectionId
Returns all the ct entries where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection ID- Returns:
- the matching ct entries
-
findByCtCollectionId
Returns a range of all the ct entries where ctCollectionId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByCtCollectionId
public static List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByCtCollectionId
public static List<CTEntry> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct entries
-
findByCtCollectionId_First
public static CTEntry findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByCtCollectionId_First
public static CTEntry fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry, or
null
if a matching ct entry could not be found
-
findByCtCollectionId_Last
public static CTEntry findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByCtCollectionId_Last
public static CTEntry fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry, or
null
if a matching ct entry could not be found
-
findByCtCollectionId_PrevAndNext
public static CTEntry[] findByCtCollectionId_PrevAndNext(long ctEntryId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be foundNoSuchEntryException
-
removeByCtCollectionId
public static void removeByCtCollectionId(long ctCollectionId) Removes all the ct entries where ctCollectionId = ? from the database.- Parameters:
ctCollectionId
- the ct collection ID
-
countByCtCollectionId
public static int countByCtCollectionId(long ctCollectionId) Returns the number of ct entries where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection ID- Returns:
- the number of matching ct entries
-
findByC_MCNI
Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name ID- Returns:
- the matching ct entries
-
findByC_MCNI
public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end) Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByC_MCNI
public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByC_MCNI
public static List<CTEntry> findByC_MCNI(long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct entries
-
findByC_MCNI_First
public static CTEntry findByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByC_MCNI_First
public static CTEntry fetchByC_MCNI_First(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry, or
null
if a matching ct entry could not be found
-
findByC_MCNI_Last
public static CTEntry findByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByC_MCNI_Last
public static CTEntry fetchByC_MCNI_Last(long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry, or
null
if a matching ct entry could not be found
-
findByC_MCNI_PrevAndNext
public static CTEntry[] findByC_MCNI_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be foundNoSuchEntryException
-
removeByC_MCNI
public static void removeByC_MCNI(long ctCollectionId, long modelClassNameId) Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name ID
-
countByC_MCNI
public static int countByC_MCNI(long ctCollectionId, long modelClassNameId) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name ID- Returns:
- the number of matching ct entries
-
findByC_MCNI_MCPK
public static CTEntry findByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByC_MCNI_MCPK
public static CTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the matching ct entry, or
null
if a matching ct entry could not be found
-
fetchByC_MCNI_MCPK
public static CTEntry fetchByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache) Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching ct entry, or
null
if a matching ct entry could not be found
-
removeByC_MCNI_MCPK
public static CTEntry removeByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the ct entry that was removed
- Throws:
NoSuchEntryException
-
countByC_MCNI_MCPK
public static int countByC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the number of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct entries
-
findByNotC_MCNI_MCPK_First
public static CTEntry findByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByNotC_MCNI_MCPK_First
public static CTEntry fetchByNotC_MCNI_MCPK_First(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct entry, or
null
if a matching ct entry could not be found
-
findByNotC_MCNI_MCPK_Last
public static CTEntry findByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByNotC_MCNI_MCPK_Last
public static CTEntry fetchByNotC_MCNI_MCPK_Last(long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct entry, or
null
if a matching ct entry could not be found
-
findByNotC_MCNI_MCPK_PrevAndNext
public static CTEntry[] findByNotC_MCNI_MCPK_PrevAndNext(long ctEntryId, long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) throws NoSuchEntryException Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctEntryId
- the primary key of the current ct entryctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be foundNoSuchEntryException
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pks- Returns:
- the matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end) Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pksstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pksstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ct entries
-
findByNotC_MCNI_MCPK
public static List<CTEntry> findByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, optionally using the finder cache.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 fromCTEntryModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pksstart
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ct entries
-
removeByNotC_MCNI_MCPK
public static void removeByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk
-
countByNotC_MCNI_MCPK
public static int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long modelClassPK) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPK
- the model class pk- Returns:
- the number of matching ct entries
-
countByNotC_MCNI_MCPK
public static int countByNotC_MCNI_MCPK(long ctCollectionId, long modelClassNameId, long[] modelClassPKs) Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?.- Parameters:
ctCollectionId
- the ct collection IDmodelClassNameId
- the model class name IDmodelClassPKs
- the model class pks- Returns:
- the number of matching ct entries
-
findByERC_C
public static CTEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching ct entry
- Throws:
NoSuchEntryException
- if a matching ct entry could not be foundNoSuchEntryException
-
fetchByERC_C
Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching ct entry, or
null
if a matching ct entry could not be found
-
fetchByERC_C
public static CTEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the ct entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching ct entry, or
null
if a matching ct entry could not be found
-
removeByERC_C
public static CTEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the ct entry that was removed
- Throws:
NoSuchEntryException
-
countByERC_C
Returns the number of ct entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching ct entries
-
cacheResult
Caches the ct entry in the entity cache if it is enabled.- Parameters:
ctEntry
- the ct entry
-
cacheResult
Caches the ct entries in the entity cache if it is enabled.- Parameters:
ctEntries
- the ct entries
-
create
Creates a new ct entry with the primary key. Does not add the ct entry to the database.- Parameters:
ctEntryId
- the primary key for the new ct entry- Returns:
- the new ct entry
-
remove
Removes the ct entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
ctEntryId
- the primary key of the ct entry- Returns:
- the ct entry that was removed
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be foundNoSuchEntryException
-
updateImpl
-
findByPrimaryKey
Returns the ct entry with the primary key or throws aNoSuchEntryException
if it could not be found.- Parameters:
ctEntryId
- the primary key of the ct entry- Returns:
- the ct entry
- Throws:
NoSuchEntryException
- if a ct entry with the primary key could not be foundNoSuchEntryException
-
fetchByPrimaryKey
Returns the ct entry with the primary key or returnsnull
if it could not be found.- Parameters:
ctEntryId
- the primary key of the ct entry- Returns:
- the ct entry, or
null
if a ct entry with the primary key could not be found
-
findAll
Returns all the ct entries.- Returns:
- the ct entries
-
findAll
Returns a range of all the ct entries.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 fromCTEntryModelImpl
.- Parameters:
start
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)- Returns:
- the range of ct entries
-
findAll
public static List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator) Returns an ordered range of all the ct entries.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 fromCTEntryModelImpl
.- Parameters:
start
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of ct entries
-
findAll
public static List<CTEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct entries.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 fromCTEntryModelImpl
.- Parameters:
start
- the lower bound of the range of ct entriesend
- the upper bound of the range of ct entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of ct entries
-
removeAll
public static void removeAll()Removes all the ct entries from the database. -
countAll
public static int countAll()Returns the number of ct entries.- Returns:
- the number of ct entries
-
getPersistence
-
setPersistence
-