public class RemoteAppEntryUtil
extends java.lang.Object
com.liferay.remote.app.service.persistence.impl.RemoteAppEntryPersistenceImpl
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
RemoteAppEntryPersistence
Constructor and Description |
---|
RemoteAppEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<RemoteAppEntry> remoteAppEntries)
Caches the remote app entries in the entity cache if it is enabled.
|
static void |
cacheResult(RemoteAppEntry remoteAppEntry)
Caches the remote app entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(RemoteAppEntry remoteAppEntry) |
static int |
countAll()
Returns the number of remote app entries.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of remote app entries where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of remote app entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static RemoteAppEntry |
create(long remoteAppEntryId)
Creates a new remote app entry with the primary key.
|
static RemoteAppEntry |
fetchByPrimaryKey(long remoteAppEntryId)
Returns the remote app entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,RemoteAppEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of remote app entries that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of remote app entries that the user has permission to view where uuid = ?.
|
static RemoteAppEntry[] |
filterFindByUuid_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 of remote app entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<RemoteAppEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the remote app entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<RemoteAppEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the remote app entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<RemoteAppEntry> |
filterFindByUuid_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 that the user has permissions to view where uuid = ? and companyId = ?.
|
static RemoteAppEntry[] |
filterFindByUuid_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 of remote app entries that the user has permission to view where uuid = ?.
|
static java.util.List<RemoteAppEntry> |
filterFindByUuid(java.lang.String uuid)
Returns all the remote app entries that the user has permission to view where uuid = ?.
|
static java.util.List<RemoteAppEntry> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the remote app entries that the user has permission to view where uuid = ?.
|
static java.util.List<RemoteAppEntry> |
filterFindByUuid(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 that the user has permissions to view where uuid = ?.
|
static java.util.List<RemoteAppEntry> |
findAll()
Returns all the remote app entries.
|
static java.util.List<RemoteAppEntry> |
findAll(int start,
int end)
Returns a range of all the remote app entries.
|
static 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.
|
static 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.
|
static RemoteAppEntry |
findByPrimaryKey(long remoteAppEntryId)
Returns the remote app entry with the primary key or throws a
NoSuchRemoteAppEntryException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<RemoteAppEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the remote app entries where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<RemoteAppEntry> |
findByUuid(java.lang.String uuid)
Returns all the remote app entries where uuid = ?.
|
static java.util.List<RemoteAppEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the remote app entries where uuid = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<RemoteAppEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<RemoteAppEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<RemoteAppEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) |
static RemoteAppEntryPersistence |
getPersistence() |
static RemoteAppEntry |
remove(long remoteAppEntryId)
Removes the remote app entry with the primary key from the database.
|
static void |
removeAll()
Removes all the remote app entries from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the remote app entries where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the remote app entries where uuid = ? from the database.
|
static RemoteAppEntry |
update(RemoteAppEntry remoteAppEntry) |
static RemoteAppEntry |
update(RemoteAppEntry remoteAppEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static RemoteAppEntry |
updateImpl(RemoteAppEntry remoteAppEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(RemoteAppEntry remoteAppEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,RemoteAppEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<RemoteAppEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<RemoteAppEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<RemoteAppEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static RemoteAppEntry update(RemoteAppEntry remoteAppEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static RemoteAppEntry update(RemoteAppEntry remoteAppEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<RemoteAppEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.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)public static 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
)public static 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 cachepublic static RemoteAppEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchRemoteAppEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRemoteAppEntryException
- if a matching remote app entry could not be foundpublic static RemoteAppEntry 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 foundpublic static RemoteAppEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchRemoteAppEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRemoteAppEntryException
- if a matching remote app entry could not be foundpublic static RemoteAppEntry 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 foundpublic static RemoteAppEntry[] findByUuid_PrevAndNext(long remoteAppEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchRemoteAppEntryException
remoteAppEntryId
- the primary key of the current remote app entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRemoteAppEntryException
- if a remote app entry with the primary key could not be foundpublic static java.util.List<RemoteAppEntry> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<RemoteAppEntry> filterFindByUuid(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)public static java.util.List<RemoteAppEntry> filterFindByUuid(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
)public static RemoteAppEntry[] filterFindByUuid_PrevAndNext(long remoteAppEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchRemoteAppEntryException
remoteAppEntryId
- the primary key of the current remote app entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRemoteAppEntryException
- if a remote app entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<RemoteAppEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static RemoteAppEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchRemoteAppEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRemoteAppEntryException
- if a matching remote app entry could not be foundpublic static RemoteAppEntry 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 foundpublic static RemoteAppEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchRemoteAppEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRemoteAppEntryException
- if a matching remote app entry could not be foundpublic static RemoteAppEntry 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 foundpublic static RemoteAppEntry[] findByUuid_C_PrevAndNext(long remoteAppEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchRemoteAppEntryException
remoteAppEntryId
- the primary key of the current remote app entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRemoteAppEntryException
- if a remote app entry with the primary key could not be foundpublic static java.util.List<RemoteAppEntry> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<RemoteAppEntry> filterFindByUuid_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)public static java.util.List<RemoteAppEntry> filterFindByUuid_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
)public static RemoteAppEntry[] filterFindByUuid_C_PrevAndNext(long remoteAppEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<RemoteAppEntry> orderByComparator) throws NoSuchRemoteAppEntryException
remoteAppEntryId
- the primary key of the current remote app entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRemoteAppEntryException
- if a remote app entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static void cacheResult(RemoteAppEntry remoteAppEntry)
remoteAppEntry
- the remote app entrypublic static void cacheResult(java.util.List<RemoteAppEntry> remoteAppEntries)
remoteAppEntries
- the remote app entriespublic static RemoteAppEntry create(long remoteAppEntryId)
remoteAppEntryId
- the primary key for the new remote app entrypublic static RemoteAppEntry remove(long remoteAppEntryId) throws NoSuchRemoteAppEntryException
remoteAppEntryId
- the primary key of the remote app entryNoSuchRemoteAppEntryException
- if a remote app entry with the primary key could not be foundpublic static RemoteAppEntry updateImpl(RemoteAppEntry remoteAppEntry)
public static RemoteAppEntry findByPrimaryKey(long remoteAppEntryId) throws NoSuchRemoteAppEntryException
NoSuchRemoteAppEntryException
if it could not be found.remoteAppEntryId
- the primary key of the remote app entryNoSuchRemoteAppEntryException
- if a remote app entry with the primary key could not be foundpublic static RemoteAppEntry 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 foundpublic static java.util.List<RemoteAppEntry> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static RemoteAppEntryPersistence getPersistence()