com.liferay.portal.service.persistence
Interface PasswordPolicyPersistence
- All Superinterfaces:
- BasePersistence
public interface PasswordPolicyPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(java.util.List<PasswordPolicy> passwordPolicies)
|
void |
cacheResult(PasswordPolicy passwordPolicy)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByC_DP(long companyId,
boolean defaultPolicy)
|
int |
countByC_N(long companyId,
java.lang.String name)
|
PasswordPolicy |
create(long passwordPolicyId)
|
PasswordPolicy |
fetchByC_DP(long companyId,
boolean defaultPolicy)
|
PasswordPolicy |
fetchByC_DP(long companyId,
boolean defaultPolicy,
boolean retrieveFromCache)
|
PasswordPolicy |
fetchByC_N(long companyId,
java.lang.String name)
|
PasswordPolicy |
fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
|
PasswordPolicy |
fetchByPrimaryKey(long passwordPolicyId)
|
java.util.List<PasswordPolicy> |
findAll()
|
java.util.List<PasswordPolicy> |
findAll(int start,
int end)
|
java.util.List<PasswordPolicy> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PasswordPolicy |
findByC_DP(long companyId,
boolean defaultPolicy)
|
PasswordPolicy |
findByC_N(long companyId,
java.lang.String name)
|
PasswordPolicy |
findByPrimaryKey(long passwordPolicyId)
|
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)
|
PasswordPolicy |
remove(long passwordPolicyId)
|
PasswordPolicy |
remove(PasswordPolicy passwordPolicy)
|
void |
removeAll()
|
void |
removeByC_DP(long companyId,
boolean defaultPolicy)
|
void |
removeByC_N(long companyId,
java.lang.String name)
|
PasswordPolicy |
update(PasswordPolicy passwordPolicy)
Deprecated. Use update(PasswordPolicy passwordPolicy, boolean merge) . |
PasswordPolicy |
update(PasswordPolicy passwordPolicy,
boolean merge)
Add, update, or merge, the entity. |
PasswordPolicy |
updateImpl(PasswordPolicy passwordPolicy,
boolean merge)
|
cacheResult
void cacheResult(PasswordPolicy passwordPolicy)
cacheResult
void cacheResult(java.util.List<PasswordPolicy> passwordPolicies)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
PasswordPolicy create(long passwordPolicyId)
remove
PasswordPolicy remove(long passwordPolicyId)
throws NoSuchPasswordPolicyException,
com.liferay.portal.SystemException
- Throws:
NoSuchPasswordPolicyException
com.liferay.portal.SystemException
remove
PasswordPolicy remove(PasswordPolicy passwordPolicy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
PasswordPolicy update(PasswordPolicy passwordPolicy)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(PasswordPolicy passwordPolicy, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
PasswordPolicy update(PasswordPolicy passwordPolicy,
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:
passwordPolicy
- 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 passwordPolicy 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
PasswordPolicy updateImpl(PasswordPolicy passwordPolicy,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
PasswordPolicy findByPrimaryKey(long passwordPolicyId)
throws NoSuchPasswordPolicyException,
com.liferay.portal.SystemException
- Throws:
NoSuchPasswordPolicyException
com.liferay.portal.SystemException
fetchByPrimaryKey
PasswordPolicy fetchByPrimaryKey(long passwordPolicyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_DP
PasswordPolicy findByC_DP(long companyId,
boolean defaultPolicy)
throws NoSuchPasswordPolicyException,
com.liferay.portal.SystemException
- Throws:
NoSuchPasswordPolicyException
com.liferay.portal.SystemException
fetchByC_DP
PasswordPolicy fetchByC_DP(long companyId,
boolean defaultPolicy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_DP
PasswordPolicy fetchByC_DP(long companyId,
boolean defaultPolicy,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
PasswordPolicy findByC_N(long companyId,
java.lang.String name)
throws NoSuchPasswordPolicyException,
com.liferay.portal.SystemException
- Throws:
NoSuchPasswordPolicyException
com.liferay.portal.SystemException
fetchByC_N
PasswordPolicy fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_N
PasswordPolicy fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
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
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
java.util.List<PasswordPolicy> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<PasswordPolicy> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<PasswordPolicy> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_DP
void removeByC_DP(long companyId,
boolean defaultPolicy)
throws NoSuchPasswordPolicyException,
com.liferay.portal.SystemException
- Throws:
NoSuchPasswordPolicyException
com.liferay.portal.SystemException
removeByC_N
void removeByC_N(long companyId,
java.lang.String name)
throws NoSuchPasswordPolicyException,
com.liferay.portal.SystemException
- Throws:
NoSuchPasswordPolicyException
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_DP
int countByC_DP(long companyId,
boolean defaultPolicy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N
int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException