|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.metadata.publish.Publish
public class Publish
Used to publish data to the Metadata Server.
Constructor Summary | |
---|---|
Publish()
|
Method Summary | |
---|---|
String |
addMetadata(ConnectionProxy cp)
Adds the dataset that is represented by the dataset instance field. |
String |
addMetadataRelationship(ConnectionProxy cp,
String docId)
Establishes a relationship between a source metadata document and one or more child or sibling metadata documents. |
String |
addMetadataSemantic(ConnectionProxy cp)
Sets the framework for establishing a relationship between a tag and the numeric code defining semantics from the GEO Attribute Set. |
boolean |
addRelevance(int relevance,
ConnectionProxy cp)
Adds a relevance to the Dataset in the Metadata repository. |
String |
changeMetadataAccess(ConnectionProxy cp)
Changes the access of a metadata document. |
String |
changeMetadataName(ConnectionProxy cp,
String docId,
String newName)
Changes the name of a metadata document. |
String |
changeOwner(ConnectionProxy cp,
String docId,
String newOwner)
Changes the owner of a metadata document. |
String |
deleteMetadata(ConnectionProxy cp)
Deletes the dataset represented by the dataset instance field. |
String |
deleteMetadataRelationship(ConnectionProxy cp,
String docId)
Deletes relationships beween a source metadata document and one or more child/sibling metadata documents. |
Dataset |
getDataset()
Returns the dataset object. |
MetadataRelationshipCollection |
getMetadataRelationshipCollection()
Returns the MetadataRelationshipCollection associated with this object. |
SemanticPairCollection |
getSemanticPairCollection()
Returns the SemanticPairCollection object associated with this object. |
void |
setDataset(Dataset dataset)
Sets the given dataset. |
void |
setMetadataRelationshipCollection(MetadataRelationshipCollection newMetadataRelationshipColl)
Sets the given MetadataRelationshipCollection with this object. |
void |
setSemanticPairCollection(SemanticPairCollection newSemanticPairColl)
Sets the SemanticPairCollection for this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Publish()
Method Detail |
---|
public String addMetadata(ConnectionProxy cp) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
cp
- The ConnnectionProxy that is used to connect to the ArcIMS Server.
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public String deleteMetadata(ConnectionProxy cp) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
cp
- the ConnnectionProxy used to connect to the ArcIMS Server.
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public String addMetadataRelationship(ConnectionProxy cp, String docId) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
cp
- the ConnnectionProxy used to connect to the ArcIMS Server.docId
- identifies the source or parent metadata document.
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public String deleteMetadataRelationship(ConnectionProxy cp, String docId) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
cp
- the ConnnectionProxy used to connect to the ArcIMS Server.docId
- identifies the source or parent metadata document.
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public String addMetadataSemantic(ConnectionProxy cp) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
cp
- the ConnnectionProxy that is used to connect to the ArcIMS
Server.
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public String changeMetadataAccess(ConnectionProxy cp) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
cp
- the ConnnectionProxy used to connect to the ArcIMS Server.
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public String changeOwner(ConnectionProxy cp, String docId, String newOwner) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
cp
- the ConnnectionProxy used to connect to the ArcIMS Server.docId
- The document ID. (REQUIRED)newOwner
- New owner for the given metadata. (REQUIRED)
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public String changeMetadataName(ConnectionProxy cp, String docId, String newName) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
cp
- the ConnnectionProxy used to connect to the ArcIMS Server.docId
- The document ID. (REQUIRED)newName
- New name for the given metadata. (REQUIRED)
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public boolean addRelevance(int relevance, ConnectionProxy cp) throws ConnectionParameterException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, AuthenticationException, IOException
relevance
- the new relevance rating to give to the Dataset. This
value must be between 1 and 10.cp
- The ConnnectionProxy to use to make the request to the server.
ConnectionParameterException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
AuthenticationException
IOException
public void setDataset(Dataset dataset)
public Dataset getDataset()
public void setMetadataRelationshipCollection(MetadataRelationshipCollection newMetadataRelationshipColl)
public MetadataRelationshipCollection getMetadataRelationshipCollection()
public void setSemanticPairCollection(SemanticPairCollection newSemanticPairColl)
public SemanticPairCollection getSemanticPairCollection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |