@ProviderType public interface ObjectEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectEntry>
Caching information and settings can be found in portal.properties
ObjectEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectEntry> objectEntries)
Caches the object entries in the entity cache if it is enabled.
|
void |
cacheResult(ObjectEntry objectEntry)
Caches the object entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object entries.
|
int |
countByG_C_ERC(long groupId,
long companyId,
java.lang.String externalReferenceCode)
Returns the number of object entries where groupId = ? and companyId = ? and externalReferenceCode = ?.
|
int |
countByG_ODI(long groupId,
long objectDefinitionId)
Returns the number of object entries where groupId = ? and objectDefinitionId = ?.
|
int |
countByObjectDefinitionId(long objectDefinitionId)
Returns the number of object entries where objectDefinitionId = ?.
|
int |
countByODI_NotS(long objectDefinitionId,
int status)
Returns the number of object entries where objectDefinitionId = ? and status ≠ ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of object entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object entries where uuid = ?.
|
ObjectEntry |
create(long objectEntryId)
Creates a new object entry with the primary key.
|
ObjectEntry |
fetchByG_C_ERC(long groupId,
long companyId,
java.lang.String externalReferenceCode)
Returns the object entry where groupId = ? and companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
ObjectEntry |
fetchByG_C_ERC(long groupId,
long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the object entry where groupId = ? and companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
ObjectEntry |
fetchByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns the first object entry in the ordered set where objectDefinitionId = ?.
|
ObjectEntry |
fetchByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns the last object entry in the ordered set where objectDefinitionId = ?.
|
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 ≠ ?.
|
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 ≠ ?.
|
ObjectEntry |
fetchByPrimaryKey(long objectEntryId)
Returns the object entry with the primary key or returns
null if it could not be found. |
ObjectEntry |
fetchByUuid_C_First(java.lang.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 = ?.
|
ObjectEntry |
fetchByUuid_C_Last(java.lang.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 = ?.
|
ObjectEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns the first object entry in the ordered set where uuid = ?.
|
ObjectEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the object entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
ObjectEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the object entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
ObjectEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns the last object entry in the ordered set where uuid = ?.
|
java.util.List<ObjectEntry> |
findAll()
Returns all the object entries.
|
java.util.List<ObjectEntry> |
findAll(int start,
int end)
Returns a range of all the object entries.
|
java.util.List<ObjectEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns an ordered range of all the object entries.
|
java.util.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.
|
ObjectEntry |
findByG_C_ERC(long groupId,
long companyId,
java.lang.String externalReferenceCode)
Returns the object entry where groupId = ? and companyId = ? and externalReferenceCode = ? or throws a
NoSuchObjectEntryException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ObjectEntry> |
findByG_ODI(long groupId,
long objectDefinitionId)
Returns all the object entries where groupId = ? and objectDefinitionId = ?.
|
java.util.List<ObjectEntry> |
findByG_ODI(long groupId,
long objectDefinitionId,
int start,
int end)
Returns a range of all the object entries where groupId = ? and objectDefinitionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectEntry |
findByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns the first object entry in the ordered set where objectDefinitionId = ?.
|
ObjectEntry |
findByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns the last object entry in the ordered set where objectDefinitionId = ?.
|
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 = ?.
|
java.util.List<ObjectEntry> |
findByObjectDefinitionId(long objectDefinitionId)
Returns all the object entries where objectDefinitionId = ?.
|
java.util.List<ObjectEntry> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end)
Returns a range of all the object entries where objectDefinitionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
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 ≠ ?.
|
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 ≠ ?.
|
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 ≠ ?.
|
java.util.List<ObjectEntry> |
findByODI_NotS(long objectDefinitionId,
int status)
Returns all the object entries where objectDefinitionId = ? and status ≠ ?.
|
java.util.List<ObjectEntry> |
findByODI_NotS(long objectDefinitionId,
int status,
int start,
int end)
Returns a range of all the object entries where objectDefinitionId = ? and status ≠ ?.
|
java.util.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 ≠ ?.
|
java.util.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 ≠ ?.
|
ObjectEntry |
findByPrimaryKey(long objectEntryId)
Returns the object entry with the primary key or throws a
NoSuchObjectEntryException if it could not be found. |
ObjectEntry |
findByUuid_C_First(java.lang.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 = ?.
|
ObjectEntry |
findByUuid_C_Last(java.lang.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 = ?.
|
ObjectEntry[] |
findByUuid_C_PrevAndNext(long objectEntryId,
java.lang.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 = ?.
|
java.util.List<ObjectEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object entries where uuid = ? and companyId = ?.
|
java.util.List<ObjectEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object entries where uuid = ? and companyId = ?.
|
java.util.List<ObjectEntry> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectEntry> |
findByUuid_C(java.lang.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 = ?.
|
ObjectEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns the first object entry in the ordered set where uuid = ?.
|
ObjectEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the object entry where uuid = ? and groupId = ? or throws a
NoSuchObjectEntryException if it could not be found. |
ObjectEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Returns the last object entry in the ordered set where uuid = ?.
|
ObjectEntry[] |
findByUuid_PrevAndNext(long objectEntryId,
java.lang.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 = ?.
|
java.util.List<ObjectEntry> |
findByUuid(java.lang.String uuid)
Returns all the object entries where uuid = ?.
|
java.util.List<ObjectEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object entries where uuid = ?.
|
java.util.List<ObjectEntry> |
findByUuid(java.lang.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 = ?.
|
java.util.List<ObjectEntry> |
findByUuid(java.lang.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 = ?.
|
ObjectEntry |
remove(long objectEntryId)
Removes the object entry with the primary key from the database.
|
void |
removeAll()
Removes all the object entries from the database.
|
ObjectEntry |
removeByG_C_ERC(long groupId,
long companyId,
java.lang.String externalReferenceCode)
Removes the object entry where groupId = ? and companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByG_ODI(long groupId,
long objectDefinitionId)
Removes all the object entries where groupId = ? and objectDefinitionId = ? from the database.
|
void |
removeByObjectDefinitionId(long objectDefinitionId)
Removes all the object entries where objectDefinitionId = ? from the database.
|
void |
removeByODI_NotS(long objectDefinitionId,
int status)
Removes all the object entries where objectDefinitionId = ? and status ≠ ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object entries where uuid = ? and companyId = ? from the database.
|
ObjectEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the object entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object entries where uuid = ? from the database.
|
ObjectEntry |
updateImpl(ObjectEntry objectEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ObjectEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)java.util.List<ObjectEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)java.util.List<ObjectEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry[] findByUuid_PrevAndNext(long objectEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectEntryId
- the primary key of the current object entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a object entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidObjectEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchObjectEntryException
NoSuchObjectEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching object entry could not be foundObjectEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching object entry could not be foundObjectEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchObjectEntryException
uuid
- the uuidgroupId
- the group IDNoSuchObjectEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<ObjectEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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)java.util.List<ObjectEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)java.util.List<ObjectEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry[] findByUuid_C_PrevAndNext(long objectEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectEntryId
- the primary key of the current object entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a object entry with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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)java.util.List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)java.util.List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectEntry findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry[] findByObjectDefinitionId_PrevAndNext(long objectEntryId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectEntryId
- the primary key of the current object entryobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a object entry with the primary key could not be foundvoid removeByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDint countByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId)
groupId
- the group IDobjectDefinitionId
- the object definition IDjava.util.List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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)java.util.List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)java.util.List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectEntry findByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
groupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
groupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry findByG_ODI_Last(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
groupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByG_ODI_Last(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
groupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry[] findByG_ODI_PrevAndNext(long objectEntryId, long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectEntryId
- the primary key of the current object entrygroupId
- the group IDobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a object entry with the primary key could not be foundvoid removeByG_ODI(long groupId, long objectDefinitionId)
groupId
- the group IDobjectDefinitionId
- the object definition IDint countByG_ODI(long groupId, long objectDefinitionId)
groupId
- the group IDobjectDefinitionId
- the object definition IDjava.util.List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status)
objectDefinitionId
- the object definition IDstatus
- the statusjava.util.List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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)java.util.List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)java.util.List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectEntry findByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
objectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry findByODI_NotS_Last(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByODI_NotS_Last(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
objectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object entry could not be foundObjectEntry[] findByODI_NotS_PrevAndNext(long objectEntryId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
objectEntryId
- the primary key of the current object entryobjectDefinitionId
- the object definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectEntryException
- if a object entry with the primary key could not be foundvoid removeByODI_NotS(long objectDefinitionId, int status)
objectDefinitionId
- the object definition IDstatus
- the statusint countByODI_NotS(long objectDefinitionId, int status)
objectDefinitionId
- the object definition IDstatus
- the statusObjectEntry findByG_C_ERC(long groupId, long companyId, java.lang.String externalReferenceCode) throws NoSuchObjectEntryException
NoSuchObjectEntryException
if it could not be found.groupId
- the group IDcompanyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchObjectEntryException
- if a matching object entry could not be foundObjectEntry fetchByG_C_ERC(long groupId, long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.groupId
- the group IDcompanyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching object entry could not be foundObjectEntry fetchByG_C_ERC(long groupId, long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDcompanyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching object entry could not be foundObjectEntry removeByG_C_ERC(long groupId, long companyId, java.lang.String externalReferenceCode) throws NoSuchObjectEntryException
groupId
- the group IDcompanyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchObjectEntryException
int countByG_C_ERC(long groupId, long companyId, java.lang.String externalReferenceCode)
groupId
- the group IDcompanyId
- the company IDexternalReferenceCode
- the external reference codevoid cacheResult(ObjectEntry objectEntry)
objectEntry
- the object entryvoid cacheResult(java.util.List<ObjectEntry> objectEntries)
objectEntries
- the object entriesObjectEntry create(long objectEntryId)
objectEntryId
- the primary key for the new object entryObjectEntry remove(long objectEntryId) throws NoSuchObjectEntryException
objectEntryId
- the primary key of the object entryNoSuchObjectEntryException
- if a object entry with the primary key could not be foundObjectEntry updateImpl(ObjectEntry objectEntry)
ObjectEntry findByPrimaryKey(long objectEntryId) throws NoSuchObjectEntryException
NoSuchObjectEntryException
if it could not be found.objectEntryId
- the primary key of the object entryNoSuchObjectEntryException
- if a object entry with the primary key could not be foundObjectEntry fetchByPrimaryKey(long objectEntryId)
null
if it could not be found.objectEntryId
- the primary key of the object entrynull
if a object entry with the primary key could not be foundjava.util.List<ObjectEntry> findAll()
java.util.List<ObjectEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
start
- the lower bound of the range of object entriesend
- the upper bound of the range of object entries (not inclusive)java.util.List<ObjectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)java.util.List<ObjectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()