@ProviderType public interface WSRPConsumerPortletPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<WSRPConsumerPortlet>
Caching information and settings can be found in portal.properties
com.liferay.wsrp.service.persistence.impl.WSRPConsumerPortletPersistenceImpl
,
WSRPConsumerPortletUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<WSRPConsumerPortlet> wsrpConsumerPortlets)
Caches the wsrp consumer portlets in the entity cache if it is enabled.
|
void |
cacheResult(WSRPConsumerPortlet wsrpConsumerPortlet)
Caches the wsrp consumer portlet in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of wsrp consumer portlets.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of wsrp consumer portlets where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of wsrp consumer portlets where uuid = ?.
|
int |
countByW_P(long wsrpConsumerId,
java.lang.String portletHandle)
Returns the number of wsrp consumer portlets where wsrpConsumerId = ? and portletHandle = ?.
|
int |
countByWsrpConsumerId(long wsrpConsumerId)
Returns the number of wsrp consumer portlets where wsrpConsumerId = ?.
|
WSRPConsumerPortlet |
create(long wsrpConsumerPortletId)
Creates a new wsrp consumer portlet with the primary key.
|
WSRPConsumerPortlet |
fetchByPrimaryKey(long wsrpConsumerPortletId)
Returns the wsrp consumer portlet with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,WSRPConsumerPortlet> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
WSRPConsumerPortlet |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the first wsrp consumer portlet in the ordered set where uuid = ? and companyId = ?.
|
WSRPConsumerPortlet |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the last wsrp consumer portlet in the ordered set where uuid = ? and companyId = ?.
|
WSRPConsumerPortlet |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the first wsrp consumer portlet in the ordered set where uuid = ?.
|
WSRPConsumerPortlet |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the last wsrp consumer portlet in the ordered set where uuid = ?.
|
WSRPConsumerPortlet |
fetchByW_P(long wsrpConsumerId,
java.lang.String portletHandle)
Returns the wsrp consumer portlet where wsrpConsumerId = ? and portletHandle = ? or returns
null if it could not be found. |
WSRPConsumerPortlet |
fetchByW_P(long wsrpConsumerId,
java.lang.String portletHandle,
boolean retrieveFromCache)
Returns the wsrp consumer portlet where wsrpConsumerId = ? and portletHandle = ? or returns
null if it could not be found, optionally using the finder cache. |
WSRPConsumerPortlet |
fetchByWsrpConsumerId_First(long wsrpConsumerId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the first wsrp consumer portlet in the ordered set where wsrpConsumerId = ?.
|
WSRPConsumerPortlet |
fetchByWsrpConsumerId_Last(long wsrpConsumerId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the last wsrp consumer portlet in the ordered set where wsrpConsumerId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findAll()
Returns all the wsrp consumer portlets.
|
java.util.List<WSRPConsumerPortlet> |
findAll(int start,
int end)
Returns a range of all the wsrp consumer portlets.
|
java.util.List<WSRPConsumerPortlet> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns an ordered range of all the wsrp consumer portlets.
|
java.util.List<WSRPConsumerPortlet> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp consumer portlets.
|
WSRPConsumerPortlet |
findByPrimaryKey(long wsrpConsumerPortletId)
Returns the wsrp consumer portlet with the primary key or throws a
NoSuchConsumerPortletException if it could not be found. |
WSRPConsumerPortlet |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the first wsrp consumer portlet in the ordered set where uuid = ? and companyId = ?.
|
WSRPConsumerPortlet |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the last wsrp consumer portlet in the ordered set where uuid = ? and companyId = ?.
|
WSRPConsumerPortlet[] |
findByUuid_C_PrevAndNext(long wsrpConsumerPortletId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the wsrp consumer portlets before and after the current wsrp consumer portlet in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the wsrp consumer portlets where uuid = ? and companyId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the wsrp consumer portlets where uuid = ? and companyId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns an ordered range of all the wsrp consumer portlets where uuid = ? and companyId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp consumer portlets where uuid = ? and companyId = ?.
|
WSRPConsumerPortlet |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the first wsrp consumer portlet in the ordered set where uuid = ?.
|
WSRPConsumerPortlet |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the last wsrp consumer portlet in the ordered set where uuid = ?.
|
WSRPConsumerPortlet[] |
findByUuid_PrevAndNext(long wsrpConsumerPortletId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the wsrp consumer portlets before and after the current wsrp consumer portlet in the ordered set where uuid = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByUuid(java.lang.String uuid)
Returns all the wsrp consumer portlets where uuid = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the wsrp consumer portlets where uuid = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns an ordered range of all the wsrp consumer portlets where uuid = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp consumer portlets where uuid = ?.
|
WSRPConsumerPortlet |
findByW_P(long wsrpConsumerId,
java.lang.String portletHandle)
Returns the wsrp consumer portlet where wsrpConsumerId = ? and portletHandle = ? or throws a
NoSuchConsumerPortletException if it could not be found. |
WSRPConsumerPortlet |
findByWsrpConsumerId_First(long wsrpConsumerId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the first wsrp consumer portlet in the ordered set where wsrpConsumerId = ?.
|
WSRPConsumerPortlet |
findByWsrpConsumerId_Last(long wsrpConsumerId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the last wsrp consumer portlet in the ordered set where wsrpConsumerId = ?.
|
WSRPConsumerPortlet[] |
findByWsrpConsumerId_PrevAndNext(long wsrpConsumerPortletId,
long wsrpConsumerId,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns the wsrp consumer portlets before and after the current wsrp consumer portlet in the ordered set where wsrpConsumerId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByWsrpConsumerId(long wsrpConsumerId)
Returns all the wsrp consumer portlets where wsrpConsumerId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByWsrpConsumerId(long wsrpConsumerId,
int start,
int end)
Returns a range of all the wsrp consumer portlets where wsrpConsumerId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByWsrpConsumerId(long wsrpConsumerId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
Returns an ordered range of all the wsrp consumer portlets where wsrpConsumerId = ?.
|
java.util.List<WSRPConsumerPortlet> |
findByWsrpConsumerId(long wsrpConsumerId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the wsrp consumer portlets where wsrpConsumerId = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
WSRPConsumerPortlet |
remove(long wsrpConsumerPortletId)
Removes the wsrp consumer portlet with the primary key from the database.
|
void |
removeAll()
Removes all the wsrp consumer portlets from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the wsrp consumer portlets where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the wsrp consumer portlets where uuid = ? from the database.
|
WSRPConsumerPortlet |
removeByW_P(long wsrpConsumerId,
java.lang.String portletHandle)
Removes the wsrp consumer portlet where wsrpConsumerId = ? and portletHandle = ? from the database.
|
void |
removeByWsrpConsumerId(long wsrpConsumerId)
Removes all the wsrp consumer portlets where wsrpConsumerId = ? from the database.
|
WSRPConsumerPortlet |
updateImpl(WSRPConsumerPortlet wsrpConsumerPortlet) |
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<WSRPConsumerPortlet> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)java.util.List<WSRPConsumerPortlet> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPConsumerPortlet> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPConsumerPortlet findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet[] findByUuid_PrevAndNext(long wsrpConsumerPortletId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
wsrpConsumerPortletId
- the primary key of the current wsrp consumer portletuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a wsrp consumer portlet 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<WSRPConsumerPortlet> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)java.util.List<WSRPConsumerPortlet> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPConsumerPortlet> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPConsumerPortlet findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet[] findByUuid_C_PrevAndNext(long wsrpConsumerPortletId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
wsrpConsumerPortletId
- the primary key of the current wsrp consumer portletuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a wsrp consumer portlet 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<WSRPConsumerPortlet> findByWsrpConsumerId(long wsrpConsumerId)
wsrpConsumerId
- the wsrp consumer IDjava.util.List<WSRPConsumerPortlet> findByWsrpConsumerId(long wsrpConsumerId, 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 WSRPConsumerPortletModelImpl
. 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.
wsrpConsumerId
- the wsrp consumer IDstart
- the lower bound of the range of wsrp consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)java.util.List<WSRPConsumerPortlet> findByWsrpConsumerId(long wsrpConsumerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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.
wsrpConsumerId
- the wsrp consumer IDstart
- the lower bound of the range of wsrp consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPConsumerPortlet> findByWsrpConsumerId(long wsrpConsumerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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.
wsrpConsumerId
- the wsrp consumer IDstart
- the lower bound of the range of wsrp consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheWSRPConsumerPortlet findByWsrpConsumerId_First(long wsrpConsumerId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
wsrpConsumerId
- the wsrp consumer IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet fetchByWsrpConsumerId_First(long wsrpConsumerId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
wsrpConsumerId
- the wsrp consumer IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet findByWsrpConsumerId_Last(long wsrpConsumerId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
wsrpConsumerId
- the wsrp consumer IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet fetchByWsrpConsumerId_Last(long wsrpConsumerId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
wsrpConsumerId
- the wsrp consumer IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet[] findByWsrpConsumerId_PrevAndNext(long wsrpConsumerPortletId, long wsrpConsumerId, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) throws NoSuchConsumerPortletException
wsrpConsumerPortletId
- the primary key of the current wsrp consumer portletwsrpConsumerId
- the wsrp consumer IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerPortletException
- if a wsrp consumer portlet with the primary key could not be foundvoid removeByWsrpConsumerId(long wsrpConsumerId)
wsrpConsumerId
- the wsrp consumer IDint countByWsrpConsumerId(long wsrpConsumerId)
wsrpConsumerId
- the wsrp consumer IDWSRPConsumerPortlet findByW_P(long wsrpConsumerId, java.lang.String portletHandle) throws NoSuchConsumerPortletException
NoSuchConsumerPortletException
if it could not be found.wsrpConsumerId
- the wsrp consumer IDportletHandle
- the portlet handleNoSuchConsumerPortletException
- if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet fetchByW_P(long wsrpConsumerId, java.lang.String portletHandle)
null
if it could not be found. Uses the finder cache.wsrpConsumerId
- the wsrp consumer IDportletHandle
- the portlet handlenull
if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet fetchByW_P(long wsrpConsumerId, java.lang.String portletHandle, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.wsrpConsumerId
- the wsrp consumer IDportletHandle
- the portlet handleretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching wsrp consumer portlet could not be foundWSRPConsumerPortlet removeByW_P(long wsrpConsumerId, java.lang.String portletHandle) throws NoSuchConsumerPortletException
wsrpConsumerId
- the wsrp consumer IDportletHandle
- the portlet handleNoSuchConsumerPortletException
int countByW_P(long wsrpConsumerId, java.lang.String portletHandle)
wsrpConsumerId
- the wsrp consumer IDportletHandle
- the portlet handlevoid cacheResult(WSRPConsumerPortlet wsrpConsumerPortlet)
wsrpConsumerPortlet
- the wsrp consumer portletvoid cacheResult(java.util.List<WSRPConsumerPortlet> wsrpConsumerPortlets)
wsrpConsumerPortlets
- the wsrp consumer portletsWSRPConsumerPortlet create(long wsrpConsumerPortletId)
wsrpConsumerPortletId
- the primary key for the new wsrp consumer portletWSRPConsumerPortlet remove(long wsrpConsumerPortletId) throws NoSuchConsumerPortletException
wsrpConsumerPortletId
- the primary key of the wsrp consumer portletNoSuchConsumerPortletException
- if a wsrp consumer portlet with the primary key could not be foundWSRPConsumerPortlet updateImpl(WSRPConsumerPortlet wsrpConsumerPortlet)
WSRPConsumerPortlet findByPrimaryKey(long wsrpConsumerPortletId) throws NoSuchConsumerPortletException
NoSuchConsumerPortletException
if it could not be found.wsrpConsumerPortletId
- the primary key of the wsrp consumer portletNoSuchConsumerPortletException
- if a wsrp consumer portlet with the primary key could not be foundWSRPConsumerPortlet fetchByPrimaryKey(long wsrpConsumerPortletId)
null
if it could not be found.wsrpConsumerPortletId
- the primary key of the wsrp consumer portletnull
if a wsrp consumer portlet with the primary key could not be foundjava.util.Map<java.io.Serializable,WSRPConsumerPortlet> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<WSRPConsumerPortlet>
java.util.List<WSRPConsumerPortlet> findAll()
java.util.List<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)java.util.List<WSRPConsumerPortlet> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WSRPConsumerPortlet> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> 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 WSRPConsumerPortletModelImpl
. 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 consumer portletsend
- the upper bound of the range of wsrp consumer portlets (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<WSRPConsumerPortlet>