|
7.0 Action Request System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.remedy.arsys.api.ObjectBase
com.remedy.arsys.api.Menu
The Menu class and methods
are used to represent the properties of menu objects.
| Field Summary |
| Fields inherited from class com.remedy.arsys.api.ObjectBase |
m_changeFlags, m_permissionList |
| Method Summary | |
void |
activate()
AR System reserved method. |
void |
clear()
Clears all of the references to member objects. |
java.lang.Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
void |
create()
Creates this object on the AR System server. |
boolean |
equals(java.lang.Object anObject)
Use this method for checking equality. |
CharMenuInfo |
expandMenu()
Expands the query and file references for the specified menu definition and returns a character menu with list-type items only. |
static CharMenuInfo |
expandMenu(ARServerUser context,
CharMenuInfo menu)
Expands the query and file references for the specified menu definition and returns a character menu with list-type items only. |
ARServerUser |
getContext()
|
MenuKey |
getKey()
Returns the unique identifier for menu. |
CharMenuInfo |
getMenuDefinition()
Returns the definition of the menu. |
PropInfo[] |
getProperties()
Returns all property information of menu. |
int |
getRefreshCode()
Returns when the menu is refreshed. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
load()
Populates this object with information from the AR System server. |
void |
load(MenuCriteria criteria)
Populates this object with information specified by MenuCriteria from the AR System server. |
void |
passivate()
AR System reserved method. |
void |
remove()
Removes this object on the AR System server. |
void |
setContext(ARServerUser ctxt)
Associates ARServerUser information with this AR System server object. |
void |
setDeleteOption(int option)
Sets the delete option indicating the action to take if specified in the menu. |
void |
setKey(MenuKey key)
Sets the unique identifier for menu. |
void |
setMenuDefinition(CharMenuInfo menu)
Sets the definition of the menu. |
void |
setProperties(PropInfo[] props)
Sets property information of menu. |
void |
setRefreshCode(int refreshCode)
Sets when the menu is refreshed. |
void |
store()
Updates this menu on the database. |
void |
unsetContext()
Removes the association to a specific user context. |
| Methods inherited from class com.remedy.arsys.api.ObjectBase |
getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, resetChangeFlags, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner, setPermissions |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void setRefreshCode(int refreshCode)
public int getRefreshCode()
public void setMenuDefinition(CharMenuInfo menu)
public CharMenuInfo getMenuDefinition()
public PropInfo[] getProperties()
public void setProperties(PropInfo[] props)
public MenuKey getKey()
public void setKey(MenuKey key)
public void setDeleteOption(int option)
option - Possible values are:
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class ObjectBasejava.lang.CloneNotSupportedException
public CharMenuInfo expandMenu()
throws ARException
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if menu is not expanded
public static CharMenuInfo expandMenu(ARServerUser context,
CharMenuInfo menu)
throws ARException
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if menu is not expanded
public void create()
throws ARException
create in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not created
public void remove()
throws ARException
remove in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not removed
public void load()
throws ARException
load in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not loaded
public void load(MenuCriteria criteria)
throws ARException
MenuCriteria from the AR System server.
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not loaded
public void store()
throws ARException
store in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not savedpublic void activate()
activate in interface IARPersistentObjectpublic void passivate()
passivate in interface IARPersistentObjectpublic ARServerUser getContext()
public void setContext(ARServerUser ctxt)
ARServerUser information with this AR System server object.
setContext in interface IARPersistentObjectpublic void unsetContext()
unsetContext in interface IARPersistentObjectpublic void clear()
clear in interface IARPersistentObjectclear in class ObjectBasepublic boolean equals(java.lang.Object anObject)
equals in class ObjectBasepublic int hashCode()
hashCode in class ObjectBase
|
7.0 Action Request System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||