|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Tree
This type represents a tree that is the root node for a hierarchy of groups of metadata.
Attributes of Tree are:
Associations of Tree are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); Tree myObject = (Tree) factory.createComplexMetadataObject(objectStore, "Tree_Object", MetadataObjects.TREE, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_ASSOCIATEDIDENTITY_NAME
Constant used for the name of the AssociatedIdentity association. |
static java.lang.String |
ASSOCIATION_ASSOCIATEDPSPORTLET_NAME
Constant used for the name of the AssociatedPSPortlet association. |
static java.lang.String |
ASSOCIATION_MEMBERS_NAME
Constant used for the name of the Members association. |
static java.lang.String |
ASSOCIATION_PARENTTREE_NAME
Constant used for the name of the ParentTree association. |
static java.lang.String |
ASSOCIATION_SOFTWARECOMPONENTS_NAME
Constant used for the name of the SoftwareComponents association. |
static java.lang.String |
ASSOCIATION_SUBTREES_NAME
Constant used for the name of the SubTrees association. |
static java.lang.String |
ATTRIBUTE_TREETYPE_NAME
Constant used for the name of the TreeType attribute. |
| Fields inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
abstract Identity |
getAssociatedIdentity()
Gets the Identity for AssociatedIdentity |
abstract AssociationList |
getAssociatedIdentitys()
Gets the AssociationList of AssociatedIdentitys |
abstract AssociationList |
getAssociatedIdentitys(boolean fGoToServer)
Gets the Associationlist of AssociatedIdentitys |
abstract PSPortlet |
getAssociatedPSPortlet()
Gets the PSPortlet for AssociatedPSPortlet |
abstract AssociationList |
getAssociatedPSPortlets()
Gets the AssociationList of AssociatedPSPortlets |
abstract AssociationList |
getAssociatedPSPortlets(boolean fGoToServer)
Gets the Associationlist of AssociatedPSPortlets |
abstract AssociationList |
getMembers()
Gets the AssociationList of Members |
abstract AssociationList |
getMembers(boolean fGoToServer)
Gets the Associationlist of Members |
abstract Tree |
getParentTree()
Gets the Tree for ParentTree |
abstract AssociationList |
getParentTrees()
Gets the AssociationList of ParentTrees |
abstract AssociationList |
getParentTrees(boolean fGoToServer)
Gets the Associationlist of ParentTrees |
abstract AssociationList |
getSoftwareComponents()
Gets the Association list of SoftwareComponents |
abstract AssociationList |
getSoftwareComponents(boolean fGoToServer)
Gets the Associationlist of SoftwareComponents |
abstract AssociationList |
getSubTrees()
Gets the Association list of SubTrees |
abstract AssociationList |
getSubTrees(boolean fGoToServer)
Gets the Associationlist of SubTrees |
abstract java.lang.String |
getTreeType()
Gets the String value of TreeType |
abstract int |
getTreeTypeMaxLength()
Gets the maximum length of TreeType |
abstract int |
getTreeTypeState()
Gets the Metadata State of TreeType |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedIdentityAssociatedPSPortletMembersParentTree |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setAssociatedIdentity(Identity inObject)
Sets the AssociatedIdentitys list 0th element to be inObject. |
abstract void |
setAssociatedIdentitys(AssociationList list)
Sets the AssociatedIdentitys list to be list. |
abstract void |
setAssociatedIdentitys(AssociationList list,
int state)
Sets the AssociatedIdentitys list to be list. |
abstract void |
setAssociatedPSPortlet(PSPortlet inObject)
Sets the AssociatedPSPortlets list 0th element to be inObject. |
abstract void |
setAssociatedPSPortlets(AssociationList list)
Sets the AssociatedPSPortlets list to be list. |
abstract void |
setAssociatedPSPortlets(AssociationList list,
int state)
Sets the AssociatedPSPortlets list to be list. |
abstract void |
setMembers(AssociationList list)
Sets the Members list to be list. |
abstract void |
setMembers(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setParentTree(Tree inObject)
Sets the ParentTrees list 0th element to be inObject. |
abstract void |
setParentTrees(AssociationList list)
Sets the ParentTrees list to be list. |
abstract void |
setParentTrees(AssociationList list,
int state)
Sets the ParentTrees list to be list. |
abstract void |
setSoftwareComponents(AssociationList list)
Sets the SoftwareComponents list to be list. |
abstract void |
setSoftwareComponents(AssociationList inObjects,
int state)
Sets the entire SoftwareComponents list to match the passed in AssociationList, sets the state of the SoftwareComponents |
abstract void |
setSubTrees(AssociationList list)
Sets the SubTrees list to be list. |
abstract void |
setSubTrees(AssociationList inObjects,
int state)
Sets the entire SubTrees list to match the passed in AssociationList, sets the state of the SubTrees |
abstract void |
setTreeType(java.lang.String inTreeType)
Sets the TreeType value and sets the state to MetadataState.LOCAL. |
abstract void |
setTreeType(java.lang.String inTreeType,
int state)
Sets the TreeType Metadata State. |
abstract void |
setTreeTypeState(int state)
Sets the Metadata State of TreeType. |
| Methods inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_TREETYPE_NAME
TreeType: This attribute allows applications to store information about what the intended use of this tree is.
static final java.lang.String ASSOCIATION_ASSOCIATEDIDENTITY_NAME
AssociatedIdentity: The identity associated with this home folder.
static final java.lang.String ASSOCIATION_ASSOCIATEDPSPORTLET_NAME
AssociatedPSPortlet: The object for which this tree contains hierarchical information.
static final java.lang.String ASSOCIATION_MEMBERS_NAME
Members: The members of this tree.
static final java.lang.String ASSOCIATION_PARENTTREE_NAME
ParentTree: The parent of this tree.
static final java.lang.String ASSOCIATION_SOFTWARECOMPONENTS_NAME
SoftwareComponents: *Unknown*
static final java.lang.String ASSOCIATION_SUBTREES_NAME
SubTrees: *Unknown*
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
AssociatedIdentityAssociatedPSPortletMembersParentTree
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getTreeType()
throws java.rmi.RemoteException
String value of TreeType
TreeType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTreeTypeState()
throws java.rmi.RemoteException
TreeType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTreeTypeMaxLength()
throws java.rmi.RemoteException
TreeType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getAssociatedIdentitys()
throws java.rmi.RemoteException,
MdException
AssociatedIdentitys
AssociatedIdentitys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
Identity getAssociatedIdentity()
throws java.rmi.RemoteException,
MdException
Identity for AssociatedIdentity
Identity ( null if not set) of AssociatedIdentitywhich can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getAssociatedPSPortlets()
throws java.rmi.RemoteException,
MdException
AssociatedPSPortlets
AssociatedPSPortlets which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
PSPortlet getAssociatedPSPortlet()
throws java.rmi.RemoteException,
MdException
PSPortlet for AssociatedPSPortlet
PSPortlet ( null if not set) of AssociatedPSPortletwhich can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getMembers()
throws java.rmi.RemoteException,
MdException
Members
Members which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getParentTrees()
throws java.rmi.RemoteException,
MdException
ParentTrees
ParentTrees which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
Tree getParentTree()
throws java.rmi.RemoteException,
MdException
Tree for ParentTree
Tree ( null if not set) of ParentTreewhich can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getSoftwareComponents()
throws java.rmi.RemoteException,
MdException
SoftwareComponents
SoftwareComponents which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getSubTrees()
throws java.rmi.RemoteException,
MdException
SubTrees
SubTrees which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getAssociatedIdentitys(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AssociatedIdentitys
fGoToServer - boolean Get the value from the server.
AssociatedIdentitys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getAssociatedPSPortlets(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AssociatedPSPortlets
fGoToServer - boolean Get the value from the server.
AssociatedPSPortlets which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getMembers(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Members
fGoToServer - boolean Get the value from the server.
Members which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getParentTrees(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
ParentTrees
fGoToServer - boolean Get the value from the server.
ParentTrees which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getSoftwareComponents(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
SoftwareComponents
fGoToServer - boolean Get the value from the server.
SoftwareComponents which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getSubTrees(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
SubTrees
fGoToServer - boolean Get the value from the server.
SubTrees which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setTreeType(java.lang.String inTreeType)
throws java.rmi.RemoteException
TreeType value and sets the state to MetadataState.LOCAL.
inTreeType - String
java.rmi.RemoteException - If error communicating with remote object.
void setTreeType(java.lang.String inTreeType,
int state)
throws java.rmi.RemoteException
TreeType Metadata State.
inTreeType - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTreeTypeState(int state)
throws java.rmi.RemoteException
TreeType.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedIdentitys(AssociationList list)
throws java.rmi.RemoteException
AssociatedIdentitys list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedIdentitys(AssociationList list,
int state)
throws java.rmi.RemoteException
AssociatedIdentitys list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedIdentity(Identity inObject)
throws java.rmi.RemoteException
AssociatedIdentitys list 0th element to be inObject.
inObject - Identity
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedPSPortlets(AssociationList list)
throws java.rmi.RemoteException
AssociatedPSPortlets list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedPSPortlets(AssociationList list,
int state)
throws java.rmi.RemoteException
AssociatedPSPortlets list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedPSPortlet(PSPortlet inObject)
throws java.rmi.RemoteException
AssociatedPSPortlets list 0th element to be inObject.
inObject - PSPortlet
java.rmi.RemoteException - If error communicating with remote object.
void setMembers(AssociationList list)
throws java.rmi.RemoteException
Members list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setMembers(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setParentTrees(AssociationList list)
throws java.rmi.RemoteException
ParentTrees list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setParentTrees(AssociationList list,
int state)
throws java.rmi.RemoteException
ParentTrees list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setParentTree(Tree inObject)
throws java.rmi.RemoteException
ParentTrees list 0th element to be inObject.
inObject - Tree
java.rmi.RemoteException - If error communicating with remote object.
void setSoftwareComponents(AssociationList list)
throws java.rmi.RemoteException
SoftwareComponents list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setSoftwareComponents(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setSubTrees(AssociationList list)
throws java.rmi.RemoteException
SubTrees list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setSubTrees(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||