|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGObject
com.tivoli.twg.engine.TWGManagedObjectSet
Container class for collecting and maintaining lists of TWGManagedObject IDs. This class is used by the TWGFilter classes to maintain the set of managed objects matching a filter's criteria, and as input to the TWGAssociation classes. Each instance is shadowed to the Director Workgroup console on a console-specific bases (depending upon whether the filter is associated with a given console).
Constructor Summary | |
---|---|
TWGManagedObjectSet()
Construct empty set |
|
TWGManagedObjectSet(int[] vallist,
int start,
int len)
Construct set with initial list of values |
|
TWGManagedObjectSet(long[] vallist,
int start,
int len)
Construct set with initial list of values |
Method Summary | |
---|---|
void |
AttachObjectToConsole(TWGActiveConsole act_con)
Associate the object with the given TWGActiveConsole instance. |
void |
Delete()
Object delete method : clean up references |
void |
DetachObjectFromAllConsoles()
Disassociate the object from all TWGActiveConsoles. |
void |
DetachObjectFromConsole(TWGActiveConsole act_con)
Disassociate the object from the given TWGActiveConsole instance. |
void |
emptySet()
Empty managed object set |
java.lang.String |
GetConShadowClass()
Get name of console shadow class. |
byte[] |
GetDeltaShadowRecord(java.util.Locale locale,
long since_ver)
Get buffer containing value delta since requested version stamp of the shadowed attributes to be delivered to the console shadow class. |
int[] |
getMoids()
Get array containing MOIDs in managed object set |
byte[] |
GetShadowRecord(java.util.Locale locale)
Get buffer containing current values of the shadowed attributes to be delivered to the console shadow class. |
long |
GetShadowVersion()
Get object state version. |
void |
InsertManagedObjectID(long oid)
Insert single object ID into set |
void |
InsertManagedObjectIDArray(int[] oidlist,
int start,
int len)
Insert array of object IDs into set |
void |
InsertManagedObjectIDSet(IntValueSet oidset)
Insert set of object IDs into set |
static void |
removeManagedObjectFromAllSets(TWGManagedObject mo)
Remove all references in all managed object sets to given managed object |
void |
RemoveManagedObjectID(long oid)
Remove single object ID into set |
void |
RemoveManagedObjectIDArray(int[] oidlist,
int start,
int len)
Remove array of object IDs from set |
void |
RemoveManagedObjectIDSet(IntValueSet oidset)
Remove set of object IDs from set |
static void |
removeManagedObjectsFromAllSets(IntValueSet mo_ids)
Remove all references in all managed object sets to given set of managed object IDs |
java.lang.String |
toString()
Get string representation |
void |
UpdateShadowVersion()
Update object state version. |
Methods inherited from class com.tivoli.twg.engine.TWGObject |
---|
AllObjects, AllObjects, Destroy, DumpTWGObjects, FindObject, isDeleted, isNewObject, isPersistent, isPersistent, isValid, isValid, ObjectID, setDistinctObjectID, SetObjectID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGManagedObjectSet()
public TWGManagedObjectSet(long[] vallist, int start, int len)
vallist
- - array containing list of TWGManagedObject IDsstart
- - index of start of range in listlen
- - length of range in listpublic TWGManagedObjectSet(int[] vallist, int start, int len)
vallist
- - array containing list of TWGManagedObject persistent
IDsstart
- - index of start of range in listlen
- - length of range in listMethod Detail |
public void Delete()
Delete
in class TWGObject
public void InsertManagedObjectID(long oid)
oid
- - new object IDpublic void RemoveManagedObjectID(long oid)
oid
- - new object IDpublic void InsertManagedObjectIDArray(int[] oidlist, int start, int len)
oidlist
- - new managed object persistent ID arraystart
- - starting index in arraylen
- - length of range in arraypublic void RemoveManagedObjectIDArray(int[] oidlist, int start, int len)
oidlist
- - list of managed object persistent ID to removestart
- - starting index in arraylen
- - length of range in arraypublic void InsertManagedObjectIDSet(IntValueSet oidset)
oidset
- - set of new managed object persistent IDspublic void RemoveManagedObjectIDSet(IntValueSet oidset)
oidset
- - set of managed object persistent IDs to removepublic void UpdateShadowVersion()
UpdateShadowVersion
in interface TWGBaseShadowedObject
public long GetShadowVersion()
GetShadowVersion
in interface TWGBaseShadowedObject
public java.lang.String GetConShadowClass()
GetConShadowClass
in interface TWGBaseShadowedObject
public byte[] GetShadowRecord(java.util.Locale locale)
GetShadowRecord
in interface TWGBaseShadowedObject
locale
- - Locale of requested data
public byte[] GetDeltaShadowRecord(java.util.Locale locale, long since_ver)
GetDeltaShadowRecord
in interface TWGDeltaShadow
locale
- - Locale requested (for any locale-specific content)since_ver
- - Version to be used as basis for delta (the version
currently possessed by the caller).
public void AttachObjectToConsole(TWGActiveConsole act_con)
AttachObjectToConsole
in interface TWGConsoleSpecShadowedObject
act_con
- - Active console instance to be associated withpublic void DetachObjectFromConsole(TWGActiveConsole act_con)
DetachObjectFromConsole
in interface TWGConsoleSpecShadowedObject
act_con
- - Active console instance to be disassociated frompublic void DetachObjectFromAllConsoles()
DetachObjectFromAllConsoles
in interface TWGConsoleSpecShadowedObject
public static void removeManagedObjectFromAllSets(TWGManagedObject mo)
mo
- - managed object to be removedpublic static void removeManagedObjectsFromAllSets(IntValueSet mo_ids)
mo_ids
- - managed object IDs to be removedpublic int[] getMoids()
public java.lang.String toString()
public void emptySet()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |