|
||||||||
| 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.View
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()
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. |
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 |
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, setPermissions |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
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
(refer to ByteListInfo). The background image for the details pane.
Specify a byte list type of
1 (AR_BYTE_LIST_WIN30_BITMAP)
for images in Windows 3.0 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
(refer to ByteListInfo). The icon image for the title bar. Specify a byte list type of
1 (AR_BYTE_LIST_WIN30_BITMAP)
for images in Windows 3.0 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). AR System 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 void setContext(ARServerUser ctxt)
ARServerUser information with this view object.setContext in interface IARPersistentObjectpublic void unsetContext()
unsetContext in interface IARPersistentObjectpublic void clear()
clear in interface IARPersistentObjectclear in class ObjectBasepublic ViewKey getKey()
public void setKey(ViewKey key)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class ObjectBase
public void create()
throws ARException
create in interface IARPersistentObjectNullPointerException - if invalid ARServerUser objectARException - if object is not saved
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(ViewCriteria criteria)
throws ARException
ViewCriteria 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()
IARPersistentObjectactivate in interface IARPersistentObjectpublic void passivate()
IARPersistentObjectpassivate in interface IARPersistentObject
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||