Action Request System Java API

com.remedy.arsys.api
Class View

java.lang.Object
  |
  +--com.remedy.arsys.api.ObjectBase
        |
        +--com.remedy.arsys.api.View

public class View
extends ObjectBase
implements IARPersistentObject, java.lang.Cloneable

The View class represents the form view (VUI) with the indicated name on the specified server.


Fields inherited from class com.remedy.arsys.api.ObjectBase
m_changeFlags
 
Method Summary
 void activate()
          Remedy 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.
 PropInfo[] getDisplayProperties()
          Returns display properties information.
 ViewKey getKey()
          Returns unique identifier for view.
 java.lang.String getLocale()
          Returns the locale.
 NameID getSchemaName()
          Returns the name of the form that the VUI is linked to.
 FieldID getVUIId()
          Returns the internal ID of the VUI.
 int getVUIType()
          Returns the vui-type.
 void load()
          Populates this object with information from the AR System server.
 void load(ViewCriteria criteria)
          Populates this object with information specified by ViewCriteria from the AR System server.
 void passivate()
          Remedy reserved method.
 void remove()
          Removes this object on the AR System server.
 void setContext(ARServerUser ctxt)
          Associates ARServerUser information with this view object.
 void setDisplayProperties(PropInfo[] properties)
          Sets display properties information.
 void setKey(ViewKey key)
          Sets unique identifier for view.
 void setLocale(java.lang.String locale)
          Sets the locale.
 void setSchemaName(NameID schemaName)
          Associates the VUI with a form.
 void setVUIId(FieldID viewID)
          Assigns an internal ID for the VUI.
 void setVUIType(int vuiType)
          Sets the vui-type.
 void store()
          Saves the changes made to this object on the AR System server.
 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setSchemaName

public void setSchemaName(NameID schemaName)
Associates the VUI with a form.

setVUIId

public void setVUIId(FieldID viewID)
Assigns an internal ID for the VUI. The IDs of all VUIs and fields associated with a form must be unique. Specify 0 for this parameter if you want the system to generate the ID. Otherwise, specify a value between 536870912 and and 2147483647 (limited by AR_MAX_RESERVED_FIELD_ID in arstruct.h).

setDisplayProperties

public void setDisplayProperties(PropInfo[] properties)
Sets display properties information.

getSchemaName

public NameID getSchemaName()
Returns the name of the form that the VUI is linked to.

getVUIId

public FieldID getVUIId()
Returns the internal ID of the VUI.

getDisplayProperties

public PropInfo[] getDisplayProperties()
Returns display properties information. See setDisplayProperties.

getLocale

public java.lang.String getLocale()
Returns the locale.

setLocale

public void setLocale(java.lang.String locale)
Sets the locale.

getVUIType

public int getVUIType()
Returns the vui-type.

setVUIType

public void setVUIType(int vuiType)
Sets the vui-type.

setContext

public void setContext(ARServerUser ctxt)
Associates ARServerUser information with this view object.
Specified by:
setContext in interface IARPersistentObject

unsetContext

public void unsetContext()
Removes the association to a specific user context.
Specified by:
unsetContext in interface IARPersistentObject

clear

public void clear()
Clears all of the references to member objects.
Specified by:
clear in interface IARPersistentObject
Overrides:
clear in class ObjectBase

getKey

public ViewKey getKey()
Returns unique identifier for view.

setKey

public void setKey(ViewKey key)
Sets unique identifier for view.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self.
Overrides:
clone in class ObjectBase

create

public void create()
            throws ARException
Description copied from interface: IARPersistentObject
Creates this object on the AR System server.
Specified by:
create in interface IARPersistentObject

remove

public void remove()
            throws ARException
Description copied from interface: IARPersistentObject
Removes this object on the AR System server.
Specified by:
remove in interface IARPersistentObject

load

public void load()
          throws ARException
Description copied from interface: IARPersistentObject
Populates this object with information from the AR System server.
Specified by:
load in interface IARPersistentObject

load

public void load(ViewCriteria criteria)
          throws ARException
Populates this object with information specified by ViewCriteria from the AR System server.

store

public void store()
           throws ARException
Saves the changes made to this object on the AR System server.
Specified by:
store in interface IARPersistentObject

activate

public void activate()
Description copied from interface: IARPersistentObject
Remedy reserved method.
Specified by:
activate in interface IARPersistentObject

passivate

public void passivate()
Description copied from interface: IARPersistentObject
Remedy reserved method.
Specified by:
passivate in interface IARPersistentObject

Action Request System Java API