Class PasswordPolicyLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService,PasswordPolicyLocalService,PersistedModelLocalService,ServiceWrapper<PasswordPolicyLocalService>
PasswordPolicyLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionPasswordPolicyLocalServiceWrapper(PasswordPolicyLocalService passwordPolicyLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddPasswordPolicy(long userId, boolean defaultPolicy, String name, String description, boolean changeable, boolean changeRequired, long minAge, boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric, int minLength, int minLowerCase, int minNumbers, int minSymbols, int minUpperCase, String regex, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge, ServiceContext serviceContext) addPasswordPolicy(PasswordPolicy passwordPolicy) Adds the password policy to the database.voidcheckDefaultPasswordPolicy(long companyId) createPasswordPolicy(long passwordPolicyId) Creates a new password policy with the primary key.createPersistedModel(Serializable primaryKeyObj) voiddeleteNondefaultPasswordPolicies(long companyId) deletePasswordPolicy(long passwordPolicyId) Deletes the password policy with the primary key from the database.deletePasswordPolicy(PasswordPolicy passwordPolicy) Deletes the password policy from the database.deletePersistedModel(PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchPasswordPolicy(long passwordPolicyId) fetchPasswordPolicy(long companyId, String name) fetchPasswordPolicyByUuidAndCompanyId(String uuid, long companyId) Returns the password policy with the matching UUID and company.getDefaultPasswordPolicy(long companyId) getExportActionableDynamicQuery(PortletDataContext portletDataContext) Returns the OSGi service identifier.getPasswordPolicies(int start, int end) Returns a range of all the password policies.intReturns the number of password policies.getPasswordPolicy(long passwordPolicyId) Returns the password policy with the primary key.getPasswordPolicy(long companyId, boolean defaultPolicy) getPasswordPolicy(long companyId, long[] organizationIds) getPasswordPolicyByUser(User user) getPasswordPolicyByUserId(long userId) getPasswordPolicyByUuidAndCompanyId(String uuid, long companyId) Returns the password policy with the matching UUID and company.getPersistedModel(Serializable primaryKeyObj) search(long companyId, String name, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator) intsearchCount(long companyId, String name) voidsetWrappedService(PasswordPolicyLocalService passwordPolicyLocalService) updatePasswordPolicy(long passwordPolicyId, String name, String description, boolean changeable, boolean changeRequired, long minAge, boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric, int minLength, int minLowerCase, int minNumbers, int minSymbols, int minUpperCase, String regex, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge, ServiceContext serviceContext) updatePasswordPolicy(PasswordPolicy passwordPolicy) Updates the password policy in the database or adds it if it does not yet exist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
PasswordPolicyLocalServiceWrapper
public PasswordPolicyLocalServiceWrapper() -
PasswordPolicyLocalServiceWrapper
-
-
Method Details
-
addPasswordPolicy
public PasswordPolicy addPasswordPolicy(long userId, boolean defaultPolicy, String name, String description, boolean changeable, boolean changeRequired, long minAge, boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric, int minLength, int minLowerCase, int minNumbers, int minSymbols, int minUpperCase, String regex, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge, ServiceContext serviceContext) throws PortalException - Specified by:
addPasswordPolicyin interfacePasswordPolicyLocalService- Throws:
PortalException
-
addPasswordPolicy
Adds the password policy to the database. Also notifies the appropriate model listeners.Important: Inspect PasswordPolicyLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addPasswordPolicyin interfacePasswordPolicyLocalService- Parameters:
passwordPolicy- the password policy- Returns:
- the password policy that was added
-
checkDefaultPasswordPolicy
- Specified by:
checkDefaultPasswordPolicyin interfacePasswordPolicyLocalService- Throws:
PortalException
-
createPasswordPolicy
Creates a new password policy with the primary key. Does not add the password policy to the database.- Specified by:
createPasswordPolicyin interfacePasswordPolicyLocalService- Parameters:
passwordPolicyId- the primary key for the new password policy- Returns:
- the new password policy
-
createPersistedModel
- Specified by:
createPersistedModelin interfacePasswordPolicyLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteNondefaultPasswordPolicies
- Specified by:
deleteNondefaultPasswordPoliciesin interfacePasswordPolicyLocalService- Throws:
PortalException
-
deletePasswordPolicy
Deletes the password policy with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect PasswordPolicyLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deletePasswordPolicyin interfacePasswordPolicyLocalService- Parameters:
passwordPolicyId- the primary key of the password policy- Returns:
- the password policy that was removed
- Throws:
PortalException- if a password policy with the primary key could not be foundPortalException
-
deletePasswordPolicy
Deletes the password policy from the database. Also notifies the appropriate model listeners.Important: Inspect PasswordPolicyLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deletePasswordPolicyin interfacePasswordPolicyLocalService- Parameters:
passwordPolicy- the password policy- Returns:
- the password policy that was removed
- Throws:
PortalExceptionPortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfacePasswordPolicyLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacePasswordPolicyLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacePasswordPolicyLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfacePasswordPolicyLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfacePasswordPolicyLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.PasswordPolicyModelImpl.- Specified by:
dynamicQueryin interfacePasswordPolicyLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.PasswordPolicyModelImpl.- Specified by:
dynamicQueryin interfacePasswordPolicyLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacePasswordPolicyLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacePasswordPolicyLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchPasswordPolicy
- Specified by:
fetchPasswordPolicyin interfacePasswordPolicyLocalService
-
fetchPasswordPolicy
- Specified by:
fetchPasswordPolicyin interfacePasswordPolicyLocalService
-
fetchPasswordPolicyByUuidAndCompanyId
Returns the password policy with the matching UUID and company.- Specified by:
fetchPasswordPolicyByUuidAndCompanyIdin interfacePasswordPolicyLocalService- Parameters:
uuid- the password policy's UUIDcompanyId- the primary key of the company- Returns:
- the matching password policy, or
nullif a matching password policy could not be found
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfacePasswordPolicyLocalService
-
getDefaultPasswordPolicy
- Specified by:
getDefaultPasswordPolicyin interfacePasswordPolicyLocalService- Throws:
PortalException
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfacePasswordPolicyLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfacePasswordPolicyLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacePasswordPolicyLocalService- Returns:
- the OSGi service identifier
-
getPasswordPolicies
Returns a range of all the password policies.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.PasswordPolicyModelImpl.- Specified by:
getPasswordPoliciesin interfacePasswordPolicyLocalService- Parameters:
start- the lower bound of the range of password policiesend- the upper bound of the range of password policies (not inclusive)- Returns:
- the range of password policies
-
getPasswordPoliciesCount
public int getPasswordPoliciesCount()Returns the number of password policies.- Specified by:
getPasswordPoliciesCountin interfacePasswordPolicyLocalService- Returns:
- the number of password policies
-
getPasswordPolicy
Returns the password policy with the primary key.- Specified by:
getPasswordPolicyin interfacePasswordPolicyLocalService- Parameters:
passwordPolicyId- the primary key of the password policy- Returns:
- the password policy
- Throws:
PortalException- if a password policy with the primary key could not be foundPortalException
-
getPasswordPolicy
public PasswordPolicy getPasswordPolicy(long companyId, boolean defaultPolicy) throws PortalException - Specified by:
getPasswordPolicyin interfacePasswordPolicyLocalService- Throws:
PortalException
-
getPasswordPolicy
public PasswordPolicy getPasswordPolicy(long companyId, long[] organizationIds) throws PortalException - Specified by:
getPasswordPolicyin interfacePasswordPolicyLocalService- Throws:
PortalException
-
getPasswordPolicyByUser
- Specified by:
getPasswordPolicyByUserin interfacePasswordPolicyLocalService- Throws:
PortalException
-
getPasswordPolicyByUserId
- Specified by:
getPasswordPolicyByUserIdin interfacePasswordPolicyLocalService- Throws:
PortalException
-
getPasswordPolicyByUuidAndCompanyId
public PasswordPolicy getPasswordPolicyByUuidAndCompanyId(String uuid, long companyId) throws PortalException Returns the password policy with the matching UUID and company.- Specified by:
getPasswordPolicyByUuidAndCompanyIdin interfacePasswordPolicyLocalService- Parameters:
uuid- the password policy's UUIDcompanyId- the primary key of the company- Returns:
- the matching password policy
- Throws:
PortalException- if a matching password policy could not be foundPortalException
-
getPersistedModel
- Specified by:
getPersistedModelin interfacePasswordPolicyLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
search
public List<PasswordPolicy> search(long companyId, String name, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator) - Specified by:
searchin interfacePasswordPolicyLocalService
-
searchCount
- Specified by:
searchCountin interfacePasswordPolicyLocalService
-
updatePasswordPolicy
public PasswordPolicy updatePasswordPolicy(long passwordPolicyId, String name, String description, boolean changeable, boolean changeRequired, long minAge, boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric, int minLength, int minLowerCase, int minNumbers, int minSymbols, int minUpperCase, String regex, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge, ServiceContext serviceContext) throws PortalException - Specified by:
updatePasswordPolicyin interfacePasswordPolicyLocalService- Throws:
PortalException
-
updatePasswordPolicy
Updates the password policy in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect PasswordPolicyLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updatePasswordPolicyin interfacePasswordPolicyLocalService- Parameters:
passwordPolicy- the password policy- Returns:
- the password policy that was updated
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<PasswordPolicyLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<PasswordPolicyLocalService>
-