|
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.Container
Class and methods for container object. Containers are generic lists of references that are used to define guides and applications.
| Field Summary |
| Fields inherited from class com.remedy.arsys.api.ObjectBase |
m_changeFlags, m_permissionList |
| Constructor Summary | |
protected |
Container(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 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. |
ARServerUser |
getContext()
|
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()
Returns the hash code value for this instance of the current class. |
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 AR System server object. |
void |
setDeleteOption(int option)
Sets the delete option indicating the action to take if specified in the container. |
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 |
setPermissions(PermissionInfo[] permissions)
Sets the permissions of the AR System object. |
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 |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Container(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 ContainerKey getKey()
public void setKey(ContainerKey key)
public void setAdminGroupList(InternalID[] adminList)
adminList - An array of InternalID objectspublic void setPermissions(PermissionInfo[] permissions)
ObjectBase
setPermissions in class ObjectBasepublic 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, ? BMC Software.?
AR_OPROP_VENDOR_PRODUCT: (CHAR):
Indicates the product name. For example, ? AR System.?
AR_OPROP_VENDOR_VERSION: (CHAR):
Indicates the vendor version. For example, ? 6.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 Source Code Control (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 System 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 timestamp of the data or entries stored in a form under
revision control.
AR_OPROP_SCC_DATA_USER : (TIME):
Indicates the SCC username for 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 setDeleteOption(int option)
option - Possible values are:
public ARServerUser getContext()
public void setContext(ARServerUser ctxt)
ARServerUser information with this AR System 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 ObjectBasejava.lang.CloneNotSupportedException
public void create()
throws ARException
create in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if container is not created
public void remove()
throws ARException
remove in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if container is not deleted
public void load()
throws ARException
load in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - 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.
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if container is not returned
public void store()
throws ARException
store in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - 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
|
7.0 Action Request System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||