@ProviderType public interface WSRPProducerPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<WSRPProducer>
Caching information and settings can be found in portal.properties
com.liferay.wsrp.service.persistence.impl.WSRPProducerPersistenceImpl
,
WSRPProducerUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<WSRPProducer> wsrpProducers)
Caches the wsrp producers in the entity cache if it is enabled.
|
void |
cacheResult(WSRPProducer wsrpProducer)
Caches the wsrp producer in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of wsrp producers.
|
int |
countByCompanyId(long companyId)
Returns the number of wsrp producers where companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of wsrp producers where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of wsrp producers where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of wsrp producers where uuid = ?.
|
WSRPProducer |
create(long wsrpProducerId)
Creates a new wsrp producer with the primary key.
|
WSRPProducer |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the first wsrp producer in the ordered set where companyId = ?.
|
WSRPProducer |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the last wsrp producer in the ordered set where companyId = ?.
|
WSRPProducer |
fetchByPrimaryKey(long wsrpProducerId)
Returns the wsrp producer with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,WSRPProducer> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
WSRPProducer |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the first wsrp producer in the ordered set where uuid = ? and companyId = ?.
|
WSRPProducer |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the last wsrp producer in the ordered set where uuid = ? and companyId = ?.
|
WSRPProducer |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the first wsrp producer in the ordered set where uuid = ?.
|
WSRPProducer |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the wsrp producer where uuid = ? and groupId = ? or returns
null if it could not be found. |
WSRPProducer |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the wsrp producer where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
WSRPProducer |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the last wsrp producer in the ordered set where uuid = ?.
|
java.util.List<WSRPProducer> |
findAll()
Returns all the wsrp producers.
|
java.util.List<WSRPProducer> |
findAll(int start,
int end)
Returns a range of all the wsrp producers.
|
java.util.List<WSRPProducer> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns an ordered range of all the wsrp producers.
|
java.util.List<WSRPProducer> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp producers.
|
WSRPProducer |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the first wsrp producer in the ordered set where companyId = ?.
|
WSRPProducer |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the last wsrp producer in the ordered set where companyId = ?.
|
WSRPProducer[] |
findByCompanyId_PrevAndNext(long wsrpProducerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the wsrp producers before and after the current wsrp producer in the ordered set where companyId = ?.
|
java.util.List<WSRPProducer> |
findByCompanyId(long companyId)
Returns all the wsrp producers where companyId = ?.
|
java.util.List<WSRPProducer> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the wsrp producers where companyId = ?.
|
java.util.List<WSRPProducer> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns an ordered range of all the wsrp producers where companyId = ?.
|
java.util.List<WSRPProducer> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp producers where companyId = ?.
|
WSRPProducer |
findByPrimaryKey(long wsrpProducerId)
Returns the wsrp producer with the primary key or throws a
NoSuchProducerException if it could not be found. |
WSRPProducer |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the first wsrp producer in the ordered set where uuid = ? and companyId = ?.
|
WSRPProducer |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the last wsrp producer in the ordered set where uuid = ? and companyId = ?.
|
WSRPProducer[] |
findByUuid_C_PrevAndNext(long wsrpProducerId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the wsrp producers before and after the current wsrp producer in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<WSRPProducer> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the wsrp producers where uuid = ? and companyId = ?.
|
java.util.List<WSRPProducer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the wsrp producers where uuid = ? and companyId = ?.
|
java.util.List<WSRPProducer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns an ordered range of all the wsrp producers where uuid = ? and companyId = ?.
|
java.util.List<WSRPProducer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp producers where uuid = ? and companyId = ?.
|
WSRPProducer |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the first wsrp producer in the ordered set where uuid = ?.
|
WSRPProducer |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the wsrp producer where uuid = ? and groupId = ? or throws a
NoSuchProducerException if it could not be found. |
WSRPProducer |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the last wsrp producer in the ordered set where uuid = ?.
|
WSRPProducer[] |
findByUuid_PrevAndNext(long wsrpProducerId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns the wsrp producers before and after the current wsrp producer in the ordered set where uuid = ?.
|
java.util.List<WSRPProducer> |
findByUuid(java.lang.String uuid)
Returns all the wsrp producers where uuid = ?.
|
java.util.List<WSRPProducer> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the wsrp producers where uuid = ?.
|
java.util.List<WSRPProducer> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
Returns an ordered range of all the wsrp producers where uuid = ?.
|
java.util.List<WSRPProducer> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp producers where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
WSRPProducer |
remove(long wsrpProducerId)
Removes the wsrp producer with the primary key from the database.
|
void |
removeAll()
Removes all the wsrp producers from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the wsrp producers where companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the wsrp producers where uuid = ? and companyId = ? from the database.
|
WSRPProducer |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the wsrp producer where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the wsrp producers where uuid = ? from the database.
|
WSRPProducer |
updateImpl(WSRPProducer wsrpProducer) |
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<WSRPProducer> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)java.util.List<WSRPProducer> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPProducer> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPProducer findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a matching wsrp producer could not be foundWSRPProducer fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp producer could not be foundWSRPProducer findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a matching wsrp producer could not be foundWSRPProducer fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp producer could not be foundWSRPProducer[] findByUuid_PrevAndNext(long wsrpProducerId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
wsrpProducerId
- the primary key of the current wsrp produceruuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a wsrp producer with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidWSRPProducer findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchProducerException
NoSuchProducerException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchProducerException
- if a matching wsrp producer could not be foundWSRPProducer fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching wsrp producer could not be foundWSRPProducer fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching wsrp producer could not be foundWSRPProducer removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchProducerException
uuid
- the uuidgroupId
- the group IDNoSuchProducerException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<WSRPProducer> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)java.util.List<WSRPProducer> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPProducer> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPProducer findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a matching wsrp producer could not be foundWSRPProducer fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp producer could not be foundWSRPProducer findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a matching wsrp producer could not be foundWSRPProducer fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp producer could not be foundWSRPProducer[] findByUuid_C_PrevAndNext(long wsrpProducerId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
wsrpProducerId
- the primary key of the current wsrp produceruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a wsrp producer 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<WSRPProducer> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)java.util.List<WSRPProducer> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPProducer> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPProducer findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a matching wsrp producer could not be foundWSRPProducer fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp producer could not be foundWSRPProducer findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a matching wsrp producer could not be foundWSRPProducer fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp producer could not be foundWSRPProducer[] findByCompanyId_PrevAndNext(long wsrpProducerId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> orderByComparator) throws NoSuchProducerException
wsrpProducerId
- the primary key of the current wsrp producercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchProducerException
- if a wsrp producer with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDvoid cacheResult(WSRPProducer wsrpProducer)
wsrpProducer
- the wsrp producervoid cacheResult(java.util.List<WSRPProducer> wsrpProducers)
wsrpProducers
- the wsrp producersWSRPProducer create(long wsrpProducerId)
wsrpProducerId
- the primary key for the new wsrp producerWSRPProducer remove(long wsrpProducerId) throws NoSuchProducerException
wsrpProducerId
- the primary key of the wsrp producerNoSuchProducerException
- if a wsrp producer with the primary key could not be foundWSRPProducer updateImpl(WSRPProducer wsrpProducer)
WSRPProducer findByPrimaryKey(long wsrpProducerId) throws NoSuchProducerException
NoSuchProducerException
if it could not be found.wsrpProducerId
- the primary key of the wsrp producerNoSuchProducerException
- if a wsrp producer with the primary key could not be foundWSRPProducer fetchByPrimaryKey(long wsrpProducerId)
null
if it could not be found.wsrpProducerId
- the primary key of the wsrp producernull
if a wsrp producer with the primary key could not be foundjava.util.Map<java.io.Serializable,WSRPProducer> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<WSRPProducer>
java.util.List<WSRPProducer> findAll()
java.util.List<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)java.util.List<WSRPProducer> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPProducer> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPProducer> 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 WSRPProducerModelImpl
. 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 producersend
- the upper bound of the range of wsrp producers (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<WSRPProducer>