|
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 ObjectBase
java.lang.CloneNotSupportedException
public CharMenuInfo expandMenu() throws ARException
java.lang.NullPointerException
- if invalid ARServerUser
object
ARException
- if menu is not expandedpublic static CharMenuInfo expandMenu(ARServerUser context, CharMenuInfo menu) throws ARException
java.lang.NullPointerException
- if invalid ARServerUser
object
ARException
- if menu is not expandedpublic void create() throws ARException
create
in interface IARPersistentObject
java.lang.NullPointerException
- if invalid ARServerUser
object
ARException
- if object is not createdpublic void remove() throws ARException
remove
in interface IARPersistentObject
java.lang.NullPointerException
- if invalid ARServerUser
object
ARException
- if object is not removedpublic void load() throws ARException
load
in interface IARPersistentObject
java.lang.NullPointerException
- if invalid ARServerUser
object
ARException
- if object is not loadedpublic void load(MenuCriteria criteria) throws ARException
MenuCriteria
from the AR System server.
java.lang.NullPointerException
- if invalid ARServerUser
object
ARException
- if object is not loadedpublic void store() throws ARException
store
in interface IARPersistentObject
java.lang.NullPointerException
- if invalid ARServerUser
object
ARException
- if object is not savedpublic void activate()
activate
in interface IARPersistentObject
public void passivate()
passivate
in interface IARPersistentObject
public ARServerUser getContext()
public void setContext(ARServerUser ctxt)
ARServerUser
information with this AR System server object.
setContext
in interface IARPersistentObject
public void unsetContext()
unsetContext
in interface IARPersistentObject
public void clear()
clear
in interface IARPersistentObject
clear
in class ObjectBase
public boolean equals(java.lang.Object anObject)
equals
in class ObjectBase
public 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 |