public class ClientExtensionEntryUtil
extends java.lang.Object
com.liferay.client.extension.service.persistence.impl.ClientExtensionEntryPersistenceImpl
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
ClientExtensionEntryPersistence
Constructor and Description |
---|
ClientExtensionEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(ClientExtensionEntry clientExtensionEntry)
Caches the client extension entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<ClientExtensionEntry> clientExtensionEntries)
Caches the client extension entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ClientExtensionEntry clientExtensionEntry) |
static int |
countAll()
Returns the number of client extension entries.
|
static int |
countByC_T(long companyId,
java.lang.String type)
Returns the number of client extension entries where companyId = ? and type = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of client extension entries where companyId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of client extension entries where externalReferenceCode = ? and companyId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of client extension entries where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of client extension entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ClientExtensionEntry |
create(long clientExtensionEntryId)
Creates a new client extension entry with the primary key.
|
static ClientExtensionEntry |
fetchByC_T_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the first client extension entry in the ordered set where companyId = ? and type = ?.
|
static ClientExtensionEntry |
fetchByC_T_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the last client extension entry in the ordered set where companyId = ? and type = ?.
|
static ClientExtensionEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the first client extension entry in the ordered set where companyId = ?.
|
static ClientExtensionEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the last client extension entry in the ordered set where companyId = ?.
|
static ClientExtensionEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the client extension entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static ClientExtensionEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the client extension entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
static ClientExtensionEntry |
fetchByPrimaryKey(long clientExtensionEntryId)
Returns the client extension entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ClientExtensionEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ClientExtensionEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the first client extension entry in the ordered set where uuid = ? and companyId = ?.
|
static ClientExtensionEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the last client extension entry in the ordered set where uuid = ? and companyId = ?.
|
static ClientExtensionEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the first client extension entry in the ordered set where uuid = ?.
|
static ClientExtensionEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the last client extension entry in the ordered set where uuid = ?.
|
static int |
filterCountByC_T(long companyId,
java.lang.String type)
Returns the number of client extension entries that the user has permission to view where companyId = ? and type = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of client extension entries that the user has permission to view where companyId = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of client extension entries that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of client extension entries that the user has permission to view where uuid = ?.
|
static ClientExtensionEntry[] |
filterFindByC_T_PrevAndNext(long clientExtensionEntryId,
long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the client extension entries before and after the current client extension entry in the ordered set of client extension entries that the user has permission to view where companyId = ? and type = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByC_T(long companyId,
java.lang.String type)
Returns all the client extension entries that the user has permission to view where companyId = ? and type = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByC_T(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the client extension entries that the user has permission to view where companyId = ? and type = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByC_T(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries that the user has permissions to view where companyId = ? and type = ?.
|
static ClientExtensionEntry[] |
filterFindByCompanyId_PrevAndNext(long clientExtensionEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the client extension entries before and after the current client extension entry in the ordered set of client extension entries that the user has permission to view where companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByCompanyId(long companyId)
Returns all the client extension entries that the user has permission to view where companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the client extension entries that the user has permission to view where companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries that the user has permissions to view where companyId = ?.
|
static ClientExtensionEntry[] |
filterFindByUuid_C_PrevAndNext(long clientExtensionEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the client extension entries before and after the current client extension entry in the ordered set of client extension entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the client extension entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the client extension entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries that the user has permissions to view where uuid = ? and companyId = ?.
|
static ClientExtensionEntry[] |
filterFindByUuid_PrevAndNext(long clientExtensionEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the client extension entries before and after the current client extension entry in the ordered set of client extension entries that the user has permission to view where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByUuid(java.lang.String uuid)
Returns all the client extension entries that the user has permission to view where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the client extension entries that the user has permission to view where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries that the user has permissions to view where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
findAll()
Returns all the client extension entries.
|
static java.util.List<ClientExtensionEntry> |
findAll(int start,
int end)
Returns a range of all the client extension entries.
|
static java.util.List<ClientExtensionEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries.
|
static java.util.List<ClientExtensionEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the client extension entries.
|
static ClientExtensionEntry |
findByC_T_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the first client extension entry in the ordered set where companyId = ? and type = ?.
|
static ClientExtensionEntry |
findByC_T_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the last client extension entry in the ordered set where companyId = ? and type = ?.
|
static ClientExtensionEntry[] |
findByC_T_PrevAndNext(long clientExtensionEntryId,
long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the client extension entries before and after the current client extension entry in the ordered set where companyId = ? and type = ?.
|
static java.util.List<ClientExtensionEntry> |
findByC_T(long companyId,
java.lang.String type)
Returns all the client extension entries where companyId = ? and type = ?.
|
static java.util.List<ClientExtensionEntry> |
findByC_T(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the client extension entries where companyId = ? and type = ?.
|
static java.util.List<ClientExtensionEntry> |
findByC_T(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries where companyId = ? and type = ?.
|
static java.util.List<ClientExtensionEntry> |
findByC_T(long companyId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the client extension entries where companyId = ? and type = ?.
|
static ClientExtensionEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the first client extension entry in the ordered set where companyId = ?.
|
static ClientExtensionEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the last client extension entry in the ordered set where companyId = ?.
|
static ClientExtensionEntry[] |
findByCompanyId_PrevAndNext(long clientExtensionEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the client extension entries before and after the current client extension entry in the ordered set where companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
findByCompanyId(long companyId)
Returns all the client extension entries where companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the client extension entries where companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries where companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the client extension entries where companyId = ?.
|
static ClientExtensionEntry |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the client extension entry where externalReferenceCode = ? and companyId = ? or throws a
NoSuchClientExtensionEntryException if it could not be found. |
static ClientExtensionEntry |
findByPrimaryKey(long clientExtensionEntryId)
Returns the client extension entry with the primary key or throws a
NoSuchClientExtensionEntryException if it could not be found. |
static ClientExtensionEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the first client extension entry in the ordered set where uuid = ? and companyId = ?.
|
static ClientExtensionEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the last client extension entry in the ordered set where uuid = ? and companyId = ?.
|
static ClientExtensionEntry[] |
findByUuid_C_PrevAndNext(long clientExtensionEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the client extension entries before and after the current client extension entry in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the client extension entries where uuid = ? and companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the client extension entries where uuid = ? and companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries where uuid = ? and companyId = ?.
|
static java.util.List<ClientExtensionEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the client extension entries where uuid = ? and companyId = ?.
|
static ClientExtensionEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the first client extension entry in the ordered set where uuid = ?.
|
static ClientExtensionEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the last client extension entry in the ordered set where uuid = ?.
|
static ClientExtensionEntry[] |
findByUuid_PrevAndNext(long clientExtensionEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns the client extension entries before and after the current client extension entry in the ordered set where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
findByUuid(java.lang.String uuid)
Returns all the client extension entries where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the client extension entries where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
Returns an ordered range of all the client extension entries where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the client extension entries where uuid = ?.
|
static java.util.List<ClientExtensionEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ClientExtensionEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ClientExtensionEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) |
static ClientExtensionEntryPersistence |
getPersistence() |
static ClientExtensionEntry |
remove(long clientExtensionEntryId)
Removes the client extension entry with the primary key from the database.
|
static void |
removeAll()
Removes all the client extension entries from the database.
|
static void |
removeByC_T(long companyId,
java.lang.String type)
Removes all the client extension entries where companyId = ? and type = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the client extension entries where companyId = ? from the database.
|
static ClientExtensionEntry |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the client extension entry where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the client extension entries where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the client extension entries where uuid = ? from the database.
|
static void |
setPersistence(ClientExtensionEntryPersistence persistence) |
static ClientExtensionEntry |
update(ClientExtensionEntry clientExtensionEntry) |
static ClientExtensionEntry |
update(ClientExtensionEntry clientExtensionEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ClientExtensionEntry |
updateImpl(ClientExtensionEntry clientExtensionEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ClientExtensionEntry clientExtensionEntry)
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,ClientExtensionEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ClientExtensionEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ClientExtensionEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ClientExtensionEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ClientExtensionEntry update(ClientExtensionEntry clientExtensionEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ClientExtensionEntry update(ClientExtensionEntry clientExtensionEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ClientExtensionEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ClientExtensionEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ClientExtensionEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching client extension entry could not be foundpublic static ClientExtensionEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching client extension entry could not be foundpublic static ClientExtensionEntry[] findByUuid_PrevAndNext(long clientExtensionEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the current client extension entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a client extension entry with the primary key could not be foundpublic static java.util.List<ClientExtensionEntry> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ClientExtensionEntry[] filterFindByUuid_PrevAndNext(long clientExtensionEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the current client extension entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a client extension 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<ClientExtensionEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ClientExtensionEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ClientExtensionEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching client extension entry could not be foundpublic static ClientExtensionEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching client extension entry could not be foundpublic static ClientExtensionEntry[] findByUuid_C_PrevAndNext(long clientExtensionEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the current client extension entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a client extension entry with the primary key could not be foundpublic static java.util.List<ClientExtensionEntry> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ClientExtensionEntry[] filterFindByUuid_C_PrevAndNext(long clientExtensionEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the current client extension entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a client extension 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 java.util.List<ClientExtensionEntry> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<ClientExtensionEntry> findByCompanyId(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 ClientExtensionEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ClientExtensionEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ClientExtensionEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching client extension entry could not be foundpublic static ClientExtensionEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching client extension entry could not be foundpublic static ClientExtensionEntry[] findByCompanyId_PrevAndNext(long clientExtensionEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the current client extension entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a client extension entry with the primary key could not be foundpublic static java.util.List<ClientExtensionEntry> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<ClientExtensionEntry> filterFindByCompanyId(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 ClientExtensionEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ClientExtensionEntry[] filterFindByCompanyId_PrevAndNext(long clientExtensionEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the current client extension entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a client extension entry with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<ClientExtensionEntry> findByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static java.util.List<ClientExtensionEntry> findByC_T(long companyId, java.lang.String type, 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 ClientExtensionEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> findByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ClientExtensionEntry> findByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ClientExtensionEntry findByC_T_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByC_T_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching client extension entry could not be foundpublic static ClientExtensionEntry findByC_T_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByC_T_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching client extension entry could not be foundpublic static ClientExtensionEntry[] findByC_T_PrevAndNext(long clientExtensionEntryId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the current client extension entrycompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a client extension entry with the primary key could not be foundpublic static java.util.List<ClientExtensionEntry> filterFindByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static java.util.List<ClientExtensionEntry> filterFindByC_T(long companyId, java.lang.String type, 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 ClientExtensionEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> filterFindByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
companyId
- the company IDtype
- the typestart
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ClientExtensionEntry[] filterFindByC_T_PrevAndNext(long clientExtensionEntryId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> orderByComparator) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the current client extension entrycompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchClientExtensionEntryException
- if a client extension entry with the primary key could not be foundpublic static void removeByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static int countByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static int filterCountByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typepublic static ClientExtensionEntry findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchClientExtensionEntryException
NoSuchClientExtensionEntryException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchClientExtensionEntryException
- if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching client extension entry could not be foundpublic static ClientExtensionEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching client extension entry could not be foundpublic static ClientExtensionEntry removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchClientExtensionEntryException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchClientExtensionEntryException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic static void cacheResult(ClientExtensionEntry clientExtensionEntry)
clientExtensionEntry
- the client extension entrypublic static void cacheResult(java.util.List<ClientExtensionEntry> clientExtensionEntries)
clientExtensionEntries
- the client extension entriespublic static ClientExtensionEntry create(long clientExtensionEntryId)
clientExtensionEntryId
- the primary key for the new client extension entrypublic static ClientExtensionEntry remove(long clientExtensionEntryId) throws NoSuchClientExtensionEntryException
clientExtensionEntryId
- the primary key of the client extension entryNoSuchClientExtensionEntryException
- if a client extension entry with the primary key could not be foundpublic static ClientExtensionEntry updateImpl(ClientExtensionEntry clientExtensionEntry)
public static ClientExtensionEntry findByPrimaryKey(long clientExtensionEntryId) throws NoSuchClientExtensionEntryException
NoSuchClientExtensionEntryException
if it could not be found.clientExtensionEntryId
- the primary key of the client extension entryNoSuchClientExtensionEntryException
- if a client extension entry with the primary key could not be foundpublic static ClientExtensionEntry fetchByPrimaryKey(long clientExtensionEntryId)
null
if it could not be found.clientExtensionEntryId
- the primary key of the client extension entrynull
if a client extension entry with the primary key could not be foundpublic static java.util.List<ClientExtensionEntry> findAll()
public static java.util.List<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
start
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)public static java.util.List<ClientExtensionEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
start
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ClientExtensionEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ClientExtensionEntry> 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 ClientExtensionEntryModelImpl
.
start
- the lower bound of the range of client extension entriesend
- the upper bound of the range of client extension 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 ClientExtensionEntryPersistence getPersistence()
public static void setPersistence(ClientExtensionEntryPersistence persistence)