|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Directory
Represents a physical operating system path. Directory objects should not be shared by multiple public objects.
Attributes of Directory are:
Associations of Directory 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(); Directory myObject = (Directory) factory.createComplexMetadataObject(objectStore, "Directory_Object", MetadataObjects.DIRECTORY, "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_DIMENSIONS_NAME
Constant used for the name of the Dimensions association. |
static java.lang.String |
ASSOCIATION_FILES_NAME
Constant used for the name of the Files association. |
static java.lang.String |
ASSOCIATION_ITCHANNELS_NAME
Constant used for the name of the ITChannels association. |
static java.lang.String |
ASSOCIATION_ITSUBSCRIBERS_NAME
Constant used for the name of the ITSubscribers association. |
static java.lang.String |
ASSOCIATION_PARENT_NAME
Constant used for the name of the Parent association. |
static java.lang.String |
ASSOCIATION_PATHCHANNELS_NAME
Constant used for the name of the PathChannels association. |
static java.lang.String |
ASSOCIATION_SUBDIRECTORIES_NAME
Constant used for the name of the SubDirectories association. |
static java.lang.String |
ATTRIBUTE_DIRECTORYNAME_NAME
Constant used for the name of the DirectoryName attribute. |
static java.lang.String |
ATTRIBUTE_DIRECTORYROLE_NAME
Constant used for the name of the DirectoryRole attribute. |
static java.lang.String |
ATTRIBUTE_ISRELATIVE_NAME
Constant used for the name of the IsRelative attribute. |
Fields inherited from interface com.sas.metadata.remote.ContentLocation |
---|
ASSOCIATION_ASSOCIATEDCONTENTTYPE_NAME, ASSOCIATION_FILEREFS_NAME, ASSOCIATION_REPORTS_NAME, ASSOCIATION_TSASSOCIATEDNAMESPACE_NAME, ASSOCIATION_UNITOFTIMES_NAME |
Fields inherited from interface com.sas.metadata.remote.DeployedDataPackage |
---|
ASSOCIATION_ALIASES_NAME, ASSOCIATION_ALIASFOR_NAME, ASSOCIATION_DEPLOYEDCOMPONENTS_NAME, ASSOCIATION_TABLECOLLECTIONS_NAME, ASSOCIATION_USEDBYPACKAGES_NAME, ASSOCIATION_USINGPACKAGES_NAME |
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 | |
---|---|
AssociationList |
getDimensions()
Gets the Association list of Dimensions |
AssociationList |
getDimensions(boolean fGoToServer)
Gets the Associationlist of Dimensions |
java.lang.String |
getDirectoryName()
Gets the String value of DirectoryName |
int |
getDirectoryNameMaxLength()
Gets the maximum length of DirectoryName |
int |
getDirectoryNameState()
Gets the Metadata State of DirectoryName |
java.lang.String |
getDirectoryRole()
Gets the String value of DirectoryRole |
int |
getDirectoryRoleMaxLength()
Gets the maximum length of DirectoryRole |
int |
getDirectoryRoleState()
Gets the Metadata State of DirectoryRole |
AssociationList |
getFiles()
Gets the AssociationList of Files |
AssociationList |
getFiles(boolean fGoToServer)
Gets the Associationlist of Files |
int |
getIsRelative()
Gets the int value of IsRelative |
int |
getIsRelativeState()
Gets the Metadata State of IsRelative |
AssociationList |
getITChannels()
Gets the Association list of ITChannels |
AssociationList |
getITChannels(boolean fGoToServer)
Gets the Associationlist of ITChannels |
AssociationList |
getITSubscribers()
Gets the Association list of ITSubscribers |
AssociationList |
getITSubscribers(boolean fGoToServer)
Gets the Associationlist of ITSubscribers |
Directory |
getParent()
Gets the Directory for Parent |
AssociationList |
getParents()
Gets the AssociationList of Parents |
AssociationList |
getParents(boolean fGoToServer)
Gets the Associationlist of Parents |
AssociationList |
getPathChannels()
Gets the Association list of PathChannels |
AssociationList |
getPathChannels(boolean fGoToServer)
Gets the Associationlist of PathChannels |
AssociationList |
getSubDirectories()
Gets the Association list of SubDirectories |
AssociationList |
getSubDirectories(boolean fGoToServer)
Gets the Associationlist of SubDirectories |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: Files Parent |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setDimensions(AssociationList list)
Sets the Dimensions list to be list . |
void |
setDimensions(AssociationList inObjects,
int state)
Sets the entire Dimensions list to match the passed in AssociationList, sets the state of the Dimensions |
void |
setDirectoryName(java.lang.String inDirectoryName)
Sets the DirectoryName value and sets the state to MetadataState.LOCAL. |
void |
setDirectoryName(java.lang.String inDirectoryName,
int state)
Sets the DirectoryName Metadata State. |
void |
setDirectoryNameState(int state)
Sets the Metadata State of DirectoryName . |
void |
setDirectoryRole(java.lang.String inDirectoryRole)
Sets the DirectoryRole value and sets the state to MetadataState.LOCAL. |
void |
setDirectoryRole(java.lang.String inDirectoryRole,
int state)
Sets the DirectoryRole Metadata State. |
void |
setDirectoryRoleState(int state)
Sets the Metadata State of DirectoryRole . |
void |
setFiles(AssociationList list)
Sets the Files list to be list . |
void |
setFiles(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setIsRelative(int inIsRelative)
Sets the IsRelative value and sets the state to MetadataState.LOCAL. |
void |
setIsRelative(int inIsRelative,
int state)
Sets the IsRelative Metadata State. |
void |
setIsRelative(java.lang.String inIsRelative)
Sets the IsRelative value and sets the state to MetadataState.LOCAL. |
void |
setIsRelative(java.lang.String inIsRelative,
int state)
Sets the IsRelative value and Metadata State. |
void |
setIsRelativeState(int state)
Sets the Metadata State of IsRelative . |
void |
setITChannels(AssociationList list)
Sets the ITChannels list to be list . |
void |
setITChannels(AssociationList inObjects,
int state)
Sets the entire ITChannels list to match the passed in AssociationList, sets the state of the ITChannels |
void |
setITSubscribers(AssociationList list)
Sets the ITSubscribers list to be list . |
void |
setITSubscribers(AssociationList inObjects,
int state)
Sets the entire ITSubscribers list to match the passed in AssociationList, sets the state of the ITSubscribers |
void |
setParent(Directory inObject)
Sets the Parents list 0th element to be inObject . |
void |
setParents(AssociationList list)
Sets the Parents list to be list . |
void |
setParents(AssociationList list,
int state)
Sets the Parents list to be list . |
void |
setPathChannels(AssociationList list)
Sets the PathChannels list to be list . |
void |
setPathChannels(AssociationList inObjects,
int state)
Sets the entire PathChannels list to match the passed in AssociationList, sets the state of the PathChannels |
void |
setSubDirectories(AssociationList list)
Sets the SubDirectories list to be list . |
void |
setSubDirectories(AssociationList inObjects,
int state)
Sets the entire SubDirectories list to match the passed in AssociationList, sets the state of the SubDirectories |
Methods inherited from interface com.sas.metadata.remote.DeployedDataPackage |
---|
getAliases, getAliases, getAliasFor, getAliasFors, getAliasFors, getDeployedComponents, getDeployedComponents, getTableCollections, getTableCollections, getUsedByPackages, getUsedByPackages, getUsingPackages, getUsingPackages, setAliases, setAliases, setAliasFor, setAliasFors, setAliasFors, setDeployedComponents, setDeployedComponents, setTableCollections, setTableCollections, setUsedByPackages, setUsedByPackages, setUsingPackages, setUsingPackages |
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_DIRECTORYNAME_NAME
DirectoryName: The name of this directory in the file system.
static final java.lang.String ATTRIBUTE_ISRELATIVE_NAME
IsRelative: True if the DirectoryName is not a fully qualified path.
static final java.lang.String ATTRIBUTE_DIRECTORYROLE_NAME
DirectoryRole: Directory role is used when a directory should be used only within a given context.
static final java.lang.String ASSOCIATION_FILES_NAME
Files: The files in this directory.
static final java.lang.String ASSOCIATION_PARENT_NAME
Parent: The parent directory of this directory.
static final java.lang.String ASSOCIATION_DIMENSIONS_NAME
Dimensions: The shared dimensions in this directory.
static final java.lang.String ASSOCIATION_ITCHANNELS_NAME
ITChannels: The ITChannels that publish to this location.
static final java.lang.String ASSOCIATION_ITSUBSCRIBERS_NAME
ITSubscribers: The ITSsubscribers for this http server directory.
static final java.lang.String ASSOCIATION_PATHCHANNELS_NAME
PathChannels: The channels that have defined this directory as a preferred archive directory.
static final java.lang.String ASSOCIATION_SUBDIRECTORIES_NAME
SubDirectories: The subdirectories of this directory.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface ContentLocation
initializeRequiredObjects
in interface DeployedDataPackage
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
Files
Parent
initializePredObjects
in interface ContentLocation
initializePredObjects
in interface DeployedDataPackage
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getDirectoryName() throws java.rmi.RemoteException
String
value of DirectoryName
DirectoryName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDirectoryNameState() throws java.rmi.RemoteException
DirectoryName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDirectoryNameMaxLength() throws java.rmi.RemoteException
DirectoryName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsRelative() throws java.rmi.RemoteException
int
value of IsRelative
IsRelative
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsRelativeState() throws java.rmi.RemoteException
IsRelative
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getDirectoryRole() throws java.rmi.RemoteException
String
value of DirectoryRole
DirectoryRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDirectoryRoleState() throws java.rmi.RemoteException
DirectoryRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDirectoryRoleMaxLength() throws java.rmi.RemoteException
DirectoryRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getFiles() throws java.rmi.RemoteException, MdException
Files
Files
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 getParents() throws java.rmi.RemoteException, MdException
Parents
Parents
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Directory getParent() throws java.rmi.RemoteException, MdException
Directory
for Parent
Directory
( null
if not set) of Parent
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 getDimensions() throws java.rmi.RemoteException, MdException
Dimensions
Dimensions
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 getITChannels() throws java.rmi.RemoteException, MdException
ITChannels
ITChannels
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 getITSubscribers() throws java.rmi.RemoteException, MdException
ITSubscribers
ITSubscribers
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 getPathChannels() throws java.rmi.RemoteException, MdException
PathChannels
PathChannels
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 getSubDirectories() throws java.rmi.RemoteException, MdException
SubDirectories
SubDirectories
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 getFiles(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Files
fGoToServer
- boolean Get the value from the server.
Files
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 getParents(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Parents
fGoToServer
- boolean Get the value from the server.
Parents
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 getDimensions(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Dimensions
fGoToServer
- boolean Get the value from the server.
Dimensions
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 getITChannels(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ITChannels
fGoToServer
- boolean Get the value from the server.
ITChannels
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 getITSubscribers(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ITSubscribers
fGoToServer
- boolean Get the value from the server.
ITSubscribers
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 getPathChannels(boolean fGoToServer) throws java.rmi.RemoteException, MdException
PathChannels
fGoToServer
- boolean Get the value from the server.
PathChannels
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 getSubDirectories(boolean fGoToServer) throws java.rmi.RemoteException, MdException
SubDirectories
fGoToServer
- boolean Get the value from the server.
SubDirectories
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 setDirectoryName(java.lang.String inDirectoryName) throws java.rmi.RemoteException
DirectoryName
value and sets the state to MetadataState.LOCAL.
inDirectoryName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setDirectoryName(java.lang.String inDirectoryName, int state) throws java.rmi.RemoteException
DirectoryName
Metadata State.
inDirectoryName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDirectoryNameState(int state) throws java.rmi.RemoteException
DirectoryName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsRelative(int inIsRelative) throws java.rmi.RemoteException
IsRelative
value and sets the state to MetadataState.LOCAL.
inIsRelative
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsRelative(int inIsRelative, int state) throws java.rmi.RemoteException
IsRelative
Metadata State.
inIsRelative
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsRelative(java.lang.String inIsRelative) throws java.rmi.RemoteException
IsRelative
value and sets the state to MetadataState.LOCAL.
inIsRelative
- String
java.rmi.RemoteException
- If error communicating with remote object.void setIsRelative(java.lang.String inIsRelative, int state) throws java.rmi.RemoteException
IsRelative
value and Metadata State.
inIsRelative
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsRelativeState(int state) throws java.rmi.RemoteException
IsRelative
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDirectoryRole(java.lang.String inDirectoryRole) throws java.rmi.RemoteException
DirectoryRole
value and sets the state to MetadataState.LOCAL.
inDirectoryRole
- String
java.rmi.RemoteException
- If error communicating with remote object.void setDirectoryRole(java.lang.String inDirectoryRole, int state) throws java.rmi.RemoteException
DirectoryRole
Metadata State.
inDirectoryRole
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDirectoryRoleState(int state) throws java.rmi.RemoteException
DirectoryRole
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFiles(AssociationList list) throws java.rmi.RemoteException
Files
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setFiles(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setParents(AssociationList list) throws java.rmi.RemoteException
Parents
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setParents(AssociationList list, int state) throws java.rmi.RemoteException
Parents
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setParent(Directory inObject) throws java.rmi.RemoteException
Parents
list 0th element to be inObject
.
inObject
- Directory
java.rmi.RemoteException
- If error communicating with remote object.void setDimensions(AssociationList list) throws java.rmi.RemoteException
Dimensions
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setDimensions(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setITChannels(AssociationList list) throws java.rmi.RemoteException
ITChannels
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setITChannels(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setITSubscribers(AssociationList list) throws java.rmi.RemoteException
ITSubscribers
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setITSubscribers(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPathChannels(AssociationList list) throws java.rmi.RemoteException
PathChannels
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setPathChannels(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSubDirectories(AssociationList list) throws java.rmi.RemoteException
SubDirectories
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setSubDirectories(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 |