|
5.1 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()
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 a new container with the indicated name on the specified server. |
boolean |
equals(java.lang.Object anObject)
Use this method for checking equality. |
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 if 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. |
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(ContainerCriteria criteria)
Returns the contents of the container with the indicated name with information specified by ContainerCriteria on the specified server. |
void |
passivate()
AR System 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 if 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 |
finalize, getClass, 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()
public 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, “ Peregrine System.”
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.setContext in interface IARPersistentObjectpublic void unsetContext()
IARPersistentObjectsetContext(null).unsetContext in interface IARPersistentObjectpublic void clear()
clear in interface IARPersistentObjectclear in class ObjectBase
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 container is not created
public void remove()
throws ARException
remove in interface IARPersistentObjectNullPointerException - if invalid ARServerUser objectARException - if container is not deleted
public void load()
throws ARException
load in interface IARPersistentObjectNullPointerException - if invalid ARServerUser objectARException - if container is not loaded
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
/getAdminGroupList information is limited to users with
AR System administrator privileges only.NullPointerException - if invalid ARServerUser objectARException - if container is not returned
public void store()
throws ARException
store in interface IARPersistentObjectNullPointerException - if invalid ARServerUser objectARException - if container is not storedpublic void activate()
activate in interface IARPersistentObjectpublic void passivate()
passivate in interface IARPersistentObjectpublic boolean equals(java.lang.Object anObject)
equals in class ObjectBasepublic int hashCode()
hashCode in class ObjectBase
|
5.1 Action Request System Java API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||