Liferay 7.0-ce-b4

com.liferay.portal.service
Class PasswordPolicyServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.PasswordPolicyServiceUtil

@ProviderType
public class PasswordPolicyServiceUtil
extends Object

Provides the remote service utility for PasswordPolicy. This utility wraps com.liferay.portal.service.impl.PasswordPolicyServiceImpl and is the primary access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
PasswordPolicyService, PasswordPolicyServiceBaseImpl, com.liferay.portal.service.impl.PasswordPolicyServiceImpl

Constructor Summary
PasswordPolicyServiceUtil()
           
 
Method Summary
static PasswordPolicy addPasswordPolicy(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, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
          Deprecated. As of 6.2.0, replaced by addPasswordPolicy(String, String, boolean, boolean, long, boolean, boolean, int, int, int, int, int, int, String, boolean, int, boolean, long, long, int, boolean, int, long, long, long, ServiceContext)
static PasswordPolicy addPasswordPolicy(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)
           
static void deletePasswordPolicy(long passwordPolicyId)
           
static PasswordPolicy fetchPasswordPolicy(long passwordPolicyId)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static PasswordPolicyService getService()
           
static 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, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
          Deprecated. As of 6.2.0, replaced by updatePasswordPolicy(long, String, String, boolean, boolean, long, boolean, boolean, int, int, int, int, int, int, String, boolean, int, boolean, long, long, int, boolean, int, long, long, long, ServiceContext)
static 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordPolicyServiceUtil

public PasswordPolicyServiceUtil()
Method Detail

addPasswordPolicy

@Deprecated
public static PasswordPolicy addPasswordPolicy(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,
                                                          boolean history,
                                                          int historyCount,
                                                          boolean expireable,
                                                          long maxAge,
                                                          long warningTime,
                                                          int graceLimit,
                                                          boolean lockout,
                                                          int maxFailure,
                                                          long lockoutDuration,
                                                          long resetFailureCount,
                                                          long resetTicketMaxAge)
                                        throws PortalException
Deprecated. As of 6.2.0, replaced by addPasswordPolicy(String, String, boolean, boolean, long, boolean, boolean, int, int, int, int, int, int, String, boolean, int, boolean, long, long, int, boolean, int, long, long, long, ServiceContext)

Throws:
PortalException

addPasswordPolicy

public static PasswordPolicy addPasswordPolicy(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
Throws:
PortalException

deletePasswordPolicy

public static void deletePasswordPolicy(long passwordPolicyId)
                                 throws PortalException
Throws:
PortalException

fetchPasswordPolicy

public static PasswordPolicy fetchPasswordPolicy(long passwordPolicyId)
                                          throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

updatePasswordPolicy

@Deprecated
public static 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,
                                                             boolean history,
                                                             int historyCount,
                                                             boolean expireable,
                                                             long maxAge,
                                                             long warningTime,
                                                             int graceLimit,
                                                             boolean lockout,
                                                             int maxFailure,
                                                             long lockoutDuration,
                                                             long resetFailureCount,
                                                             long resetTicketMaxAge)
                                           throws PortalException
Deprecated. As of 6.2.0, replaced by updatePasswordPolicy(long, String, String, boolean, boolean, long, boolean, boolean, int, int, int, int, int, int, String, boolean, int, boolean, long, long, int, boolean, int, long, long, long, ServiceContext)

Throws:
PortalException

updatePasswordPolicy

public static 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
Throws:
PortalException

getService

public static PasswordPolicyService getService()

Liferay 7.0-ce-b4