|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.ObjectBase com.bmc.arsys.api.Container
public abstract class Container
Class and methods for container object. Containers are generic lists of references that are used to define guides and applications.
Constructor Summary | |
---|---|
Container()
construct an empty container instance |
Method Summary | |
---|---|
void |
activate()
AR System reserved method. |
void |
clear()
Clears all of the references to member objects. |
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
List<Integer> |
getAdminGroupList()
Returns list of zero or more groups who can administer this container (and the referenced objects). |
List<PermissionInfo> |
getAssignedGroup()
get list of assigned group |
List<ContainerOwner> |
getContainerOwner()
Returns the form that owns this container. |
String |
getDescription()
Returns description for this container. |
String |
getKey()
Returns unique identifier (name) for container. |
String |
getLabel()
Returns label for this container. |
ObjectPropertyMap |
getProperties()
Returns object properties list associated with the container. |
List<Reference> |
getReferences()
Returns a list of pointers to the objects referenced by this container. |
int |
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 |
passivate()
AR System reserved method. |
void |
removeReferenceByObject(Reference object)
Removes a reference from the reference list by comparing the objects using ==. |
void |
setAdminGroupList(List<Integer> adminList)
Sets list of zero or more groups who can administer this container (and the referenced objects). |
void |
setContainerOwner(List<ContainerOwner> owner)
Sets the form that owns this container. |
void |
setDescription(String desc)
Sets description for this container. |
void |
setKey(String key)
Sets unique identifier (name) for container. |
void |
setLabel(String label)
Sets label for this container. |
void |
setPermissions(List<PermissionInfo> permissionList)
Sets a list of zero or more groups who can access this container |
void |
setProperties(ObjectPropertyMap props)
Sets object properties list associated with the container. |
void |
setReferences(List<Reference> refs)
Sets a list of pointers to the objects referenced by this container. |
String |
toString()
Returns a string description of the object. |
Methods inherited from class com.bmc.arsys.api.ObjectBase |
---|
appendDiaryText, getChangeFlags, getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, setChangeFlags, setDiary, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Container()
Method Detail |
---|
public String getKey()
public void setKey(String key)
public void setAdminGroupList(List<Integer> adminList)
adminList
- An array of int objectspublic List<Integer> getAdminGroupList()
public void setPermissions(List<PermissionInfo> permissionList)
setPermissions
in interface IARPersistentObject
setPermissions
in class ObjectBase
public void setLabel(String label)
public String getLabel()
public void setDescription(String desc)
public String getDescription()
public int getType()
ARCON_GUIDE
), application (ARCON_APP
),
or a custom type you have defined.
public void setReferences(List<Reference> refs)
ExternalReference
external objects such as URLs or file names.
public List<Reference> getReferences()
ExternalReference
external objects such as URLs or file names.
public void setContainerOwner(List<ContainerOwner> owner)
owner
- ContainerOwner
public List<ContainerOwner> getContainerOwner()
public void setProperties(ObjectPropertyMap 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 ObjectPropertyMap getProperties()
public void clear()
clear
in class ObjectBase
public Object clone() throws CloneNotSupportedException
clone
in class ObjectBase
CloneNotSupportedException
public void activate()
public void passivate()
public boolean equals(Object obj)
equals
in class ObjectBase
obj
- the object that we are comparing to
public int hashCode()
hashCode
in class ObjectBase
public String toString()
toString
in class ObjectBase
public void removeReferenceByObject(Reference object)
object
- Reference to remove from the listpublic List<PermissionInfo> getAssignedGroup()
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |