@ProviderType public interface PasswordPolicyPersistence extends BasePersistence<PasswordPolicy>
Caching information and settings can be found in portal.properties
PasswordPolicyUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<PasswordPolicy> passwordPolicies)
Caches the password policies in the entity cache if it is enabled.
|
void |
cacheResult(PasswordPolicy passwordPolicy)
Caches the password policy in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of password policies.
|
int |
countByC_DP(long companyId,
boolean defaultPolicy)
Returns the number of password policies where companyId = ? and defaultPolicy = ?.
|
int |
countByC_N(long companyId,
String name)
Returns the number of password policies where companyId = ? and name = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of password policies where companyId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of password policies where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of password policies where uuid = ?.
|
PasswordPolicy |
create(long passwordPolicyId)
Creates a new password policy with the primary key.
|
PasswordPolicy |
fetchByC_DP(long companyId,
boolean defaultPolicy)
Returns the password policy where companyId = ? and defaultPolicy = ? or returns
null if it could not be found. |
PasswordPolicy |
fetchByC_DP(long companyId,
boolean defaultPolicy,
boolean retrieveFromCache)
Returns the password policy where companyId = ? and defaultPolicy = ? or returns
null if it could not be found, optionally using the finder cache. |
PasswordPolicy |
fetchByC_N(long companyId,
String name)
Returns the password policy where companyId = ? and name = ? or returns
null if it could not be found. |
PasswordPolicy |
fetchByC_N(long companyId,
String name,
boolean retrieveFromCache)
Returns the password policy where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
PasswordPolicy |
fetchByCompanyId_First(long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where companyId = ?.
|
PasswordPolicy |
fetchByCompanyId_Last(long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where companyId = ?.
|
PasswordPolicy |
fetchByPrimaryKey(long passwordPolicyId)
Returns the password policy with the primary key or returns
null if it could not be found. |
PasswordPolicy |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where uuid = ? and companyId = ?.
|
PasswordPolicy |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where uuid = ? and companyId = ?.
|
PasswordPolicy |
fetchByUuid_First(String uuid,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where uuid = ?.
|
PasswordPolicy |
fetchByUuid_Last(String uuid,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where uuid = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of password policies that the user has permission to view where companyId = ?.
|
int |
filterCountByUuid_C(String uuid,
long companyId)
Returns the number of password policies that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(String uuid)
Returns the number of password policies that the user has permission to view where uuid = ?.
|
PasswordPolicy[] |
filterFindByCompanyId_PrevAndNext(long passwordPolicyId,
long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where companyId = ?.
|
List<PasswordPolicy> |
filterFindByCompanyId(long companyId)
Returns all the password policies that the user has permission to view where companyId = ?.
|
List<PasswordPolicy> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the password policies that the user has permission to view where companyId = ?.
|
List<PasswordPolicy> |
filterFindByCompanyId(long companyId,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns an ordered range of all the password policies that the user has permissions to view where companyId = ?.
|
PasswordPolicy[] |
filterFindByUuid_C_PrevAndNext(long passwordPolicyId,
String uuid,
long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where uuid = ? and companyId = ?.
|
List<PasswordPolicy> |
filterFindByUuid_C(String uuid,
long companyId)
Returns all the password policies that the user has permission to view where uuid = ? and companyId = ?.
|
List<PasswordPolicy> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the password policies that the user has permission to view where uuid = ? and companyId = ?.
|
List<PasswordPolicy> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns an ordered range of all the password policies that the user has permissions to view where uuid = ? and companyId = ?.
|
PasswordPolicy[] |
filterFindByUuid_PrevAndNext(long passwordPolicyId,
String uuid,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where uuid = ?.
|
List<PasswordPolicy> |
filterFindByUuid(String uuid)
Returns all the password policies that the user has permission to view where uuid = ?.
|
List<PasswordPolicy> |
filterFindByUuid(String uuid,
int start,
int end)
Returns a range of all the password policies that the user has permission to view where uuid = ?.
|
List<PasswordPolicy> |
filterFindByUuid(String uuid,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns an ordered range of all the password policies that the user has permissions to view where uuid = ?.
|
List<PasswordPolicy> |
findAll()
Returns all the password policies.
|
List<PasswordPolicy> |
findAll(int start,
int end)
Returns a range of all the password policies.
|
List<PasswordPolicy> |
findAll(int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns an ordered range of all the password policies.
|
List<PasswordPolicy> |
findAll(int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the password policies.
|
PasswordPolicy |
findByC_DP(long companyId,
boolean defaultPolicy)
Returns the password policy where companyId = ? and defaultPolicy = ? or throws a
NoSuchPasswordPolicyException if it could not be found. |
PasswordPolicy |
findByC_N(long companyId,
String name)
Returns the password policy where companyId = ? and name = ? or throws a
NoSuchPasswordPolicyException if it could not be found. |
PasswordPolicy |
findByCompanyId_First(long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where companyId = ?.
|
PasswordPolicy |
findByCompanyId_Last(long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where companyId = ?.
|
PasswordPolicy[] |
findByCompanyId_PrevAndNext(long passwordPolicyId,
long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the password policies before and after the current password policy in the ordered set where companyId = ?.
|
List<PasswordPolicy> |
findByCompanyId(long companyId)
Returns all the password policies where companyId = ?.
|
List<PasswordPolicy> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the password policies where companyId = ?.
|
List<PasswordPolicy> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns an ordered range of all the password policies where companyId = ?.
|
List<PasswordPolicy> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the password policies where companyId = ?.
|
PasswordPolicy |
findByPrimaryKey(long passwordPolicyId)
Returns the password policy with the primary key or throws a
NoSuchPasswordPolicyException if it could not be found. |
PasswordPolicy |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where uuid = ? and companyId = ?.
|
PasswordPolicy |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where uuid = ? and companyId = ?.
|
PasswordPolicy[] |
findByUuid_C_PrevAndNext(long passwordPolicyId,
String uuid,
long companyId,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the password policies before and after the current password policy in the ordered set where uuid = ? and companyId = ?.
|
List<PasswordPolicy> |
findByUuid_C(String uuid,
long companyId)
Returns all the password policies where uuid = ? and companyId = ?.
|
List<PasswordPolicy> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the password policies where uuid = ? and companyId = ?.
|
List<PasswordPolicy> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns an ordered range of all the password policies where uuid = ? and companyId = ?.
|
List<PasswordPolicy> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the password policies where uuid = ? and companyId = ?.
|
PasswordPolicy |
findByUuid_First(String uuid,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where uuid = ?.
|
PasswordPolicy |
findByUuid_Last(String uuid,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where uuid = ?.
|
PasswordPolicy[] |
findByUuid_PrevAndNext(long passwordPolicyId,
String uuid,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns the password policies before and after the current password policy in the ordered set where uuid = ?.
|
List<PasswordPolicy> |
findByUuid(String uuid)
Returns all the password policies where uuid = ?.
|
List<PasswordPolicy> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the password policies where uuid = ?.
|
List<PasswordPolicy> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator)
Returns an ordered range of all the password policies where uuid = ?.
|
List<PasswordPolicy> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<PasswordPolicy> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the password policies where uuid = ?.
|
PasswordPolicy |
remove(long passwordPolicyId)
Removes the password policy with the primary key from the database.
|
void |
removeAll()
Removes all the password policies from the database.
|
PasswordPolicy |
removeByC_DP(long companyId,
boolean defaultPolicy)
Removes the password policy where companyId = ? and defaultPolicy = ? from the database.
|
PasswordPolicy |
removeByC_N(long companyId,
String name)
Removes the password policy where companyId = ? and name = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the password policies where companyId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the password policies where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the password policies where uuid = ? from the database.
|
PasswordPolicy |
updateImpl(PasswordPolicy passwordPolicy) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<PasswordPolicy> findByUuid(String uuid)
uuid
- the uuidList<PasswordPolicy> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)List<PasswordPolicy> findByUuid(String uuid, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<PasswordPolicy> findByUuid(String uuid, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachePasswordPolicy findByUuid_First(String uuid, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a matching password policy could not be foundPasswordPolicy fetchByUuid_First(String uuid, OrderByComparator<PasswordPolicy> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching password policy could not be foundPasswordPolicy findByUuid_Last(String uuid, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a matching password policy could not be foundPasswordPolicy fetchByUuid_Last(String uuid, OrderByComparator<PasswordPolicy> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching password policy could not be foundPasswordPolicy[] findByUuid_PrevAndNext(long passwordPolicyId, String uuid, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
passwordPolicyId
- the primary key of the current password policyuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a password policy with the primary key could not be foundList<PasswordPolicy> filterFindByUuid(String uuid)
uuid
- the uuidList<PasswordPolicy> filterFindByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)List<PasswordPolicy> filterFindByUuid(String uuid, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)PasswordPolicy[] filterFindByUuid_PrevAndNext(long passwordPolicyId, String uuid, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
passwordPolicyId
- the primary key of the current password policyuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a password policy with the primary key could not be foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidint filterCountByUuid(String uuid)
uuid
- the uuidList<PasswordPolicy> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<PasswordPolicy> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)List<PasswordPolicy> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<PasswordPolicy> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachePasswordPolicy findByUuid_C_First(String uuid, long companyId, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a matching password policy could not be foundPasswordPolicy fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<PasswordPolicy> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching password policy could not be foundPasswordPolicy findByUuid_C_Last(String uuid, long companyId, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a matching password policy could not be foundPasswordPolicy fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<PasswordPolicy> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching password policy could not be foundPasswordPolicy[] findByUuid_C_PrevAndNext(long passwordPolicyId, String uuid, long companyId, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
passwordPolicyId
- the primary key of the current password policyuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a password policy with the primary key could not be foundList<PasswordPolicy> filterFindByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<PasswordPolicy> filterFindByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)List<PasswordPolicy> filterFindByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)PasswordPolicy[] filterFindByUuid_C_PrevAndNext(long passwordPolicyId, String uuid, long companyId, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
passwordPolicyId
- the primary key of the current password policyuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a password policy with the primary key could not be foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<PasswordPolicy> findByCompanyId(long companyId)
companyId
- the company IDList<PasswordPolicy> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)List<PasswordPolicy> findByCompanyId(long companyId, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<PasswordPolicy> findByCompanyId(long companyId, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachePasswordPolicy findByCompanyId_First(long companyId, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a matching password policy could not be foundPasswordPolicy fetchByCompanyId_First(long companyId, OrderByComparator<PasswordPolicy> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching password policy could not be foundPasswordPolicy findByCompanyId_Last(long companyId, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a matching password policy could not be foundPasswordPolicy fetchByCompanyId_Last(long companyId, OrderByComparator<PasswordPolicy> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching password policy could not be foundPasswordPolicy[] findByCompanyId_PrevAndNext(long passwordPolicyId, long companyId, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
passwordPolicyId
- the primary key of the current password policycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a password policy with the primary key could not be foundList<PasswordPolicy> filterFindByCompanyId(long companyId)
companyId
- the company IDList<PasswordPolicy> filterFindByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)List<PasswordPolicy> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)PasswordPolicy[] filterFindByCompanyId_PrevAndNext(long passwordPolicyId, long companyId, OrderByComparator<PasswordPolicy> orderByComparator) throws NoSuchPasswordPolicyException
passwordPolicyId
- the primary key of the current password policycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPasswordPolicyException
- if a password policy with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDPasswordPolicy findByC_DP(long companyId, boolean defaultPolicy) throws NoSuchPasswordPolicyException
NoSuchPasswordPolicyException
if it could not be found.companyId
- the company IDdefaultPolicy
- the default policyNoSuchPasswordPolicyException
- if a matching password policy could not be foundPasswordPolicy fetchByC_DP(long companyId, boolean defaultPolicy)
null
if it could not be found. Uses the finder cache.companyId
- the company IDdefaultPolicy
- the default policynull
if a matching password policy could not be foundPasswordPolicy fetchByC_DP(long companyId, boolean defaultPolicy, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDdefaultPolicy
- the default policyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching password policy could not be foundPasswordPolicy removeByC_DP(long companyId, boolean defaultPolicy) throws NoSuchPasswordPolicyException
companyId
- the company IDdefaultPolicy
- the default policyNoSuchPasswordPolicyException
int countByC_DP(long companyId, boolean defaultPolicy)
companyId
- the company IDdefaultPolicy
- the default policyPasswordPolicy findByC_N(long companyId, String name) throws NoSuchPasswordPolicyException
NoSuchPasswordPolicyException
if it could not be found.companyId
- the company IDname
- the nameNoSuchPasswordPolicyException
- if a matching password policy could not be foundPasswordPolicy fetchByC_N(long companyId, String name)
null
if it could not be found. Uses the finder cache.companyId
- the company IDname
- the namenull
if a matching password policy could not be foundPasswordPolicy fetchByC_N(long companyId, String name, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDname
- the nameretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching password policy could not be foundPasswordPolicy removeByC_N(long companyId, String name) throws NoSuchPasswordPolicyException
companyId
- the company IDname
- the nameNoSuchPasswordPolicyException
int countByC_N(long companyId, String name)
companyId
- the company IDname
- the namevoid cacheResult(PasswordPolicy passwordPolicy)
passwordPolicy
- the password policyvoid cacheResult(List<PasswordPolicy> passwordPolicies)
passwordPolicies
- the password policiesPasswordPolicy create(long passwordPolicyId)
passwordPolicyId
- the primary key for the new password policyPasswordPolicy remove(long passwordPolicyId) throws NoSuchPasswordPolicyException
passwordPolicyId
- the primary key of the password policyNoSuchPasswordPolicyException
- if a password policy with the primary key could not be foundPasswordPolicy updateImpl(PasswordPolicy passwordPolicy)
PasswordPolicy findByPrimaryKey(long passwordPolicyId) throws NoSuchPasswordPolicyException
NoSuchPasswordPolicyException
if it could not be found.passwordPolicyId
- the primary key of the password policyNoSuchPasswordPolicyException
- if a password policy with the primary key could not be foundPasswordPolicy fetchByPrimaryKey(long passwordPolicyId)
null
if it could not be found.passwordPolicyId
- the primary key of the password policynull
if a password policy with the primary key could not be foundList<PasswordPolicy> findAll()
List<PasswordPolicy> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)List<PasswordPolicy> findAll(int start, int end, OrderByComparator<PasswordPolicy> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<PasswordPolicy> findAll(int start, int end, OrderByComparator<PasswordPolicy> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()