Class ObjectEntryUtil
com.liferay.object.service.persistence.impl.ObjectEntryPersistenceImpl
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
(ObjectEntry objectEntry) Caches the object entry in the entity cache if it is enabled.static void
cacheResult
(List<ObjectEntry> objectEntries) Caches the object entries in the entity cache if it is enabled.static void
static void
clearCache
(ObjectEntry objectEntry) static int
countAll()
Returns the number of object entries.static int
countByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object entries where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.static int
countByERC_G_C
(String externalReferenceCode, long groupId, long companyId) Returns the number of object entries where externalReferenceCode = ? and groupId = ? and companyId = ?.static int
countByG_ODI
(long groupId, long objectDefinitionId) Returns the number of object entries where groupId = ? and objectDefinitionId = ?.static int
countByG_ODI_S
(long groupId, long objectDefinitionId, int status) Returns the number of object entries where groupId = ? and objectDefinitionId = ? and status = ?.static int
countByObjectDefinitionId
(long objectDefinitionId) Returns the number of object entries where objectDefinitionId = ?.static int
countByODI_NotS
(long objectDefinitionId, int status) Returns the number of object entries where objectDefinitionId = ? and status ≠ ?.static int
countByU_GtCD_ODI
(long userId, Date createDate, long objectDefinitionId) Returns the number of object entries where userId = ? and createDate > ? and objectDefinitionId = ?.static int
countByU_ODI
(long userId, long objectDefinitionId) Returns the number of object entries where userId = ? and objectDefinitionId = ?.static int
countByUuid
(String uuid) Returns the number of object entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of object entries where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of object entries where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectEntry
create
(long objectEntryId) Creates a new object entry with the primary key.static ObjectEntry
fetchByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object entry where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found.static ObjectEntry
fetchByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object entry where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.static ObjectEntry
fetchByERC_G_C
(String externalReferenceCode, long groupId, long companyId) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? or returnsnull
if it could not be found.static ObjectEntry
fetchByERC_G_C
(String externalReferenceCode, long groupId, long companyId, boolean useFinderCache) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static ObjectEntry
fetchByG_ODI_First
(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.static ObjectEntry
fetchByG_ODI_Last
(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where groupId = ? and objectDefinitionId = ?.static ObjectEntry
fetchByG_ODI_S_First
(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.static ObjectEntry
fetchByG_ODI_S_Last
(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.static ObjectEntry
fetchByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ?.static ObjectEntry
fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where objectDefinitionId = ?.static ObjectEntry
fetchByODI_NotS_First
(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.static ObjectEntry
fetchByODI_NotS_Last
(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.static ObjectEntry
fetchByPrimaryKey
(long objectEntryId) Returns the object entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ObjectEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static ObjectEntry
fetchByU_GtCD_ODI_First
(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.static ObjectEntry
fetchByU_GtCD_ODI_Last
(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.static ObjectEntry
fetchByU_ODI_First
(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.static ObjectEntry
fetchByU_ODI_Last
(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where userId = ? and objectDefinitionId = ?.static ObjectEntry
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ? and companyId = ?.static ObjectEntry
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where uuid = ? and companyId = ?.static ObjectEntry
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ?.static ObjectEntry
fetchByUUID_G
(String uuid, long groupId) Returns the object entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.static ObjectEntry
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the object entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static ObjectEntry
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where uuid = ?.static List<ObjectEntry>
findAll()
Returns all the object entries.static List<ObjectEntry>
findAll
(int start, int end) Returns a range of all the object entries.static List<ObjectEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries.static List<ObjectEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries.static ObjectEntry
findByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object entry where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectEntryException
if it could not be found.static ObjectEntry
findByERC_G_C
(String externalReferenceCode, long groupId, long companyId) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? or throws aNoSuchObjectEntryException
if it could not be found.static List<ObjectEntry>
findByG_ODI
(long groupId, long objectDefinitionId) Returns all the object entries where groupId = ? and objectDefinitionId = ?.static List<ObjectEntry>
findByG_ODI
(long groupId, long objectDefinitionId, int start, int end) Returns a range of all the object entries where groupId = ? and objectDefinitionId = ?.static List<ObjectEntry>
findByG_ODI
(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.static List<ObjectEntry>
findByG_ODI
(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.static ObjectEntry
findByG_ODI_First
(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.static ObjectEntry
findByG_ODI_Last
(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where groupId = ? and objectDefinitionId = ?.static ObjectEntry[]
findByG_ODI_PrevAndNext
(long objectEntryId, long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the object entries before and after the current object entry in the ordered set where groupId = ? and objectDefinitionId = ?.static List<ObjectEntry>
findByG_ODI_S
(long groupId, long objectDefinitionId, int status) Returns all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.static List<ObjectEntry>
findByG_ODI_S
(long groupId, long objectDefinitionId, int status, int start, int end) Returns a range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.static List<ObjectEntry>
findByG_ODI_S
(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.static List<ObjectEntry>
findByG_ODI_S
(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.static ObjectEntry
findByG_ODI_S_First
(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.static ObjectEntry
findByG_ODI_S_Last
(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.static ObjectEntry[]
findByG_ODI_S_PrevAndNext
(long objectEntryId, long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the object entries before and after the current object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.static List<ObjectEntry>
findByObjectDefinitionId
(long objectDefinitionId) Returns all the object entries where objectDefinitionId = ?.static List<ObjectEntry>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end) Returns a range of all the object entries where objectDefinitionId = ?.static List<ObjectEntry>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where objectDefinitionId = ?.static List<ObjectEntry>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where objectDefinitionId = ?.static ObjectEntry
findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ?.static ObjectEntry
findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where objectDefinitionId = ?.static ObjectEntry[]
findByObjectDefinitionId_PrevAndNext
(long objectEntryId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the object entries before and after the current object entry in the ordered set where objectDefinitionId = ?.static List<ObjectEntry>
findByODI_NotS
(long objectDefinitionId, int status) Returns all the object entries where objectDefinitionId = ? and status ≠ ?.static List<ObjectEntry>
findByODI_NotS
(long objectDefinitionId, int status, int start, int end) Returns a range of all the object entries where objectDefinitionId = ? and status ≠ ?.static List<ObjectEntry>
findByODI_NotS
(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.static List<ObjectEntry>
findByODI_NotS
(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.static ObjectEntry
findByODI_NotS_First
(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.static ObjectEntry
findByODI_NotS_Last
(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.static ObjectEntry[]
findByODI_NotS_PrevAndNext
(long objectEntryId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the object entries before and after the current object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.static ObjectEntry
findByPrimaryKey
(long objectEntryId) Returns the object entry with the primary key or throws aNoSuchObjectEntryException
if it could not be found.static List<ObjectEntry>
findByU_GtCD_ODI
(long userId, Date createDate, long objectDefinitionId) Returns all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.static List<ObjectEntry>
findByU_GtCD_ODI
(long userId, Date createDate, long objectDefinitionId, int start, int end) Returns a range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.static List<ObjectEntry>
findByU_GtCD_ODI
(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.static List<ObjectEntry>
findByU_GtCD_ODI
(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.static ObjectEntry
findByU_GtCD_ODI_First
(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.static ObjectEntry
findByU_GtCD_ODI_Last
(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.static ObjectEntry[]
findByU_GtCD_ODI_PrevAndNext
(long objectEntryId, long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the object entries before and after the current object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.static List<ObjectEntry>
findByU_ODI
(long userId, long objectDefinitionId) Returns all the object entries where userId = ? and objectDefinitionId = ?.static List<ObjectEntry>
findByU_ODI
(long userId, long objectDefinitionId, int start, int end) Returns a range of all the object entries where userId = ? and objectDefinitionId = ?.static List<ObjectEntry>
findByU_ODI
(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.static List<ObjectEntry>
findByU_ODI
(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.static ObjectEntry
findByU_ODI_First
(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.static ObjectEntry
findByU_ODI_Last
(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where userId = ? and objectDefinitionId = ?.static ObjectEntry[]
findByU_ODI_PrevAndNext
(long objectEntryId, long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the object entries before and after the current object entry in the ordered set where userId = ? and objectDefinitionId = ?.static List<ObjectEntry>
findByUuid
(String uuid) Returns all the object entries where uuid = ?.static List<ObjectEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the object entries where uuid = ?.static List<ObjectEntry>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where uuid = ?.static List<ObjectEntry>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where uuid = ?.static List<ObjectEntry>
findByUuid_C
(String uuid, long companyId) Returns all the object entries where uuid = ? and companyId = ?.static List<ObjectEntry>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object entries where uuid = ? and companyId = ?.static List<ObjectEntry>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where uuid = ? and companyId = ?.static List<ObjectEntry>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where uuid = ? and companyId = ?.static ObjectEntry
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ? and companyId = ?.static ObjectEntry
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where uuid = ? and companyId = ?.static ObjectEntry[]
findByUuid_C_PrevAndNext
(long objectEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the object entries before and after the current object entry in the ordered set where uuid = ? and companyId = ?.static ObjectEntry
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ?.static ObjectEntry
findByUUID_G
(String uuid, long groupId) Returns the object entry where uuid = ? and groupId = ? or throws aNoSuchObjectEntryException
if it could not be found.static ObjectEntry
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where uuid = ?.static ObjectEntry[]
findByUuid_PrevAndNext
(long objectEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the object entries before and after the current object entry in the ordered set where uuid = ?.static List<ObjectEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) static ObjectEntryPersistence
static ObjectEntry
remove
(long objectEntryId) Removes the object entry with the primary key from the database.static void
Removes all the object entries from the database.static ObjectEntry
removeByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Removes the object entry where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.static ObjectEntry
removeByERC_G_C
(String externalReferenceCode, long groupId, long companyId) Removes the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? from the database.static void
removeByG_ODI
(long groupId, long objectDefinitionId) Removes all the object entries where groupId = ? and objectDefinitionId = ? from the database.static void
removeByG_ODI_S
(long groupId, long objectDefinitionId, int status) Removes all the object entries where groupId = ? and objectDefinitionId = ? and status = ? from the database.static void
removeByObjectDefinitionId
(long objectDefinitionId) Removes all the object entries where objectDefinitionId = ? from the database.static void
removeByODI_NotS
(long objectDefinitionId, int status) Removes all the object entries where objectDefinitionId = ? and status ≠ ? from the database.static void
removeByU_GtCD_ODI
(long userId, Date createDate, long objectDefinitionId) Removes all the object entries where userId = ? and createDate > ? and objectDefinitionId = ? from the database.static void
removeByU_ODI
(long userId, long objectDefinitionId) Removes all the object entries where userId = ? and objectDefinitionId = ? from the database.static void
removeByUuid
(String uuid) Removes all the object entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the object entries where uuid = ? and companyId = ? from the database.static ObjectEntry
removeByUUID_G
(String uuid, long groupId) Removes the object entry where uuid = ? and groupId = ? from the database.static void
setPersistence
(ObjectEntryPersistence persistence) static ObjectEntry
update
(ObjectEntry objectEntry) static ObjectEntry
update
(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectEntry
updateImpl
(ObjectEntry objectEntry)
-
Constructor Details
-
ObjectEntryUtil
public ObjectEntryUtil()
-
-
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<ObjectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectEntry update(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object entries
-
findByUuid
Returns a range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByUuid
public static List<ObjectEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object entries
-
findByUuid
public static List<ObjectEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object 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 object entries
-
findByUuid_First
public static ObjectEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByUuid_First
public static ObjectEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry, or
null
if a matching object entry could not be found
-
findByUuid_Last
public static ObjectEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the last object entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByUuid_Last
public static ObjectEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry, or
null
if a matching object entry could not be found
-
findByUuid_PrevAndNext
public static ObjectEntry[] findByUuid_PrevAndNext(long objectEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the object entries before and after the current object entry in the ordered set where uuid = ?.- Parameters:
objectEntryId
- the primary key of the current object entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
removeByUuid
Removes all the object entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object entries
-
findByUUID_G
Returns the object entry where uuid = ? and groupId = ? or throws aNoSuchObjectEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByUUID_G
Returns the object entry 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 object entry, or
null
if a matching object entry could not be found
-
fetchByUUID_G
Returns the object entry 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 object entry, or
null
if a matching object entry could not be found
-
removeByUUID_G
public static ObjectEntry removeByUUID_G(String uuid, long groupId) throws NoSuchObjectEntryException Removes the object entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the object entry that was removed
- Throws:
NoSuchObjectEntryException
-
countByUUID_G
Returns the number of object entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching object entries
-
findByUuid_C
Returns all the object entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object entries
-
findByUuid_C
Returns a range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByUuid_C
public static List<ObjectEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object entries
-
findByUuid_C
public static List<ObjectEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object 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 object entries
-
findByUuid_C_First
public static ObjectEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object 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 object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByUuid_C_First
public static ObjectEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object 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 object entry, or
null
if a matching object entry could not be found
-
findByUuid_C_Last
public static ObjectEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the last object 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 object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByUuid_C_Last
public static ObjectEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object 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 object entry, or
null
if a matching object entry could not be found
-
findByUuid_C_PrevAndNext
public static ObjectEntry[] findByUuid_C_PrevAndNext(long objectEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the object entries before and after the current object entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectEntryId
- the primary key of the current object entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
removeByUuid_C
Removes all the object entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object entries
-
findByObjectDefinitionId
Returns all the object entries where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the matching object entries
-
findByObjectDefinitionId
public static List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object entries where objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByObjectDefinitionId
public static List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object entries
-
findByObjectDefinitionId
public static List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object 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 object entries
-
findByObjectDefinitionId_First
public static ObjectEntry findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByObjectDefinitionId_First
public static ObjectEntry fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry, or
null
if a matching object entry could not be found
-
findByObjectDefinitionId_Last
public static ObjectEntry findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the last object entry in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByObjectDefinitionId_Last
public static ObjectEntry fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry, or
null
if a matching object entry could not be found
-
findByObjectDefinitionId_PrevAndNext
public static ObjectEntry[] findByObjectDefinitionId_PrevAndNext(long objectEntryId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the object entries before and after the current object entry in the ordered set where objectDefinitionId = ?.- Parameters:
objectEntryId
- the primary key of the current object entryobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
removeByObjectDefinitionId
public static void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object entries where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId
- the object definition ID
-
countByObjectDefinitionId
public static int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object entries where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the number of matching object entries
-
findByG_ODI
Returns all the object entries where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition ID- Returns:
- the matching object entries
-
findByG_ODI
public static List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end) Returns a range of all the object entries where groupId = ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByG_ODI
public static List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object entries
-
findByG_ODI
public static List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object 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 object entries
-
findByG_ODI_First
public static ObjectEntry findByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByG_ODI_First
public static ObjectEntry fetchByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry, or
null
if a matching object entry could not be found
-
findByG_ODI_Last
public static ObjectEntry findByG_ODI_Last(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the last object entry in the ordered set where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByG_ODI_Last
public static ObjectEntry fetchByG_ODI_Last(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry, or
null
if a matching object entry could not be found
-
findByG_ODI_PrevAndNext
public static ObjectEntry[] findByG_ODI_PrevAndNext(long objectEntryId, long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the object entries before and after the current object entry in the ordered set where groupId = ? and objectDefinitionId = ?.- Parameters:
objectEntryId
- the primary key of the current object entrygroupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
removeByG_ODI
public static void removeByG_ODI(long groupId, long objectDefinitionId) Removes all the object entries where groupId = ? and objectDefinitionId = ? from the database.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition ID
-
countByG_ODI
public static int countByG_ODI(long groupId, long objectDefinitionId) Returns the number of object entries where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition ID- Returns:
- the number of matching object entries
-
findByU_ODI
Returns all the object entries where userId = ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition ID- Returns:
- the matching object entries
-
findByU_ODI
public static List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId, int start, int end) Returns a range of all the object entries where userId = ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByU_ODI
public static List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object entries
-
findByU_ODI
public static List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object 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 object entries
-
findByU_ODI_First
public static ObjectEntry findByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByU_ODI_First
public static ObjectEntry fetchByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry, or
null
if a matching object entry could not be found
-
findByU_ODI_Last
public static ObjectEntry findByU_ODI_Last(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the last object entry in the ordered set where userId = ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByU_ODI_Last
public static ObjectEntry fetchByU_ODI_Last(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where userId = ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry, or
null
if a matching object entry could not be found
-
findByU_ODI_PrevAndNext
public static ObjectEntry[] findByU_ODI_PrevAndNext(long objectEntryId, long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the object entries before and after the current object entry in the ordered set where userId = ? and objectDefinitionId = ?.- Parameters:
objectEntryId
- the primary key of the current object entryuserId
- the user IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
removeByU_ODI
public static void removeByU_ODI(long userId, long objectDefinitionId) Removes all the object entries where userId = ? and objectDefinitionId = ? from the database.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition ID
-
countByU_ODI
public static int countByU_ODI(long userId, long objectDefinitionId) Returns the number of object entries where userId = ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDobjectDefinitionId
- the object definition ID- Returns:
- the number of matching object entries
-
findByODI_NotS
Returns all the object entries where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the status- Returns:
- the matching object entries
-
findByODI_NotS
public static List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end) Returns a range of all the object entries where objectDefinitionId = ? and status ≠ ?.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 fromObjectEntryModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the statusstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByODI_NotS
public static List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.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 fromObjectEntryModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the statusstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object entries
-
findByODI_NotS
public static List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.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 fromObjectEntryModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the statusstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object 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 object entries
-
findByODI_NotS_First
public static ObjectEntry findByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByODI_NotS_First
public static ObjectEntry fetchByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry, or
null
if a matching object entry could not be found
-
findByODI_NotS_Last
public static ObjectEntry findByODI_NotS_Last(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the last object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByODI_NotS_Last
public static ObjectEntry fetchByODI_NotS_Last(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry, or
null
if a matching object entry could not be found
-
findByODI_NotS_PrevAndNext
public static ObjectEntry[] findByODI_NotS_PrevAndNext(long objectEntryId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the object entries before and after the current object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectEntryId
- the primary key of the current object entryobjectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
removeByODI_NotS
public static void removeByODI_NotS(long objectDefinitionId, int status) Removes all the object entries where objectDefinitionId = ? and status ≠ ? from the database.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the status
-
countByODI_NotS
public static int countByODI_NotS(long objectDefinitionId, int status) Returns the number of object entries where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId
- the object definition IDstatus
- the status- Returns:
- the number of matching object entries
-
findByERC_G_C
public static ObjectEntry findByERC_G_C(String externalReferenceCode, long groupId, long companyId) throws NoSuchObjectEntryException Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? or throws aNoSuchObjectEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDcompanyId
- the company ID- Returns:
- the matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByERC_G_C
public static ObjectEntry fetchByERC_G_C(String externalReferenceCode, long groupId, long companyId) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDcompanyId
- the company ID- Returns:
- the matching object entry, or
null
if a matching object entry could not be found
-
fetchByERC_G_C
public static ObjectEntry fetchByERC_G_C(String externalReferenceCode, long groupId, long companyId, boolean useFinderCache) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDcompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching object entry, or
null
if a matching object entry could not be found
-
removeByERC_G_C
public static ObjectEntry removeByERC_G_C(String externalReferenceCode, long groupId, long companyId) throws NoSuchObjectEntryException Removes the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDcompanyId
- the company ID- Returns:
- the object entry that was removed
- Throws:
NoSuchObjectEntryException
-
countByERC_G_C
Returns the number of object entries where externalReferenceCode = ? and groupId = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDcompanyId
- the company ID- Returns:
- the number of matching object entries
-
findByERC_C_ODI
public static ObjectEntry findByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectEntryException Returns the object entry where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByERC_C_ODI
public static ObjectEntry fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object entry where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the matching object entry, or
null
if a matching object entry could not be found
-
fetchByERC_C_ODI
public static ObjectEntry fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object entry where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching object entry, or
null
if a matching object entry could not be found
-
removeByERC_C_ODI
public static ObjectEntry removeByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectEntryException Removes the object entry where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the object entry that was removed
- Throws:
NoSuchObjectEntryException
-
countByERC_C_ODI
public static int countByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object entries where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the number of matching object entries
-
findByG_ODI_S
Returns all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the status- Returns:
- the matching object entries
-
findByG_ODI_S
public static List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end) Returns a range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.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 fromObjectEntryModelImpl
.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the statusstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByG_ODI_S
public static List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.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 fromObjectEntryModelImpl
.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the statusstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object entries
-
findByG_ODI_S
public static List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.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 fromObjectEntryModelImpl
.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the statusstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object 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 object entries
-
findByG_ODI_S_First
public static ObjectEntry findByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByG_ODI_S_First
public static ObjectEntry fetchByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry, or
null
if a matching object entry could not be found
-
findByG_ODI_S_Last
public static ObjectEntry findByG_ODI_S_Last(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the last object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByG_ODI_S_Last
public static ObjectEntry fetchByG_ODI_S_Last(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry, or
null
if a matching object entry could not be found
-
findByG_ODI_S_PrevAndNext
public static ObjectEntry[] findByG_ODI_S_PrevAndNext(long objectEntryId, long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the object entries before and after the current object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
objectEntryId
- the primary key of the current object entrygroupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
removeByG_ODI_S
public static void removeByG_ODI_S(long groupId, long objectDefinitionId, int status) Removes all the object entries where groupId = ? and objectDefinitionId = ? and status = ? from the database.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the status
-
countByG_ODI_S
public static int countByG_ODI_S(long groupId, long objectDefinitionId, int status) Returns the number of object entries where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId
- the group IDobjectDefinitionId
- the object definition IDstatus
- the status- Returns:
- the number of matching object entries
-
findByU_GtCD_ODI
public static List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId) Returns all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition ID- Returns:
- the matching object entries
-
findByU_GtCD_ODI
public static List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end) Returns a range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByU_GtCD_ODI
public static List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object entries
-
findByU_GtCD_ODI
public static List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.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 fromObjectEntryModelImpl
.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition IDstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object 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 object entries
-
findByU_GtCD_ODI_First
public static ObjectEntry findByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByU_GtCD_ODI_First
public static ObjectEntry fetchByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object entry, or
null
if a matching object entry could not be found
-
findByU_GtCD_ODI_Last
public static ObjectEntry findByU_GtCD_ODI_Last(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the last object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry
- Throws:
NoSuchObjectEntryException
- if a matching object entry could not be foundNoSuchObjectEntryException
-
fetchByU_GtCD_ODI_Last
public static ObjectEntry fetchByU_GtCD_ODI_Last(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the last object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object entry, or
null
if a matching object entry could not be found
-
findByU_GtCD_ODI_PrevAndNext
public static ObjectEntry[] findByU_GtCD_ODI_PrevAndNext(long objectEntryId, long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the object entries before and after the current object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
objectEntryId
- the primary key of the current object entryuserId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
removeByU_GtCD_ODI
Removes all the object entries where userId = ? and createDate > ? and objectDefinitionId = ? from the database.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition ID
-
countByU_GtCD_ODI
Returns the number of object entries where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId
- the user IDcreateDate
- the create dateobjectDefinitionId
- the object definition ID- Returns:
- the number of matching object entries
-
cacheResult
Caches the object entry in the entity cache if it is enabled.- Parameters:
objectEntry
- the object entry
-
cacheResult
Caches the object entries in the entity cache if it is enabled.- Parameters:
objectEntries
- the object entries
-
create
Creates a new object entry with the primary key. Does not add the object entry to the database.- Parameters:
objectEntryId
- the primary key for the new object entry- Returns:
- the new object entry
-
remove
Removes the object entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectEntryId
- the primary key of the object entry- Returns:
- the object entry that was removed
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
updateImpl
-
findByPrimaryKey
Returns the object entry with the primary key or throws aNoSuchObjectEntryException
if it could not be found.- Parameters:
objectEntryId
- the primary key of the object entry- Returns:
- the object entry
- Throws:
NoSuchObjectEntryException
- if a object entry with the primary key could not be foundNoSuchObjectEntryException
-
fetchByPrimaryKey
Returns the object entry with the primary key or returnsnull
if it could not be found.- Parameters:
objectEntryId
- the primary key of the object entry- Returns:
- the object entry, or
null
if a object entry with the primary key could not be found
-
findAll
Returns all the object entries.- Returns:
- the object entries
-
findAll
Returns a range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
start
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of object entries
-
findAll
public static List<ObjectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
start
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object entries
-
findAll
public static List<ObjectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object 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 fromObjectEntryModelImpl
.- Parameters:
start
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object entries
-
removeAll
public static void removeAll()Removes all the object entries from the database. -
countAll
public static int countAll()Returns the number of object entries.- Returns:
- the number of object entries
-
getPersistence
-
setPersistence
-