|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface MdObjectBaseUtil
Provides the Store object and event interactions for Metadata objects.
| Field Summary |
|---|
| 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 void |
addMdObjectListener(MdObjectListener l)
Used to add an object to the list of listeners for changes in the Metadata Object. |
abstract boolean |
delete()
Marks an object as deleted in the owning store and does not allow for retrival of that object. |
abstract void |
dispose()
Removes all links to this object so it can be garbage collected. |
abstract void |
fireMdObjectModified(MdEvent e)
Used to notify all the listeners in the listner list of changes in the metadata object. |
abstract AssociationList |
getAssociatedObjects(java.lang.String strAssociation)
Helper method for getting associated metadata objects. |
abstract AssociationList |
getAssociatedObjects(java.lang.String strAssociation,
java.lang.String strTemplate)
Helper method for getting associated metadata objects. |
abstract AssociationList |
getAssociatedObjects(java.lang.String associationType,
java.lang.String strAssociation,
boolean isPredAssoc,
java.lang.String Properties,
CMetadata parentObj)
Helper method for getting associated metadata objects. |
abstract java.util.List<java.lang.String> |
getAssociationNames()
Returns a list of the association names for this object. |
abstract java.util.Map<java.lang.String,AssociationList> |
getAssocs()
Gets the Map of all associations this object has. |
abstract java.util.Map<java.lang.String,AssociationList> |
getAssocsWA()
Gets the Map of all associations this object has. |
abstract java.util.List<java.lang.String> |
getAttributeNames()
Returns a list of the attribute names for this object. |
abstract java.util.Map<java.lang.String,java.lang.String> |
getAttrs()
Gets the Map of all attributes this object has. |
abstract java.util.Map<java.lang.String,java.lang.Integer> |
getAttrsStates()
Gets the Map of all attributes states this object has. |
abstract int |
getChangeManagementState()
Returns the state of this object in a project repository |
abstract int |
getChgMgtExternalIdentityImportType()
Deprecated. As of 9.2 this method is no longer supported |
abstract java.lang.Object |
getClientSideOnlyObject()
Gets the client-side-only object that is attached to the metadata object. |
abstract AssociationList |
getMdObjectAssociation(java.lang.String associationName)
(S) Set's the list into the object using the set method internally. |
abstract java.util.Map<java.lang.String,AssociationList> |
getPopulatedAssocs()
Gets a Map of all associations that have been populated, either by the client or the server. |
abstract java.util.Map<java.lang.String,java.lang.String> |
getUpdatedAttrs()
Returns a map of all attributes that have been updated locally by the client. |
abstract java.util.ArrayList |
getViewList()
Get all the views associated with this metadata object. |
abstract void |
initializeRequiredObjects()
Used at constructor time to initialize the required objects array |
abstract boolean |
isCheckedOut()
Tells whether or not this object in the checked out state in the project repository |
abstract boolean |
isLocked()
Tells whether on not this object is locked in a repository. |
abstract boolean |
objectModified()
Tells whether any of the attributes or associationLists on this object have been changed. |
abstract void |
removeMdObjectListener(MdObjectListener l)
Used to remove an object from the list of listeners for changes in the Metadata Object. |
abstract void |
setAttrs(java.util.Map<java.lang.String,com.sas.metadata.remote.MdObjectAttribute> attrMap)
(S) Sets the Map of all attributes this object has. |
abstract void |
setChangeManagementTargetRepository(java.lang.String targetRepos)
Deprecated. As of 9.2 this method is no longer supported |
abstract void |
setChgMgtExternalIdentityImportType(int type)
Deprecated. As of 9.2 this method is no longer supported |
abstract void |
setClientSideOnlyObject(java.lang.Object oObject)
Sets the client-side-only object that is attached to the metadata object. |
abstract void |
setMdObjectAssociation(AssociationList inList)
Set's the list into the object using the set method internally. |
abstract void |
touch()
Touches the object so that its last modified date will be updated the next time this object is persisted to the server. |
abstract void |
updateAssnsIds(java.lang.String oldID,
java.lang.String newID)
Updates the ids in the association lists contained in this object. |
| Method Detail |
|---|
java.util.List<java.lang.String> getAttributeNames()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<java.lang.String> getAssociationNames()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Map<java.lang.String,java.lang.String> getAttrs()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setAttrs(java.util.Map<java.lang.String,com.sas.metadata.remote.MdObjectAttribute> attrMap)
throws java.rmi.RemoteException
Map - of attributes.
java.rmi.RemoteException
java.util.Map<java.lang.String,java.lang.String> getUpdatedAttrs()
throws java.rmi.RemoteException
MetadataState.LOCAL.
java.rmi.RemoteException
java.util.Map<java.lang.String,java.lang.Integer> getAttrsStates()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.util.Map<java.lang.String,AssociationList> getAssocs()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.util.Map<java.lang.String,AssociationList> getPopulatedAssocs()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Map<java.lang.String,AssociationList> getAssocsWA()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setMdObjectAssociation(AssociationList inList)
throws java.rmi.RemoteException
inList - list to be set for the association.
java.rmi.RemoteException
AssociationList getMdObjectAssociation(java.lang.String associationName)
throws java.rmi.RemoteException,
MdException
inList - list to be set for the association.
java.rmi.RemoteException
MdException
void initializeRequiredObjects()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void addMdObjectListener(MdObjectListener l)
throws java.rmi.RemoteException
l - MetadataListener
java.rmi.RemoteException - if connection to object is lost.
void removeMdObjectListener(MdObjectListener l)
throws java.rmi.RemoteException
l - MetadataListener
java.rmi.RemoteException - if connection to object is lost.
void fireMdObjectModified(MdEvent e)
throws java.rmi.RemoteException
e - ChangeEvent Created like: new ChangeEvent(Object generator)
- Throws:
java.rmi.RemoteException - if connection to object is lost.
java.util.ArrayList getViewList()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
AssociationList getAssociatedObjects(java.lang.String strAssociation)
throws MdException,
java.rmi.RemoteException
strAssociation - String
MdException - if error getting the data
java.rmi.RemoteException - if connection to object is lost.
AssociationList getAssociatedObjects(java.lang.String associationType,
java.lang.String strAssociation,
boolean isPredAssoc,
java.lang.String Properties,
CMetadata parentObj)
throws MdException,
java.rmi.RemoteException
strAssociation - String The name of the association "Colums"associationType - String The type of association "Column-Table"isPredAssoc - booleanProperties - String String for cardinalities and req for addparentObj - CMetadata the object that owns the associaition.
MdException - if error getting the data
java.rmi.RemoteException - if connection to object is lost.
AssociationList getAssociatedObjects(java.lang.String strAssociation,
java.lang.String strTemplate)
throws MdException,
java.rmi.RemoteException
strAssociation - String The name of the association "Colums"strTemplate - String
MdException - if error getting the data
java.rmi.RemoteException - if connection to object is lost.
boolean delete()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void dispose()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void touch()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean objectModified()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void updateAssnsIds(java.lang.String oldID,
java.lang.String newID)
throws java.rmi.RemoteException
oldID - StringnewID - String
java.rmi.RemoteException - if connection to object is lost.
java.lang.Object getClientSideOnlyObject()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setClientSideOnlyObject(java.lang.Object oObject)
throws java.rmi.RemoteException
oObject - the client-side-only object
java.rmi.RemoteException - if connection to object is lost.
boolean isLocked()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
boolean isCheckedOut()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
int getChangeManagementState()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setChangeManagementTargetRepository(java.lang.String targetRepos)
throws java.rmi.RemoteException
targetRepos - String the string name for the Identity value of the ExternalIdentity object connected to this one.
java.rmi.RemoteException - if connection to object is lost.
void setChgMgtExternalIdentityImportType(int type)
throws java.rmi.RemoteException
type - int
java.rmi.RemoteException - if connection to object is lost.
int getChgMgtExternalIdentityImportType()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||