|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGConObject
com.tivoli.twg.engine.TWGConTask
Console object used to shadow the state of a TWGTask object in the Director server.
Field Summary |
---|
Fields inherited from class com.tivoli.twg.engine.TWGConObject |
---|
INVALID_OBJECT_ID |
Constructor Summary | |
---|---|
TWGConTask(long obj_id)
Constructor for TWGConTask with given object ID |
Method Summary | |
---|---|
static java.util.Enumeration |
AllConTasks()
|
boolean |
checkPrivileges(StringValueSet checkSet)
Check to see if the specified set of privileges is adequate for using this TWGTask. |
void |
Delete()
Destructor for TWGConTask: remove task from hash table |
java.util.Enumeration |
getAllSubtasks()
|
int |
getClientTaskCount(TWGConManagedObject cmo)
Get the number of client tasks that would be started for a specific TWGConManagedObject based on its MOF. |
TWGSubtask |
getDoubleClickSubtask()
Get the TWGSubtask object for this TWGConTask's double click action. |
java.util.Vector |
getDragDropMultiSubtasks()
Get a vector of TWGSubtask objects for this TWGConTask's multi drag drop action. |
java.util.Vector |
getDragDropSubtasks()
Get a vector of TWGSubtask objects for this TWGConTask's drag drop action. |
java.util.Vector |
getFilterIconSubtasks()
Get a vector of all TWGSubtask objects for filter icons' context menus. |
static java.util.Vector |
getFilterPaneSubtasks()
Get a vector of all TWGSubtask objects for filter pane's context menu. |
java.util.Vector |
getGroupCategoryIconSubtasks()
Get a vector of all TWGSubtask objects for group category icons' context menus. |
java.lang.String |
getGuiClass()
Get the name of the GUI class for this TWGConTask. |
java.lang.String |
getGuiParms()
Get the parmameters to be passed to the GUI class for this TWGConTask. |
java.lang.String |
getHelpTopicsMapping()
Get the help topics mapping file name. |
java.lang.String |
getID()
Get the task ID for this TWGConTask. |
javax.swing.ImageIcon |
getImage(int index)
Get one of the icons for this TWGConTask. |
javax.swing.ImageIcon |
getImage(int index,
boolean enabled)
Get one of the icons for this TWGConTask. |
int |
getImageCount()
Get the number of images in this TWGConTask's image set. |
java.lang.String |
getImageName(int index)
Get the name of one of the icons for this TWGConTask. |
static java.util.Vector |
getMainMenuSubtasks()
Get a vector of all TWGSubtask objects for the console's main menu. |
java.lang.String |
getName()
Get the name of this object to use as it's icon label. |
java.util.Vector |
getObjectIconSubtasks()
Get a vector of TWGSubtask objects for this TWGConTask when an object specifies it as one of its tasks. |
static java.util.Vector |
getObjectPaneSubtasks()
Get a vector of all TWGSubtask objects for object pane's context menu. |
TWGConTask |
getParent()
Get the parent task for this TWGConTask. |
java.lang.String[] |
getPrivileges()
Get the list of privilege token names required to be able to use this subtask. |
TWGSubtask |
getSubtask(java.lang.String ID)
Get a TWGSubtask object for one of this TWGConTask's subtasks. |
int |
getSubtaskCount()
Get the number of subtasks defined for this TWGConTask. |
static TWGConTask |
getTask(java.lang.String taskID)
Get a TWGConTask based on its task ID. |
java.util.Vector |
getTaskCategoryIconSubtasks()
Get a vector of all TWGSubtask objects for task category icons' context menus. |
byte[] |
getTaskData()
Get the data for this task. |
java.util.Vector |
getTaskIconSubtasks()
Get a vector of TWGSubtask objects for this TWGConTask's task icon context menu. |
static java.util.Vector |
getTaskPaneSubtasks()
Get a vector of all TWGSubtask objects for task pane's context menu. |
TWGSubtask |
getToolbarSubtask()
Get the TWGSubtask object for this TWGConTask's toolbar action. |
static java.util.Vector |
getToolbarSubtasks()
Get a vector of all TWGSubtask objects for the console's toolbar. |
boolean |
hasClientRequiredSubtask()
Determine if this task has any subtasks that are flagged as requiring a client (i.e. |
boolean |
isDisabled()
Test to see if task is disabled |
boolean |
isDisabledSubtask(java.lang.String subid)
Test to see if subtask is disabled |
boolean |
isHidden()
Test to see if task should be hidden |
boolean |
isToolbar()
Determine if this task should be shown as an icon on the toolbar. |
boolean |
isUnrestricted()
Determine if this task is unrestricted to users. |
boolean |
showTaskIcon()
Determine if this task should be shown as an icon in the task pane. |
java.lang.String |
toString()
Obtain a string representation of this TWGConTask. |
void |
UpdateUsingShadowRecord(byte[] rec,
int rec_off,
int rec_len)
Update object using shadow record created by the the engine object which is matched with this class. |
Methods inherited from class com.tivoli.twg.engine.TWGConObject |
---|
AllObjects, AllObjects, DeleteObjects, DeregisterListener, FindObject, getBaseClassName, LookUpShadowClass, ObjectID, ProcessUpdateRequest, RegisterListener, SetObjectID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGConTask(long obj_id) throws DuplicateObjectIDException
obj_id
- - object ID of console object
DuplicateObjectIDException
- if ID is duplicate of
existing object IDMethod Detail |
public void UpdateUsingShadowRecord(byte[] rec, int rec_off, int rec_len) throws TWGConObjectUpdateException
UpdateUsingShadowRecord
in class TWGConObject
rec
- - byte array containing opaque representation of
shadowed attributesrec_off
- - offset of start of shadow record in byte arrayrec_len
- - length of shadow record within byte array
TWGConObjectUpdateException
- if error during updatepublic void Delete()
Delete
in class TWGConObject
public static TWGConTask getTask(java.lang.String taskID)
taskID
- string containing the ID of the task to retrieve.
public java.lang.String toString()
toString
in class TWGConObject
public final java.lang.String getID()
public TWGConTask getParent()
public final java.lang.String getName()
public final boolean showTaskIcon()
public final boolean isToolbar()
public java.lang.String getGuiClass()
public java.lang.String getGuiParms()
public final java.lang.String getHelpTopicsMapping()
public int getImageCount()
public java.lang.String getImageName(int index)
index
- the index of the image name to return
public javax.swing.ImageIcon getImage(int index, boolean enabled)
index
- the index of the image to returnenabled
- - True if task image is rendered enabled, false if task image is rendered disabled (opaque).
public javax.swing.ImageIcon getImage(int index)
index
- the index of the image to return
public int getSubtaskCount()
public TWGSubtask getSubtask(java.lang.String ID)
ID
- the String ID of the subtask
TWGSubtask
public TWGSubtask getDoubleClickSubtask()
public TWGSubtask getToolbarSubtask()
public java.util.Vector getDragDropSubtasks()
public java.util.Vector getDragDropMultiSubtasks()
public java.util.Vector getTaskIconSubtasks()
public java.util.Vector getObjectIconSubtasks()
public static java.util.Vector getMainMenuSubtasks()
public static java.util.Vector getToolbarSubtasks()
public static java.util.Vector getTaskPaneSubtasks()
public static java.util.Vector getObjectPaneSubtasks()
public java.util.Vector getFilterIconSubtasks()
public static java.util.Vector getFilterPaneSubtasks()
public java.util.Vector getGroupCategoryIconSubtasks()
public java.util.Vector getTaskCategoryIconSubtasks()
public final byte[] getTaskData()
public static java.util.Enumeration AllConTasks()
public java.util.Enumeration getAllSubtasks()
public boolean isUnrestricted()
public final boolean isDisabled()
public final boolean isHidden()
public final boolean isDisabledSubtask(java.lang.String subid)
subid
- - subtask IDpublic final java.lang.String[] getPrivileges()
public boolean checkPrivileges(StringValueSet checkSet)
public int getClientTaskCount(TWGConManagedObject cmo)
cmo
- the TWGConManagedObject to report
public boolean hasClientRequiredSubtask()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |