|
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.View
The View class
represents the form view (VUI) with the
indicated name on the specified server.
Field Summary |
Fields inherited from class com.remedy.arsys.api.ObjectBase |
m_changeFlags, m_permissionList |
Constructor Summary | |
protected |
View(java.lang.String name,
PermissionInfo[] permissionList,
java.lang.String helpText,
long lastUpdateTime,
java.lang.String owner,
java.lang.String lastChangedBy,
java.lang.String diaryStr)
|
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. |
ARServerUser |
getContext()
|
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()
AR System 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 |
setPermissions(PermissionInfo[] permissions)
Sets the permissions of the AR System object. |
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()
Updates this view on the database |
void |
unsetContext()
Removes the association to a specific user context. |
Methods inherited from class com.remedy.arsys.api.ObjectBase |
equals, getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, hashCode, resetChangeFlags, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected View(java.lang.String name, PermissionInfo[] permissionList, java.lang.String helpText, long lastUpdateTime, java.lang.String owner, java.lang.String lastChangedBy, java.lang.String diaryStr)
Method Detail |
public void setPermissions(PermissionInfo[] permissions)
ObjectBase
setPermissions
in class ObjectBase
public void setSchemaName(NameID schemaName)
public void setVUIId(FieldID viewID)
AR_MAX_RESERVED_FIELD_ID
in arstruct.h).
public void setDisplayProperties(PropInfo[] properties)
AR_DPROP_VUI_DEFAULT
(unsigned long).
A flag identifying the default view (VUI) for the form.
A value of 1 identifies the default VUI (with all other VUIs having a value of 0).
The system uses the first VUI returned by the find.ViewFactory
or findObjects.ViewFactory
methods
if you do not specify a default view.
AR_DPROP_PANE_LAYOUT
(integer). A value indicating how the panes of the VUI are arranged. This property also specifies whether the layout is locked to prevent the user from changing it.
-1: Results pane left of details, prompt pane on top, locked.
-2: Details pane left of results, prompt pane on top, locked.
-3: Results pane above details, prompt pane on top, locked.
-4: Details pane above results, prompt pane on top, locked.
-5: Results pane left of details, prompt pane on bottom, locked.
-6: Details pane left of results, prompt pane on bottom, locked.
-7: Results pane above details, prompt pane on bottom, locked.
-8: Details pane above results, prompt pane on bottom, locked.
1: Results pane left of details, prompt pane on top, unlocked.
2: Details pane left of results, prompt pane on top, unlocked.
3: Results pane above details, prompt pane on top, unlocked.
4: Details pane above results, prompt pane on top, unlocked.
5: Results pane left of details, prompt pane on bottom, unlocked.
6: Details pane left of results, prompt pane on bottom, unlocked.
7: Results pane above details, prompt pane on bottom, unlocked.
8: Details pane above results, prompt pane on bottom, unlocked.
AR_DPROP_DETAIL_PANE_COLOR
(character string). The background color of the details pane. Specify the color as #BBGGRR, a string concatenating the two-digit hexadecimal values for blue, green, and red.
AR_DPROP_DETAIL_PANE_IMAGE
(see ByteListInfo
). The background image for the details pane.
Specify a byte list type of
1 (AR_BYTE_LIST_WIN30_BITMAP
)
for images in Windows bitmap (.bmp) and DIB (.dib) format.
Specify 2 (AR_BYTE_LIST_JPEG
) for JPEG (.jpg or .jpeg) format (see AR_DPROP_PUSH_BUTTON_IMAGE
).
AR_DPROP_IMAGE_ALIGN
(unsigned long). A value indicating the vertical alignment of the background image for the details pane.
1: Top-aligned (AR_DVAL_ALIGN_TOP
).
2: Centered (AR_DVAL_ALIGN_MIDDLE
) (default setting).
3: Expand to fill (AR_DVAL_ALIGN_FILL
).
4: Bottom-aligned (AR_DVAL_ALIGN_BOTTOM
).
5: Tile to fill (AR_DVAL_ALIGN_TILE
).
AR_DPROP_IMAGE_JUSTIFY
(unsigned long). A value indicating the horizontal justification of the background image for the details pane.
1: Left-aligned (AR_DVAL_JUSTIFY_LEFT
).
2: Centered (AR_DVAL_JUSTIFY_CENTER
).
3: Expand to fill (AR_DVAL_JUSTIFY_FILL
).
4: Right-aligned (AR_DVAL_JUSTIFY_RIGHT
).
5: Tile to fill (AR_DVAL_JUSTIFY_TILE
).
AR_DPROP_TITLE_BAR_ICON_IMAGE
(see ByteListInfo
). The icon image for the title bar. Specify a byte list type of
1 (AR_BYTE_LIST_WIN30_BITMAP
)
for images in Windows bitmap (.bmp) and DIB (.dib) format. Specify 2 (AR_BYTE_LIST_JPEG
) for JPEG (.jpg or .jpeg) format.
AR_DPROP_DETAIL_PANE_WIDTH
(integer). The width of the details pane, in form coordinates. Negative values are reserved for future use.
AR_DPROP_DETAIL_PANE_HEIGHT
(integer). The height of the details pane, in form coordinates.
AR_DPROP_DETAIL_BANNER_VISIBILITY
(unsigned long). A value indicating whether the details pane is visible. Specify 0 for invisible, 1 for visible.
AR_DPROP_RESULT_BANNER_VISIBILITY
(unsigned long). A value indicating whether the results pane is visible. Specify 0 for invisible, 1 for visible.
AR_DPROP_ALIAS_SINGULAR
(character string). The singular form of the name for the logical items represented by entries in the form this view is associated with (such as help desk calls). Remedy User displays this name instead of the default ?request? when referring to form entries.
AR_DPROP_ALIAS_PLURAL
(character string). The plural form of the name for the logical items represented by entries in the form this view is associated with (see AR_DPROP_ALIAS_SINGULAR
).
AR_DPROP_ALIAS_SHORT_SINGULAR
(character string). A short, singular form of the name for the logical items represented by entries in the form this view is associated with (see AR_DPROP_ALIAS_SINGULAR
).
AR_DPROP_ALIAS_SHORT_PLURAL
(character string). A short, plural form of the name for the logical items represented by entries in the form this view is associated with (see AR_DPROP_ALIAS_SINGULAR
).
AR_DPROP_ALIAS_ABBREV_SINGULAR
(character string). A very short, singular form of the name for the logical items represented by entries in the form this view is associated with (see AR_DPROP_ALIAS_SINGULAR
).
AR_DPROP_ALIAS_ABBREV_PLURAL
(character string). A very short, plural form of the name for the logical items represented by entries in the form this view is associated with (see AR_DPROP_ALIAS_SINGULAR
).
AR_DPROP_NAMED_SEARCHES
(character string). A list of administrator-defined searches. It is encoded in the same format as qualifications in .arf files. This is only for AR System internal use.
AR_DPROP_MENU_ACCESS
(character string). A list of client interface items an administrator can control. It is encoded in the same format as qualifications in .arf files. This is only for AR System internal use.
AR_DPROP_QUERY_LIST_COLOR
(character string). The name of the field whose value for a given entry controls the display color of that entry in a query results list, and a list of field values and their corresponding colors. This is only for AR System internal use.
public NameID getSchemaName()
public FieldID getVUIId()
public PropInfo[] getDisplayProperties()
setDisplayProperties
.
public java.lang.String getLocale()
public void setLocale(java.lang.String locale)
public int getVUIType()
public void setVUIType(int vuiType)
public ARServerUser getContext()
public void setContext(ARServerUser ctxt)
ARServerUser
information with this view object.
setContext
in interface IARPersistentObject
public void unsetContext()
unsetContext
in interface IARPersistentObject
public void clear()
clear
in interface IARPersistentObject
clear
in class ObjectBase
public ViewKey getKey()
public void setKey(ViewKey key)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class ObjectBase
java.lang.CloneNotSupportedException
public void create() throws ARException
create
in interface IARPersistentObject
java.lang.NullPointerException
- if invalid ARServerUser
object
ARException
- if object is not savedpublic 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(ViewCriteria criteria) throws ARException
ViewCriteria
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()
IARPersistentObject
activate
in interface IARPersistentObject
public void passivate()
IARPersistentObject
passivate
in interface IARPersistentObject
|
7.0 Action Request System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |