@ProviderType public interface RemoteAppEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<RemoteAppEntry>
Caching information and settings can be found in portal.properties
RemoteAppEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<RemoteAppEntry> remoteAppEntries)
Caches the remote app entries in the entity cache if it is enabled.
|
void |
cacheResult(RemoteAppEntry remoteAppEntry)
Caches the remote app entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of remote app entries.
|
int |
countByC_U(long companyId,
java.lang.String url)
Returns the number of remote app entries where companyId = ? and url = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of remote app entries where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of remote app entries where uuid = ?.
|
RemoteAppEntry |
create(long remoteAppEntryId)
Creates a new remote app entry with the primary key.
|
RemoteAppEntry |
fetchByC_U(long companyId,
java.lang.String url)
Returns the remote app entry where companyId = ? and url = ? or returns
null if it could not be found. |
RemoteAppEntry |
fetchByC_U(long companyId,
java.lang.String url,
boolean useFinderCache)
Returns the remote app entry where companyId = ? and url = ? or returns
null if it could not be found, optionally using the finder cache. |
RemoteAppEntry |
fetchByPrimaryKey(long remoteAppEntryId)
Returns the remote app entry with the primary key or returns
null if it could not be found. |
RemoteAppEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the first remote app entry in the ordered set where uuid = ? and companyId = ?.
|
RemoteAppEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the last remote app entry in the ordered set where uuid = ? and companyId = ?.
|
RemoteAppEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the first remote app entry in the ordered set where uuid = ?.
|
RemoteAppEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the last remote app entry in the ordered set where uuid = ?.
|
java.util.List<RemoteAppEntry> |
findAll()
Returns all the remote app entries.
|
java.util.List<RemoteAppEntry> |
findAll(int start,
int end)
Returns a range of all the remote app entries.
|
java.util.List<RemoteAppEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns an ordered range of all the remote app entries.
|
java.util.List<RemoteAppEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the remote app entries.
|
RemoteAppEntry |
findByC_U(long companyId,
java.lang.String url)
Returns the remote app entry where companyId = ? and url = ? or throws a
NoSuchEntryException if it could not be found. |
RemoteAppEntry |
findByPrimaryKey(long remoteAppEntryId)
Returns the remote app entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
RemoteAppEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the first remote app entry in the ordered set where uuid = ? and companyId = ?.
|
RemoteAppEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the last remote app entry in the ordered set where uuid = ? and companyId = ?.
|
RemoteAppEntry[] |
findByUuid_C_PrevAndNext(long remoteAppEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the remote app entries before and after the current remote app entry in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<RemoteAppEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the remote app entries where uuid = ? and companyId = ?.
|
java.util.List<RemoteAppEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the remote app entries where uuid = ? and companyId = ?.
|
java.util.List<RemoteAppEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns an ordered range of all the remote app entries where uuid = ? and companyId = ?.
|
java.util.List<RemoteAppEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the remote app entries where uuid = ? and companyId = ?.
|
RemoteAppEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the first remote app entry in the ordered set where uuid = ?.
|
RemoteAppEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the last remote app entry in the ordered set where uuid = ?.
|
RemoteAppEntry[] |
findByUuid_PrevAndNext(long remoteAppEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns the remote app entries before and after the current remote app entry in the ordered set where uuid = ?.
|
java.util.List<RemoteAppEntry> |
findByUuid(java.lang.String uuid)
Returns all the remote app entries where uuid = ?.
|
java.util.List<RemoteAppEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the remote app entries where uuid = ?.
|
java.util.List<RemoteAppEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
Returns an ordered range of all the remote app entries where uuid = ?.
|
java.util.List<RemoteAppEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the remote app entries where uuid = ?.
|
RemoteAppEntry |
remove(long remoteAppEntryId)
Removes the remote app entry with the primary key from the database.
|
void |
removeAll()
Removes all the remote app entries from the database.
|
RemoteAppEntry |
removeByC_U(long companyId,
java.lang.String url)
Removes the remote app entry where companyId = ? and url = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the remote app entries where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the remote app entries where uuid = ? from the database.
|
RemoteAppEntry |
updateImpl(RemoteAppEntry remoteAppEntry) |
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<RemoteAppEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)java.util.List<RemoteAppEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<RemoteAppEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheRemoteAppEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching remote app entry could not be foundRemoteAppEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching remote app entry could not be foundRemoteAppEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching remote app entry could not be foundRemoteAppEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching remote app entry could not be foundRemoteAppEntry[] findByUuid_PrevAndNext(long remoteAppEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchEntryException
remoteAppEntryId
- the primary key of the current remote app entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a remote app entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<RemoteAppEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)java.util.List<RemoteAppEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<RemoteAppEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheRemoteAppEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching remote app entry could not be foundRemoteAppEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching remote app entry could not be foundRemoteAppEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching remote app entry could not be foundRemoteAppEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching remote app entry could not be foundRemoteAppEntry[] findByUuid_C_PrevAndNext(long remoteAppEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchEntryException
remoteAppEntryId
- the primary key of the current remote app entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a remote app 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 IDRemoteAppEntry findByC_U(long companyId, java.lang.String url) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.companyId
- the company IDurl
- the urlNoSuchEntryException
- if a matching remote app entry could not be foundRemoteAppEntry fetchByC_U(long companyId, java.lang.String url)
null
if it could not be found. Uses the finder cache.companyId
- the company IDurl
- the urlnull
if a matching remote app entry could not be foundRemoteAppEntry fetchByC_U(long companyId, java.lang.String url, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDurl
- the urluseFinderCache
- whether to use the finder cachenull
if a matching remote app entry could not be foundRemoteAppEntry removeByC_U(long companyId, java.lang.String url) throws NoSuchEntryException
companyId
- the company IDurl
- the urlNoSuchEntryException
int countByC_U(long companyId, java.lang.String url)
companyId
- the company IDurl
- the urlvoid cacheResult(RemoteAppEntry remoteAppEntry)
remoteAppEntry
- the remote app entryvoid cacheResult(java.util.List<RemoteAppEntry> remoteAppEntries)
remoteAppEntries
- the remote app entriesRemoteAppEntry create(long remoteAppEntryId)
remoteAppEntryId
- the primary key for the new remote app entryRemoteAppEntry remove(long remoteAppEntryId) throws NoSuchEntryException
remoteAppEntryId
- the primary key of the remote app entryNoSuchEntryException
- if a remote app entry with the primary key could not be foundRemoteAppEntry updateImpl(RemoteAppEntry remoteAppEntry)
RemoteAppEntry findByPrimaryKey(long remoteAppEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.remoteAppEntryId
- the primary key of the remote app entryNoSuchEntryException
- if a remote app entry with the primary key could not be foundRemoteAppEntry fetchByPrimaryKey(long remoteAppEntryId)
null
if it could not be found.remoteAppEntryId
- the primary key of the remote app entrynull
if a remote app entry with the primary key could not be foundjava.util.List<RemoteAppEntry> findAll()
java.util.List<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
start
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)java.util.List<RemoteAppEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
start
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<RemoteAppEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> 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 RemoteAppEntryModelImpl
.
start
- the lower bound of the range of remote app entriesend
- the upper bound of the range of remote app entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()