com.liferay.wsrp.service.persistence
Interface WSRPConfiguredProducerPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface WSRPConfiguredProducerPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByP_N(java.lang.String portalId,
java.lang.String namespace)
|
WSRPConfiguredProducer |
create(long configuredProducerId)
|
WSRPConfiguredProducer |
fetchByPrimaryKey(long configuredProducerId)
|
java.util.List<WSRPConfiguredProducer> |
findAll()
|
java.util.List<WSRPConfiguredProducer> |
findAll(int start,
int end)
|
java.util.List<WSRPConfiguredProducer> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
WSRPConfiguredProducer |
findByP_N_First(java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
WSRPConfiguredProducer |
findByP_N_Last(java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
WSRPConfiguredProducer[] |
findByP_N_PrevAndNext(long configuredProducerId,
java.lang.String portalId,
java.lang.String namespace,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<WSRPConfiguredProducer> |
findByP_N(java.lang.String portalId,
java.lang.String namespace)
|
java.util.List<WSRPConfiguredProducer> |
findByP_N(java.lang.String portalId,
java.lang.String namespace,
int start,
int end)
|
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)
|
WSRPConfiguredProducer |
findByPrimaryKey(long configuredProducerId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
WSRPConfiguredProducer |
remove(long configuredProducerId)
|
WSRPConfiguredProducer |
remove(WSRPConfiguredProducer wsrpConfiguredProducer)
|
void |
removeAll()
|
void |
removeByP_N(java.lang.String portalId,
java.lang.String namespace)
|
WSRPConfiguredProducer |
update(WSRPConfiguredProducer wsrpConfiguredProducer)
Deprecated. Use update(WSRPConfiguredProducer wsrpConfiguredProducer, boolean merge) . |
WSRPConfiguredProducer |
update(WSRPConfiguredProducer wsrpConfiguredProducer,
boolean merge)
Add, update, or merge, the entity. |
WSRPConfiguredProducer |
updateImpl(WSRPConfiguredProducer wsrpConfiguredProducer,
boolean merge)
|
create
WSRPConfiguredProducer create(long configuredProducerId)
remove
WSRPConfiguredProducer remove(long configuredProducerId)
throws com.liferay.portal.SystemException,
NoSuchConfiguredProducerException
- Throws:
com.liferay.portal.SystemException
NoSuchConfiguredProducerException
remove
WSRPConfiguredProducer remove(WSRPConfiguredProducer wsrpConfiguredProducer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
WSRPConfiguredProducer update(WSRPConfiguredProducer wsrpConfiguredProducer)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(WSRPConfiguredProducer wsrpConfiguredProducer, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
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
WSRPConfiguredProducer updateImpl(WSRPConfiguredProducer wsrpConfiguredProducer,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
WSRPConfiguredProducer findByPrimaryKey(long configuredProducerId)
throws com.liferay.portal.SystemException,
NoSuchConfiguredProducerException
- Throws:
com.liferay.portal.SystemException
NoSuchConfiguredProducerException
fetchByPrimaryKey
WSRPConfiguredProducer fetchByPrimaryKey(long configuredProducerId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_N
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WSRPConfiguredProducer> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WSRPConfiguredProducer> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
void removeByP_N(java.lang.String portalId,
java.lang.String namespace)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_N
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByP_N(java.lang.String portalId,
java.lang.String namespace)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException