|
Action Request System Java API | ||||||||
| 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.Container
Class and methods for container object. Containers are generic lists of references that are used to define guides and applications.
| 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 a new container with the indicated name on the specified server. |
InternalID[] |
getAdminGroupList()
Returns list of zero or more groups who can administer this container (and the referenced objects). |
ContainerOwner[] |
getContainerOwner()
Returns the form that owns this container. |
char[] |
getDescription()
Returns description for this container. |
ContainerKey |
getKey()
Returns unique identifier for container. |
char[] |
getLabel()
Returns label for this container. |
NameID |
getNewname()
Returns new name of the container. |
PropInfo[] |
getProperties()
Returns object properties list associated with the container. |
ReferenceBase[] |
getReferences()
Returns a list of pointers to the objects referenced by this container. |
boolean |
getRemoveFlag()
Returns a flag specifying how invalid object references are removed. |
ContainerType |
getType()
Returns the type for this container— either guide ( ARCON_GUIDE),
application (ARCON_APP), or a custom type you have defined. |
void |
load()
Populates this object with information from the ARSystem server. |
void |
load(ContainerCriteria criteria)
Returns the contents of the container with the indicated name with information specified by ContainerCriteria on the specified server. |
void |
passivate()
Remedy reserved method. |
void |
remove()
Deletes the container with the indicated name from the specified server and deletes any references to the container from other containers. |
void |
setAdminGroupList(InternalID[] adminList)
Sets list of zero or more groups who can administer this container (and the referenced objects). |
void |
setContainerOwner(ContainerOwner[] owner)
Sets the form that owns this container. |
void |
setContext(ARServerUser ctxt)
Associates ARServerUser information with this ARSystem server object. |
void |
setDescription(java.lang.String desc)
Sets description for this container. |
void |
setKey(ContainerKey key)
Sets unique identifier for container. |
void |
setLabel(java.lang.String label)
Sets label for this container. |
void |
setNewname(NameID name)
Sets new name for an existing container. |
void |
setProperties(PropInfo[] props)
Sets object properties list associated with the container. |
void |
setReferences(ReferenceBase[] refs)
Sets a list of pointers to the objects referenced by this container. |
void |
setRemoveFlag(boolean b)
A flag specifying how invalid object references are removed. |
void |
setType(ContainerType type)
Sets the type for this container— either guide ( ARCON_GUIDE),
application (ARCON_APP), or a custom type you have defined. |
void |
store()
Updates the definition for the container with the indicated name on the specified 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 |
public ContainerKey getKey()
public void setKey(ContainerKey key)
public void setAdminGroupList(InternalID[] adminList)
adminList - An array of InternalID objectspublic InternalID[] getAdminGroupList()
adminList - An array of InternalID objectspublic void setLabel(java.lang.String label)
public char[] getLabel()
public void setDescription(java.lang.String desc)
public char[] getDescription()
public ContainerType getType()
ARCON_GUIDE),
application (ARCON_APP), or a custom type you have defined.public void setType(ContainerType type)
ARCON_GUIDE),
application (ARCON_APP), or a custom type you have defined.public void setReferences(ReferenceBase[] refs)
ReferenceInfo internal AR System objects
(for example, guides reference active links
and applications reference forms) or to ExternalReferenceInfo
external objects such as URLs or file names.public ReferenceBase[] getReferences()
ReferenceInfo internal AR System objects
(for example, guides reference active links
and applications reference forms) or to ExternalReferenceInfo
external objects such as URLs or file names.public void setContainerOwner(ContainerOwner[] owner)
owner - ContainerOwnerpublic ContainerOwner[] getContainerOwner()
public void setProperties(PropInfo[] props)
AR_OPROP_VENDOR_NAME: (CHAR):
Indicates the vendor name. For example, “ Remedy Corporation.”
AR_OPROP_VENDOR_PRODUCT: (CHAR):
Indicates the product name. For example, “ AR System.”
AR_OPROP_VENDOR_VERSION: (CHAR):
Indicates the vendor version. For example, “ 5.0.”
AR_OPROP_GUID: (CHAR):
Indicates the globally unique identifier for the object.
AR_OPROP_COPYRIGHT: (CHAR):
Indicates the copyright string.
AR_OPROP_SCC_LOCKED_BY:(CHAR):
Indicates the name of user who has locked the object.
AR_OPROP_SCC_VERSION: (CHAR):
Indicates the version of the SCC system.
AR_OPROP_SCC_TIMESTAMP: (TIME):
Indicates the SCC timestamp.
AR_OPROP_SCC_USER: (CHAR):
Indicates the SCC username.
AR_OPROP_SCC_LOCATION: (CHAR):
Indicates the location within the SCC system where the object may be found.
AR_OPROP_SCC_DATA_LOCKED_BY: (CHAR):
Indicates the name of the user who has "locked" the data or entries stored in a
form under revision control. The AR Server does not enforce this lock and
thus it is to be considered an advisory lock only.
AR_OPROP_SCC_DATA_VERSION: (CHAR):
Indicates the SCC version of the data or entries stored in a form under
revision control.
AR_OPROP_SCC_DATA_TIMESTAMP: (CHAR):
Indicates the SCC version of the data or entries stored in a form under
revision control.
AR_OPROP_SCC_DATA_USER : (TIME):
Indicates the SCC username fore the data or entries stored in a form under
revision control.
AR_OPROP_SCC_DATA_LOCATION: (CHAR):
Indicates the location within the SCC system where the data or entries stored
in a form under revision control.
public PropInfo[] getProperties()
public void setRemoveFlag(boolean b)
public boolean getRemoveFlag()
public void setNewname(NameID name)
store() to save the new name to the server.public NameID getNewname()
public void setContext(ARServerUser ctxt)
ARServerUser information with this ARSystem server object.public void unsetContext()
setContext(null).public void clear()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public void create()
throws ARException
public void remove()
throws ARException
public void load()
throws ARException
public void load(ContainerCriteria criteria)
throws ARException
ContainerCriteria on the specified server.
It can return references of a single, specified type, of all types, or of an exclude reference type.
The system returns information for accessible references and does nothing for references for
which the user does not have access. This operation can be performed by users with access permission
for the container. Access to setAdminGroupList(com.remedy.arsys.api.InternalID[])/getAdminGroupList() information is limited to users with
AR System administrator privileges only.
public void store()
throws ARException
public void activate()
public void passivate()
|
Action Request System Java API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||