|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.registry.manage.AbstractManager
public abstract class AbstractManager
Base implementation of a Manager.
| Field Summary | |
|---|---|
protected Log |
logger
Log for this class |
private ReplChanges |
rc
Changes that need to be replicated |
private boolean |
replicate
Whether to enqueue replication |
protected SessionContext |
sessionContext
Environment data |
private Calendar |
systemDate
Current system date |
| Constructor Summary | |
|---|---|
AbstractManager()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addEntitlementToReplicate(Long uid,
int priority)
Add an entitlement to replicate to the ReplChanges. |
void |
addGroupToReplicate(String uugid,
int priority)
Add a group to replicate to the ReplChanges. |
void |
addPersonToReplicate(Long uid,
int priority)
Add a person to replicate to the ReplChanges. |
void |
addServiceToReplicate(String uusid,
int priority)
Add a service to replicate to the ReplChanges. |
ReplChanges |
getReplChanges()
Get the ReplChanges. |
Calendar |
getSystemCalendar()
Returns the calendar to use for time based manager functions. |
void |
setEnqueueReplication(Boolean b)
Sets whether to replicate. |
void |
setSessionContext(SessionContext sc)
Sets the Session Context. |
void |
setSystemCalendar(Calendar cal)
Sets the calendar to use for time based manager functions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SessionContext sessionContext
protected final Log logger
private ReplChanges rc
private boolean replicate
private Calendar systemDate
| Constructor Detail |
|---|
public AbstractManager()
| Method Detail |
|---|
public ReplChanges getReplChanges()
getReplChanges in interface ManagerReplChanges - the changes to replicatepublic void setSessionContext(SessionContext sc)
sc - SessionContext
public void addPersonToReplicate(Long uid,
int priority)
addPersonToReplicate in interface Manageruid - Longpriority - int
public void addServiceToReplicate(String uusid,
int priority)
addServiceToReplicate in interface Manageruusid - Stringpriority - int
public void addGroupToReplicate(String uugid,
int priority)
addGroupToReplicate in interface Manageruugid - Stringpriority - int
public void addEntitlementToReplicate(Long uid,
int priority)
addEntitlementToReplicate in interface Manageruid - Longpriority - intpublic void setEnqueueReplication(Boolean b)
setEnqueueReplication in interface Managerb - Booleanpublic void setSystemCalendar(Calendar cal)
cal - Calendarpublic Calendar getSystemCalendar()
Calendar
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||