|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.remedy.arsys.api.ObjectBase
|
+--com.remedy.arsys.api.Menu
The Menu class and methods
are used to represent the properties of menu objects.
| Fields inherited from class com.remedy.arsys.api.ObjectBase |
m_changeFlags |
| 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. |
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()
This method can be used to populate a hash table. |
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 |
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)
1 - Refresh only when form opened (Constants.AR_MENU_REFRESH_CONNECT).2 - Refresh every time menu opened (Constants.AR_MENU_REFRESH_OPEN).3 - Refresh first time menu opened and every 15 minutes thereafter
(Constants.AR_MENU_REFRESH_INTERVAL).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 java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class ObjectBase
public CharMenuInfo expandMenu()
throws ARException
NullPointerException - if invalid ARServerUser objectARException - if menu is not expanded
public void create()
throws ARException
create in interface IARPersistentObjectNullPointerException - if invalid ARServerUser objectARException - if object is not created
public void remove()
throws ARException
remove in interface IARPersistentObjectNullPointerException - if invalid ARServerUser objectARException - if object is not removed
public void load()
throws ARException
load in interface IARPersistentObjectNullPointerException - if invalid ARServerUser objectARException - if object is not loaded
public void load(MenuCriteria criteria)
throws ARException
MenuCriteria from the AR System server.NullPointerException - if invalid ARServerUser objectARException - if object is not loaded
public void store()
throws ARException
store in interface IARPersistentObjectNullPointerException - if invalid ARServerUser objectARException - if object is not savedpublic void activate()
activate in interface IARPersistentObjectpublic void passivate()
passivate in interface IARPersistentObjectpublic 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
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||