@ProviderType public interface DepotEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DepotEntry>
Caching information and settings can be found in portal.properties
DepotEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DepotEntry depotEntry)
Caches the depot entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DepotEntry> depotEntries)
Caches the depot entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of depot entries.
|
int |
countByGroupId(long groupId)
Returns the number of depot entries where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of depot entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of depot entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of depot entries where uuid = ?.
|
DepotEntry |
create(long depotEntryId)
Creates a new depot entry with the primary key.
|
DepotEntry |
fetchByGroupId(long groupId)
Returns the depot entry where groupId = ? or returns
null if it could not be found. |
DepotEntry |
fetchByGroupId(long groupId,
boolean useFinderCache)
Returns the depot entry where groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
DepotEntry |
fetchByPrimaryKey(long depotEntryId)
Returns the depot entry with the primary key or returns
null if it could not be found. |
DepotEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the first depot entry in the ordered set where uuid = ? and companyId = ?.
|
DepotEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the last depot entry in the ordered set where uuid = ? and companyId = ?.
|
DepotEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the first depot entry in the ordered set where uuid = ?.
|
DepotEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the depot entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
DepotEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the depot entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
DepotEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the last depot entry in the ordered set where uuid = ?.
|
java.util.List<DepotEntry> |
findAll()
Returns all the depot entries.
|
java.util.List<DepotEntry> |
findAll(int start,
int end)
Returns a range of all the depot entries.
|
java.util.List<DepotEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns an ordered range of all the depot entries.
|
java.util.List<DepotEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the depot entries.
|
DepotEntry |
findByGroupId(long groupId)
Returns the depot entry where groupId = ? or throws a
NoSuchEntryException if it could not be found. |
DepotEntry |
findByPrimaryKey(long depotEntryId)
Returns the depot entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
DepotEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the first depot entry in the ordered set where uuid = ? and companyId = ?.
|
DepotEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the last depot entry in the ordered set where uuid = ? and companyId = ?.
|
DepotEntry[] |
findByUuid_C_PrevAndNext(long depotEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the depot entries before and after the current depot entry in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<DepotEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the depot entries where uuid = ? and companyId = ?.
|
java.util.List<DepotEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the depot entries where uuid = ? and companyId = ?.
|
java.util.List<DepotEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns an ordered range of all the depot entries where uuid = ? and companyId = ?.
|
java.util.List<DepotEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the depot entries where uuid = ? and companyId = ?.
|
DepotEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the first depot entry in the ordered set where uuid = ?.
|
DepotEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the depot entry where uuid = ? and groupId = ? or throws a
NoSuchEntryException if it could not be found. |
DepotEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the last depot entry in the ordered set where uuid = ?.
|
DepotEntry[] |
findByUuid_PrevAndNext(long depotEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns the depot entries before and after the current depot entry in the ordered set where uuid = ?.
|
java.util.List<DepotEntry> |
findByUuid(java.lang.String uuid)
Returns all the depot entries where uuid = ?.
|
java.util.List<DepotEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the depot entries where uuid = ?.
|
java.util.List<DepotEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns an ordered range of all the depot entries where uuid = ?.
|
java.util.List<DepotEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the depot entries where uuid = ?.
|
DepotEntry |
remove(long depotEntryId)
Removes the depot entry with the primary key from the database.
|
void |
removeAll()
Removes all the depot entries from the database.
|
DepotEntry |
removeByGroupId(long groupId)
Removes the depot entry where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the depot entries where uuid = ? and companyId = ? from the database.
|
DepotEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the depot entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the depot entries where uuid = ? from the database.
|
DepotEntry |
updateImpl(DepotEntry depotEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<DepotEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<DepotEntry> 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 DepotEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)java.util.List<DepotEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> 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 DepotEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DepotEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> 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 DepotEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDepotEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching depot entry could not be foundDepotEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry could not be foundDepotEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching depot entry could not be foundDepotEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry could not be foundDepotEntry[] findByUuid_PrevAndNext(long depotEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator) throws NoSuchEntryException
depotEntryId
- the primary key of the current depot entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a depot entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidDepotEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchEntryException
- if a matching depot entry could not be foundDepotEntry 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 depot entry could not be foundDepotEntry 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 depot entry could not be foundDepotEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
uuid
- the uuidgroupId
- the group IDNoSuchEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<DepotEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<DepotEntry> 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 DepotEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)java.util.List<DepotEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> 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 DepotEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DepotEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> 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 DepotEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDepotEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching depot entry could not be foundDepotEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry could not be foundDepotEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching depot entry could not be foundDepotEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry could not be foundDepotEntry[] findByUuid_C_PrevAndNext(long depotEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator) throws NoSuchEntryException
depotEntryId
- the primary key of the current depot entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a depot 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 IDDepotEntry findByGroupId(long groupId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.groupId
- the group IDNoSuchEntryException
- if a matching depot entry could not be foundDepotEntry fetchByGroupId(long groupId)
null
if it could not be found. Uses the finder cache.groupId
- the group IDnull
if a matching depot entry could not be foundDepotEntry fetchByGroupId(long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching depot entry could not be foundDepotEntry removeByGroupId(long groupId) throws NoSuchEntryException
groupId
- the group IDNoSuchEntryException
int countByGroupId(long groupId)
groupId
- the group IDvoid cacheResult(DepotEntry depotEntry)
depotEntry
- the depot entryvoid cacheResult(java.util.List<DepotEntry> depotEntries)
depotEntries
- the depot entriesDepotEntry create(long depotEntryId)
depotEntryId
- the primary key for the new depot entryDepotEntry remove(long depotEntryId) throws NoSuchEntryException
depotEntryId
- the primary key of the depot entryNoSuchEntryException
- if a depot entry with the primary key could not be foundDepotEntry updateImpl(DepotEntry depotEntry)
DepotEntry findByPrimaryKey(long depotEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.depotEntryId
- the primary key of the depot entryNoSuchEntryException
- if a depot entry with the primary key could not be foundDepotEntry fetchByPrimaryKey(long depotEntryId)
null
if it could not be found.depotEntryId
- the primary key of the depot entrynull
if a depot entry with the primary key could not be foundjava.util.List<DepotEntry> findAll()
java.util.List<DepotEntry> 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 DepotEntryModelImpl
.
start
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)java.util.List<DepotEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> 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 DepotEntryModelImpl
.
start
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DepotEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> 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 DepotEntryModelImpl
.
start
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()