com.liferay.wsrp.service.persistence
Class WSRPConfiguredProducerUtil
java.lang.Object
com.liferay.wsrp.service.persistence.WSRPConfiguredProducerUtil
public class WSRPConfiguredProducerUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByP_N(java.lang.String portalId,
java.lang.String namespace)
|
static WSRPConfiguredProducer |
create(long configuredProducerId)
|
static WSRPConfiguredProducer |
fetchByPrimaryKey(long configuredProducerId)
|
static java.util.List<WSRPConfiguredProducer> |
findAll()
|
static java.util.List<WSRPConfiguredProducer> |
findAll(int start,
int end)
|
static java.util.List<WSRPConfiguredProducer> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static WSRPConfiguredProducer |
findByP_N_First(java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static WSRPConfiguredProducer |
findByP_N_Last(java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static WSRPConfiguredProducer[] |
findByP_N_PrevAndNext(long configuredProducerId,
java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<WSRPConfiguredProducer> |
findByP_N(java.lang.String portalId,
java.lang.String namespace)
|
static java.util.List<WSRPConfiguredProducer> |
findByP_N(java.lang.String portalId,
java.lang.String namespace,
int start,
int end)
|
static java.util.List<WSRPConfiguredProducer> |
findByP_N(java.lang.String portalId,
java.lang.String namespace,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static WSRPConfiguredProducer |
findByPrimaryKey(long configuredProducerId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static WSRPConfiguredProducerPersistence |
getPersistence()
|
static WSRPConfiguredProducer |
remove(long configuredProducerId)
|
static WSRPConfiguredProducer |
remove(WSRPConfiguredProducer wsrpConfiguredProducer)
|
static void |
removeAll()
|
static void |
removeByP_N(java.lang.String portalId,
java.lang.String namespace)
|
void |
setPersistence(WSRPConfiguredProducerPersistence persistence)
|
static WSRPConfiguredProducer |
update(WSRPConfiguredProducer wsrpConfiguredProducer)
Deprecated. Use update(WSRPConfiguredProducer wsrpConfiguredProducer, boolean merge) . |
static WSRPConfiguredProducer |
update(WSRPConfiguredProducer wsrpConfiguredProducer,
boolean merge)
Add, update, or merge, the entity. |
static WSRPConfiguredProducer |
updateImpl(WSRPConfiguredProducer wsrpConfiguredProducer,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSRPConfiguredProducerUtil
public WSRPConfiguredProducerUtil()
create
public static WSRPConfiguredProducer create(long configuredProducerId)
remove
public static WSRPConfiguredProducer remove(long configuredProducerId)
throws com.liferay.portal.SystemException,
NoSuchConfiguredProducerException
- Throws:
com.liferay.portal.SystemException
NoSuchConfiguredProducerException
remove
public static WSRPConfiguredProducer remove(WSRPConfiguredProducer wsrpConfiguredProducer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static WSRPConfiguredProducer update(WSRPConfiguredProducer wsrpConfiguredProducer)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(WSRPConfiguredProducer wsrpConfiguredProducer, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static WSRPConfiguredProducer update(WSRPConfiguredProducer wsrpConfiguredProducer,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
wsrpConfiguredProducer
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when wsrpConfiguredProducer is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
public static WSRPConfiguredProducer updateImpl(WSRPConfiguredProducer wsrpConfiguredProducer,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static WSRPConfiguredProducer findByPrimaryKey(long configuredProducerId)
throws com.liferay.portal.SystemException,
NoSuchConfiguredProducerException
- Throws:
com.liferay.portal.SystemException
NoSuchConfiguredProducerException
fetchByPrimaryKey
public static WSRPConfiguredProducer fetchByPrimaryKey(long configuredProducerId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_N
public static java.util.List<WSRPConfiguredProducer> findByP_N(java.lang.String portalId,
java.lang.String namespace)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_N
public static java.util.List<WSRPConfiguredProducer> findByP_N(java.lang.String portalId,
java.lang.String namespace,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_N
public static java.util.List<WSRPConfiguredProducer> findByP_N(java.lang.String portalId,
java.lang.String namespace,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_N_First
public static WSRPConfiguredProducer findByP_N_First(java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchConfiguredProducerException
- Throws:
com.liferay.portal.SystemException
NoSuchConfiguredProducerException
findByP_N_Last
public static WSRPConfiguredProducer findByP_N_Last(java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchConfiguredProducerException
- Throws:
com.liferay.portal.SystemException
NoSuchConfiguredProducerException
findByP_N_PrevAndNext
public static WSRPConfiguredProducer[] findByP_N_PrevAndNext(long configuredProducerId,
java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchConfiguredProducerException
- Throws:
com.liferay.portal.SystemException
NoSuchConfiguredProducerException
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<WSRPConfiguredProducer> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<WSRPConfiguredProducer> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<WSRPConfiguredProducer> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByP_N
public static void removeByP_N(java.lang.String portalId,
java.lang.String namespace)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_N
public static int countByP_N(java.lang.String portalId,
java.lang.String namespace)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static WSRPConfiguredProducerPersistence getPersistence()
setPersistence
public void setPersistence(WSRPConfiguredProducerPersistence persistence)