com.BobCo.postit
Class BCPostItNoteCIO
java.lang.Object
com.tivoli.twg.engine.TWGObject
com.tivoli.twg.engine.TWGContentInfoObject
com.BobCo.postit.BCPostItNoteCIO
- All Implemented Interfaces:
- com.tivoli.twg.engine.TWGBaseShadowedObject, com.tivoli.twg.engine.TWGShadowedObject
- public class BCPostItNoteCIO
- extends com.tivoli.twg.engine.TWGContentInfoObject
Custom content info object. This was created for the sample since each
of our content information object names needs to include the note number
that is associated with its console objects (managed objects and/or filter
objects).
Fields inherited from class com.tivoli.twg.engine.TWGContentInfoObject |
attrib_flags, ci_name, CIO_PRIMARY_INFO_OBJ_BIT, nls_bundle_name, state |
Constructor Summary |
BCPostItNoteCIO(java.lang.String name,
java.lang.String name_rb,
long bean_id,
com.tivoli.twg.libs.LongValueSet oids,
int note_id,
boolean urgent)
Constructor for content info object instance : creates instance
of a content info object that is associated with the managed objects
specified. |
Method Summary |
java.lang.String |
getName(java.util.Locale loc)
Get name of content info object (using given locale) |
int |
getNoteID()
Get the note ID |
boolean |
isNoteDeleted()
Report whether or not this note has been deleted |
void |
setNoteDeleted()
Mark this note as deleted |
Methods inherited from class com.tivoli.twg.engine.TWGContentInfoObject |
Delete, getAssociatedObjectIDs, GetConShadowClass, getContentInfoBeanID, getImageSet, getName, GetShadowRecord, GetShadowVersion, getState, isPrimaryContentInfo, setAsPrimaryContentInfo, setAssociatedObjectIDs, setImageSet, setName, setName, setState, UpdateShadowVersion |
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, toString, wait, wait, wait |
URGENT_NOTE
public static final int URGENT_NOTE
- See Also:
- Constant Field Values
BCPostItNoteCIO
public BCPostItNoteCIO(java.lang.String name,
java.lang.String name_rb,
long bean_id,
com.tivoli.twg.libs.LongValueSet oids,
int note_id,
boolean urgent)
throws com.tivoli.twg.engine.InvalidObjectIDException
- Constructor for content info object instance : creates instance
of a content info object that is associated with the managed objects
specified.
- Parameters:
name
- The name of the content info object (or the key)name_rb
- The name of the resource bundle to use for finding the
key in.bean_id
- The Object ID for the content info bean object that
represents the task's associated view.oids
- The list of objects that this task view object is associated
with.note_id
- The unique note id that this object represents.urgent
- If true, this note represents a note that has an urgent state.
- Throws:
InvalidObjectIDException
- if invalid object
com.tivoli.twg.engine.InvalidObjectIDException
getName
public java.lang.String getName(java.util.Locale loc)
- Get name of content info object (using given locale)
- Parameters:
loc
- - locale of request
- Returns:
- name
getNoteID
public int getNoteID()
- Get the note ID
- Returns:
- noteID
setNoteDeleted
public void setNoteDeleted()
- Mark this note as deleted
isNoteDeleted
public boolean isNoteDeleted()
- Report whether or not this note has been deleted