|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkSubstituteManager
This class manages work substitute rules.
Method Summary | |
---|---|
String[] |
addWorkSubstituteRules(WorkSubstituteRule[] workSubstituteRules)
Add the substitution rules to the database. |
WorkSubstituteRule[] |
getAllWorkSubstituteRules()
Get all work substitution rules currently in the database. |
String |
getWorkSubstitute(String user,
Date date)
Get the substitute (target) for the given user (source) for the given date. |
WorkSubstituteRule |
getWorkSubstituteRule(String ruleId)
Get a work substitution rule. |
WorkSubstituteRule[] |
getWorkSubstituteRulesWithSource(String source)
Get all work substitution rules for the given source. |
WorkSubstituteRule[] |
getWorkSubstituteRulesWithTarget(String target)
Get all work substitution rules for the given target. |
void |
removeWorkSubstituteRules(String[] workSubstituteRuleIds)
Remove all the substitution rules from the database. |
void |
updateWorkSubstituteRules(WorkSubstituteRule[] rules)
Update work substitution rules. |
Method Detail |
---|
String[] addWorkSubstituteRules(WorkSubstituteRule[] workSubstituteRules) throws ManagementException, RemoteException
workSubstituteRules
- containing rules to be added
ManagementException
- if the operation failed
RemoteException
- if the communication failedvoid removeWorkSubstituteRules(String[] workSubstituteRuleIds) throws ManagementException, RemoteException
workSubstituteRuleIds
- containing rule ids to be deleted
ManagementException
- if the operation failed
RemoteException
- if the communication failedWorkSubstituteRule getWorkSubstituteRule(String ruleId) throws ManagementException, RemoteException
ruleId
-
ManagementException
- if the operation failed
RemoteException
- if the communication failedvoid updateWorkSubstituteRules(WorkSubstituteRule[] rules) throws ManagementException, RemoteException
rules
-
ManagementException
- if the operation failed
RemoteException
- if the communication failedWorkSubstituteRule[] getAllWorkSubstituteRules() throws ManagementException, RemoteException
ManagementException
- if the operation failed
RemoteException
- if the communication failedWorkSubstituteRule[] getWorkSubstituteRulesWithSource(String source) throws ManagementException, RemoteException
source
- (user or group)
ManagementException
- if the operation failed
RemoteException
- if the communication failedWorkSubstituteRule[] getWorkSubstituteRulesWithTarget(String target) throws ManagementException, RemoteException
target
- (user or group)
ManagementException
- if the operation failed
RemoteException
- if the communication failedString getWorkSubstitute(String user, Date date) throws ManagementException, RemoteException
user
- containing the source user or group name
ManagementException
- if the operation failed
RemoteException
- if the communication failed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |