com.liferay.wsrp.service.persistence
Interface WSRPConsumerRegistrationPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface WSRPConsumerRegistrationPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByProducerKey(java.lang.String producerKey)
|
int |
countByR_P(java.lang.String registrationHandle,
java.lang.String producerKey)
|
WSRPConsumerRegistration |
create(long consumerRegistrationId)
|
WSRPConsumerRegistration |
fetchByPrimaryKey(long consumerRegistrationId)
|
WSRPConsumerRegistration |
fetchByR_P(java.lang.String registrationHandle,
java.lang.String producerKey)
|
java.util.List<WSRPConsumerRegistration> |
findAll()
|
java.util.List<WSRPConsumerRegistration> |
findAll(int start,
int end)
|
java.util.List<WSRPConsumerRegistration> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
WSRPConsumerRegistration |
findByPrimaryKey(long consumerRegistrationId)
|
WSRPConsumerRegistration |
findByProducerKey_First(java.lang.String producerKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
WSRPConsumerRegistration |
findByProducerKey_Last(java.lang.String producerKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
WSRPConsumerRegistration[] |
findByProducerKey_PrevAndNext(long consumerRegistrationId,
java.lang.String producerKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<WSRPConsumerRegistration> |
findByProducerKey(java.lang.String producerKey)
|
java.util.List<WSRPConsumerRegistration> |
findByProducerKey(java.lang.String producerKey,
int start,
int end)
|
java.util.List<WSRPConsumerRegistration> |
findByProducerKey(java.lang.String producerKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
WSRPConsumerRegistration |
findByR_P(java.lang.String registrationHandle,
java.lang.String producerKey)
|
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)
|
WSRPConsumerRegistration |
remove(long consumerRegistrationId)
|
WSRPConsumerRegistration |
remove(WSRPConsumerRegistration wsrpConsumerRegistration)
|
void |
removeAll()
|
void |
removeByProducerKey(java.lang.String producerKey)
|
void |
removeByR_P(java.lang.String registrationHandle,
java.lang.String producerKey)
|
WSRPConsumerRegistration |
update(WSRPConsumerRegistration wsrpConsumerRegistration)
Deprecated. Use update(WSRPConsumerRegistration wsrpConsumerRegistration, boolean merge) . |
WSRPConsumerRegistration |
update(WSRPConsumerRegistration wsrpConsumerRegistration,
boolean merge)
Add, update, or merge, the entity. |
WSRPConsumerRegistration |
updateImpl(WSRPConsumerRegistration wsrpConsumerRegistration,
boolean merge)
|
create
WSRPConsumerRegistration create(long consumerRegistrationId)
remove
WSRPConsumerRegistration remove(long consumerRegistrationId)
throws com.liferay.portal.SystemException,
NoSuchConsumerRegistrationException
- Throws:
com.liferay.portal.SystemException
NoSuchConsumerRegistrationException
remove
WSRPConsumerRegistration remove(WSRPConsumerRegistration wsrpConsumerRegistration)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
WSRPConsumerRegistration update(WSRPConsumerRegistration wsrpConsumerRegistration)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(WSRPConsumerRegistration wsrpConsumerRegistration, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
WSRPConsumerRegistration update(WSRPConsumerRegistration wsrpConsumerRegistration,
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:
wsrpConsumerRegistration
- 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 wsrpConsumerRegistration 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
WSRPConsumerRegistration updateImpl(WSRPConsumerRegistration wsrpConsumerRegistration,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
WSRPConsumerRegistration findByPrimaryKey(long consumerRegistrationId)
throws com.liferay.portal.SystemException,
NoSuchConsumerRegistrationException
- Throws:
com.liferay.portal.SystemException
NoSuchConsumerRegistrationException
fetchByPrimaryKey
WSRPConsumerRegistration fetchByPrimaryKey(long consumerRegistrationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProducerKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WSRPConsumerRegistration> findByProducerKey(java.lang.String producerKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProducerKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WSRPConsumerRegistration> findByProducerKey(java.lang.String producerKey,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProducerKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WSRPConsumerRegistration> findByProducerKey(java.lang.String producerKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProducerKey_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
WSRPConsumerRegistration findByProducerKey_First(java.lang.String producerKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchConsumerRegistrationException
- Throws:
com.liferay.portal.SystemException
NoSuchConsumerRegistrationException
findByProducerKey_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
WSRPConsumerRegistration findByProducerKey_Last(java.lang.String producerKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchConsumerRegistrationException
- Throws:
com.liferay.portal.SystemException
NoSuchConsumerRegistrationException
findByProducerKey_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
WSRPConsumerRegistration[] findByProducerKey_PrevAndNext(long consumerRegistrationId,
java.lang.String producerKey,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchConsumerRegistrationException
- Throws:
com.liferay.portal.SystemException
NoSuchConsumerRegistrationException
findByR_P
@Transactional(propagation=SUPPORTS,
readOnly=true)
WSRPConsumerRegistration findByR_P(java.lang.String registrationHandle,
java.lang.String producerKey)
throws com.liferay.portal.SystemException,
NoSuchConsumerRegistrationException
- Throws:
com.liferay.portal.SystemException
NoSuchConsumerRegistrationException
fetchByR_P
WSRPConsumerRegistration fetchByR_P(java.lang.String registrationHandle,
java.lang.String producerKey)
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)
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<WSRPConsumerRegistration> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WSRPConsumerRegistration> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WSRPConsumerRegistration> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByProducerKey
void removeByProducerKey(java.lang.String producerKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByR_P
void removeByR_P(java.lang.String registrationHandle,
java.lang.String producerKey)
throws com.liferay.portal.SystemException,
NoSuchConsumerRegistrationException
- Throws:
com.liferay.portal.SystemException
NoSuchConsumerRegistrationException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByProducerKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByProducerKey(java.lang.String producerKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByR_P
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByR_P(java.lang.String registrationHandle,
java.lang.String producerKey)
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