@ProviderType
public class WSRPConsumerPortletUtil
extends java.lang.Object
com.liferay.wsrp.service.persistence.impl.WSRPConsumerPortletPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
WSRPConsumerPortletPersistence
,
com.liferay.wsrp.service.persistence.impl.WSRPConsumerPortletPersistenceImpl
Constructor and Description |
---|
WSRPConsumerPortletUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<WSRPConsumerPortlet> wsrpConsumerPortlets)
Caches the wsrp consumer portlets in the entity cache if it is enabled.
|
static void |
cacheResult(WSRPConsumerPortlet wsrpConsumerPortlet)
Caches the wsrp consumer portlet in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(WSRPConsumerPortlet wsrpConsumerPortlet) |
static int |
countAll()
Returns the number of wsrp consumer portlets.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of wsrp consumer portlets where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of wsrp consumer portlets where uuid = ?.
|
static int |
countByW_P(long wsrpConsumerId,
java.lang.String portletHandle)
Returns the number of wsrp consumer portlets where wsrpConsumerId = ? and portletHandle = ?.
|
static int |
countByWsrpConsumerId(long wsrpConsumerId)
Returns the number of wsrp consumer portlets where wsrpConsumerId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static WSRPConsumerPortlet |
create(long wsrpConsumerPortletId)
Creates a new wsrp consumer portlet with the primary key.
|
static WSRPConsumerPortlet |
fetchByPrimaryKey(long wsrpConsumerPortletId)
Returns the wsrp consumer portlet with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,WSRPConsumerPortlet> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<WSRPConsumerPortlet> |
findAll()
Returns all the wsrp consumer portlets.
|
static java.util.List<WSRPConsumerPortlet> |
findAll(int start,
int end)
Returns a range of all the wsrp consumer portlets.
|
static 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.
|
static 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.
|
static WSRPConsumerPortlet |
findByPrimaryKey(long wsrpConsumerPortletId)
Returns the wsrp consumer portlet with the primary key or throws a
NoSuchConsumerPortletException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<WSRPConsumerPortlet> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the wsrp consumer portlets where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<WSRPConsumerPortlet> |
findByUuid(java.lang.String uuid)
Returns all the wsrp consumer portlets where uuid = ?.
|
static java.util.List<WSRPConsumerPortlet> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the wsrp consumer portlets where uuid = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<WSRPConsumerPortlet> |
findByWsrpConsumerId(long wsrpConsumerId)
Returns all the wsrp consumer portlets where wsrpConsumerId = ?.
|
static java.util.List<WSRPConsumerPortlet> |
findByWsrpConsumerId(long wsrpConsumerId,
int start,
int end)
Returns a range of all the wsrp consumer portlets where wsrpConsumerId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<WSRPConsumerPortlet> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<WSRPConsumerPortlet> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<WSRPConsumerPortlet> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static WSRPConsumerPortletPersistence |
getPersistence() |
static WSRPConsumerPortlet |
remove(long wsrpConsumerPortletId)
Removes the wsrp consumer portlet with the primary key from the database.
|
static void |
removeAll()
Removes all the wsrp consumer portlets from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the wsrp consumer portlets where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the wsrp consumer portlets where uuid = ? from the database.
|
static WSRPConsumerPortlet |
removeByW_P(long wsrpConsumerId,
java.lang.String portletHandle)
Removes the wsrp consumer portlet where wsrpConsumerId = ? and portletHandle = ? from the database.
|
static void |
removeByWsrpConsumerId(long wsrpConsumerId)
Removes all the wsrp consumer portlets where wsrpConsumerId = ? from the database.
|
static WSRPConsumerPortlet |
update(WSRPConsumerPortlet wsrpConsumerPortlet) |
static WSRPConsumerPortlet |
update(WSRPConsumerPortlet wsrpConsumerPortlet,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static WSRPConsumerPortlet |
updateImpl(WSRPConsumerPortlet wsrpConsumerPortlet) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(WSRPConsumerPortlet wsrpConsumerPortlet)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<WSRPConsumerPortlet> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<WSRPConsumerPortlet> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<WSRPConsumerPortlet> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WSRPConsumerPortlet> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static WSRPConsumerPortlet update(WSRPConsumerPortlet wsrpConsumerPortlet)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static WSRPConsumerPortlet update(WSRPConsumerPortlet wsrpConsumerPortlet, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<WSRPConsumerPortlet> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.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)public static 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
)public static 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 cachepublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet[] 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 foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<WSRPConsumerPortlet> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet[] 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 foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<WSRPConsumerPortlet> findByWsrpConsumerId(long wsrpConsumerId)
wsrpConsumerId
- the wsrp consumer IDpublic static java.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)public static 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
)public static 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 cachepublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet[] 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 foundpublic static void removeByWsrpConsumerId(long wsrpConsumerId)
wsrpConsumerId
- the wsrp consumer IDpublic static int countByWsrpConsumerId(long wsrpConsumerId)
wsrpConsumerId
- the wsrp consumer IDpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet removeByW_P(long wsrpConsumerId, java.lang.String portletHandle) throws NoSuchConsumerPortletException
wsrpConsumerId
- the wsrp consumer IDportletHandle
- the portlet handleNoSuchConsumerPortletException
public static int countByW_P(long wsrpConsumerId, java.lang.String portletHandle)
wsrpConsumerId
- the wsrp consumer IDportletHandle
- the portlet handlepublic static void cacheResult(WSRPConsumerPortlet wsrpConsumerPortlet)
wsrpConsumerPortlet
- the wsrp consumer portletpublic static void cacheResult(java.util.List<WSRPConsumerPortlet> wsrpConsumerPortlets)
wsrpConsumerPortlets
- the wsrp consumer portletspublic static WSRPConsumerPortlet create(long wsrpConsumerPortletId)
wsrpConsumerPortletId
- the primary key for the new wsrp consumer portletpublic static WSRPConsumerPortlet 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 foundpublic static WSRPConsumerPortlet updateImpl(WSRPConsumerPortlet wsrpConsumerPortlet)
public static 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 foundpublic static WSRPConsumerPortlet 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 foundpublic static java.util.Map<java.io.Serializable,WSRPConsumerPortlet> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<WSRPConsumerPortlet> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static WSRPConsumerPortletPersistence getPersistence()