@ProviderType public interface WSRPConsumerPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<WSRPConsumer>
Caching information and settings can be found in portal.properties
com.liferay.wsrp.service.persistence.impl.WSRPConsumerPersistenceImpl
,
WSRPConsumerUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<WSRPConsumer> wsrpConsumers)
Caches the wsrp consumers in the entity cache if it is enabled.
|
void |
cacheResult(WSRPConsumer wsrpConsumer)
Caches the wsrp consumer in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of wsrp consumers.
|
int |
countByCompanyId(long companyId)
Returns the number of wsrp consumers where companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of wsrp consumers where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of wsrp consumers where uuid = ?.
|
WSRPConsumer |
create(long wsrpConsumerId)
Creates a new wsrp consumer with the primary key.
|
WSRPConsumer |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where companyId = ?.
|
WSRPConsumer |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where companyId = ?.
|
WSRPConsumer |
fetchByPrimaryKey(long wsrpConsumerId)
Returns the wsrp consumer with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,WSRPConsumer> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
WSRPConsumer |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
WSRPConsumer |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
WSRPConsumer |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where uuid = ?.
|
WSRPConsumer |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where uuid = ?.
|
java.util.List<WSRPConsumer> |
findAll()
Returns all the wsrp consumers.
|
java.util.List<WSRPConsumer> |
findAll(int start,
int end)
Returns a range of all the wsrp consumers.
|
java.util.List<WSRPConsumer> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns an ordered range of all the wsrp consumers.
|
java.util.List<WSRPConsumer> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp consumers.
|
WSRPConsumer |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where companyId = ?.
|
WSRPConsumer |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where companyId = ?.
|
WSRPConsumer[] |
findByCompanyId_PrevAndNext(long wsrpConsumerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the wsrp consumers before and after the current wsrp consumer in the ordered set where companyId = ?.
|
java.util.List<WSRPConsumer> |
findByCompanyId(long companyId)
Returns all the wsrp consumers where companyId = ?.
|
java.util.List<WSRPConsumer> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the wsrp consumers where companyId = ?.
|
java.util.List<WSRPConsumer> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns an ordered range of all the wsrp consumers where companyId = ?.
|
java.util.List<WSRPConsumer> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp consumers where companyId = ?.
|
WSRPConsumer |
findByPrimaryKey(long wsrpConsumerId)
Returns the wsrp consumer with the primary key or throws a
NoSuchConsumerException if it could not be found. |
WSRPConsumer |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
WSRPConsumer |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
WSRPConsumer[] |
findByUuid_C_PrevAndNext(long wsrpConsumerId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the wsrp consumers before and after the current wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<WSRPConsumer> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the wsrp consumers where uuid = ? and companyId = ?.
|
java.util.List<WSRPConsumer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the wsrp consumers where uuid = ? and companyId = ?.
|
java.util.List<WSRPConsumer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns an ordered range of all the wsrp consumers where uuid = ? and companyId = ?.
|
java.util.List<WSRPConsumer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp consumers where uuid = ? and companyId = ?.
|
WSRPConsumer |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where uuid = ?.
|
WSRPConsumer |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where uuid = ?.
|
WSRPConsumer[] |
findByUuid_PrevAndNext(long wsrpConsumerId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns the wsrp consumers before and after the current wsrp consumer in the ordered set where uuid = ?.
|
java.util.List<WSRPConsumer> |
findByUuid(java.lang.String uuid)
Returns all the wsrp consumers where uuid = ?.
|
java.util.List<WSRPConsumer> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the wsrp consumers where uuid = ?.
|
java.util.List<WSRPConsumer> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
Returns an ordered range of all the wsrp consumers where uuid = ?.
|
java.util.List<WSRPConsumer> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp consumers where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
WSRPConsumer |
remove(long wsrpConsumerId)
Removes the wsrp consumer with the primary key from the database.
|
void |
removeAll()
Removes all the wsrp consumers from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the wsrp consumers where companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the wsrp consumers where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the wsrp consumers where uuid = ? from the database.
|
WSRPConsumer |
updateImpl(WSRPConsumer wsrpConsumer) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<WSRPConsumer> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<WSRPConsumer> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)java.util.List<WSRPConsumer> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPConsumer> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPConsumer findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundWSRPConsumer fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundWSRPConsumer findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundWSRPConsumer fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundWSRPConsumer[] findByUuid_PrevAndNext(long wsrpConsumerId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
wsrpConsumerId
- the primary key of the current wsrp consumeruuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a wsrp consumer 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<WSRPConsumer> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<WSRPConsumer> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)java.util.List<WSRPConsumer> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPConsumer> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPConsumer findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundWSRPConsumer fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundWSRPConsumer findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundWSRPConsumer fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundWSRPConsumer[] findByUuid_C_PrevAndNext(long wsrpConsumerId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
wsrpConsumerId
- the primary key of the current wsrp consumeruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a wsrp consumer with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<WSRPConsumer> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<WSRPConsumer> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)java.util.List<WSRPConsumer> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPConsumer> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPConsumer findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundWSRPConsumer fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundWSRPConsumer findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundWSRPConsumer fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundWSRPConsumer[] findByCompanyId_PrevAndNext(long wsrpConsumerId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
wsrpConsumerId
- the primary key of the current wsrp consumercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a wsrp consumer with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDvoid cacheResult(WSRPConsumer wsrpConsumer)
wsrpConsumer
- the wsrp consumervoid cacheResult(java.util.List<WSRPConsumer> wsrpConsumers)
wsrpConsumers
- the wsrp consumersWSRPConsumer create(long wsrpConsumerId)
wsrpConsumerId
- the primary key for the new wsrp consumerWSRPConsumer remove(long wsrpConsumerId) throws NoSuchConsumerException
wsrpConsumerId
- the primary key of the wsrp consumerNoSuchConsumerException
- if a wsrp consumer with the primary key could not be foundWSRPConsumer updateImpl(WSRPConsumer wsrpConsumer)
WSRPConsumer findByPrimaryKey(long wsrpConsumerId) throws NoSuchConsumerException
NoSuchConsumerException
if it could not be found.wsrpConsumerId
- the primary key of the wsrp consumerNoSuchConsumerException
- if a wsrp consumer with the primary key could not be foundWSRPConsumer fetchByPrimaryKey(long wsrpConsumerId)
null
if it could not be found.wsrpConsumerId
- the primary key of the wsrp consumernull
if a wsrp consumer with the primary key could not be foundjava.util.Map<java.io.Serializable,WSRPConsumer> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<WSRPConsumer>
java.util.List<WSRPConsumer> findAll()
java.util.List<WSRPConsumer> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)java.util.List<WSRPConsumer> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPConsumer> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumer> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WSRPConsumerModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<WSRPConsumer>