com.liferay.portal.service.persistence
Interface PasswordPolicyRelPersistence

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface PasswordPolicyRelPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByP_C_C(long passwordPolicyId, long classNameId, long classPK)
           
 PasswordPolicyRel create(long passwordPolicyRelId)
           
 PasswordPolicyRel fetchByC_C(long classNameId, long classPK)
           
 PasswordPolicyRel fetchByP_C_C(long passwordPolicyId, long classNameId, long classPK)
           
 PasswordPolicyRel fetchByPrimaryKey(long passwordPolicyRelId)
           
 java.util.List<PasswordPolicyRel> findAll()
           
 java.util.List<PasswordPolicyRel> findAll(int start, int end)
           
 java.util.List<PasswordPolicyRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PasswordPolicyRel findByC_C(long classNameId, long classPK)
           
 PasswordPolicyRel findByP_C_C(long passwordPolicyId, long classNameId, long classPK)
           
 PasswordPolicyRel findByPrimaryKey(long passwordPolicyRelId)
           
 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)
           
 PasswordPolicyRel remove(long passwordPolicyRelId)
           
 PasswordPolicyRel remove(PasswordPolicyRel passwordPolicyRel)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByP_C_C(long passwordPolicyId, long classNameId, long classPK)
           
 PasswordPolicyRel update(PasswordPolicyRel passwordPolicyRel)
          Deprecated. Use update(PasswordPolicyRel passwordPolicyRel, boolean merge).
 PasswordPolicyRel update(PasswordPolicyRel passwordPolicyRel, boolean merge)
          Add, update, or merge, the entity.
 PasswordPolicyRel updateImpl(PasswordPolicyRel passwordPolicyRel, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

create

PasswordPolicyRel create(long passwordPolicyRelId)

remove

PasswordPolicyRel remove(long passwordPolicyRelId)
                         throws NoSuchPasswordPolicyRelException,
                                com.liferay.portal.SystemException
Throws:
NoSuchPasswordPolicyRelException
com.liferay.portal.SystemException

remove

PasswordPolicyRel remove(PasswordPolicyRel passwordPolicyRel)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

PasswordPolicyRel update(PasswordPolicyRel passwordPolicyRel)
                         throws com.liferay.portal.SystemException
Deprecated. Use update(PasswordPolicyRel passwordPolicyRel, boolean merge).

Throws:
com.liferay.portal.SystemException

update

PasswordPolicyRel update(PasswordPolicyRel passwordPolicyRel,
                         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:
passwordPolicyRel - the entity to add, update, or merge
merge - 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 passwordPolicyRel 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

PasswordPolicyRel updateImpl(PasswordPolicyRel passwordPolicyRel,
                             boolean merge)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordPolicyRel findByPrimaryKey(long passwordPolicyRelId)
                                   throws NoSuchPasswordPolicyRelException,
                                          com.liferay.portal.SystemException
Throws:
NoSuchPasswordPolicyRelException
com.liferay.portal.SystemException

fetchByPrimaryKey

PasswordPolicyRel fetchByPrimaryKey(long passwordPolicyRelId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordPolicyRel findByC_C(long classNameId,
                                          long classPK)
                            throws NoSuchPasswordPolicyRelException,
                                   com.liferay.portal.SystemException
Throws:
NoSuchPasswordPolicyRelException
com.liferay.portal.SystemException

fetchByC_C

PasswordPolicyRel fetchByC_C(long classNameId,
                             long classPK)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_C_C

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordPolicyRel findByP_C_C(long passwordPolicyId,
                                            long classNameId,
                                            long classPK)
                              throws NoSuchPasswordPolicyRelException,
                                     com.liferay.portal.SystemException
Throws:
NoSuchPasswordPolicyRelException
com.liferay.portal.SystemException

fetchByP_C_C

PasswordPolicyRel fetchByP_C_C(long passwordPolicyId,
                               long classNameId,
                               long classPK)
                               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<PasswordPolicyRel> findAll()
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PasswordPolicyRel> findAll(int start,
                                                        int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PasswordPolicyRel> findAll(int start,
                                                        int end,
                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C

void removeByC_C(long classNameId,
                 long classPK)
                 throws NoSuchPasswordPolicyRelException,
                        com.liferay.portal.SystemException
Throws:
NoSuchPasswordPolicyRelException
com.liferay.portal.SystemException

removeByP_C_C

void removeByP_C_C(long passwordPolicyId,
                   long classNameId,
                   long classPK)
                   throws NoSuchPasswordPolicyRelException,
                          com.liferay.portal.SystemException
Throws:
NoSuchPasswordPolicyRelException
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByC_C(long classNameId,
                             long classPK)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByP_C_C

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByP_C_C(long passwordPolicyId,
                               long classNameId,
                               long classPK)
                 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