Class GoogleUserFilterManager
- java.lang.Object
-
- org.silverpeas.core.admin.domain.driver.googledriver.GoogleUserFilterManager
-
- All Implemented Interfaces:
DomainDriver.UserFilterManager
public class GoogleUserFilterManager extends Object implements DomainDriver.UserFilterManager
- Author:
- silveryocha
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRule()
Gets the current rule.String
getRuleKey()
Gets the rule key.User[]
saveRule(String rule)
Validates the given rule by performing a request of all users on external repository and save it on Silverpeas's domain repository.User[]
validateRule(String rule)
Validates the given rule by performing a request of all users on external repository.
-
-
-
Method Detail
-
getRuleKey
public String getRuleKey()
Description copied from interface:DomainDriver.UserFilterManager
Gets the rule key.- Specified by:
getRuleKey
in interfaceDomainDriver.UserFilterManager
- Returns:
- a string.
-
getRule
public String getRule()
Description copied from interface:DomainDriver.UserFilterManager
Gets the current rule.- Specified by:
getRule
in interfaceDomainDriver.UserFilterManager
- Returns:
- a string.
-
validateRule
public User[] validateRule(String rule) throws AdminException
Description copied from interface:DomainDriver.UserFilterManager
Validates the given rule by performing a request of all users on external repository.In case of success, the filtered users are returned.
- Specified by:
validateRule
in interfaceDomainDriver.UserFilterManager
- Parameters:
rule
- the rule to validate.- Returns:
- an array of
User
. - Throws:
AdminException
- in case of validation error.
-
saveRule
public User[] saveRule(String rule) throws AdminException
Description copied from interface:DomainDriver.UserFilterManager
Validates the given rule by performing a request of all users on external repository and save it on Silverpeas's domain repository.In case of success, the filtered users of validation processing are returned.
- Specified by:
saveRule
in interfaceDomainDriver.UserFilterManager
- Parameters:
rule
- the rule to validate.- Returns:
- an array of
User
. - Throws:
AdminException
- in case of validation error.
-
-