Examples of prepareForPublication()


Examples of com.esri.gpt.catalog.publication.PublicationRequest.prepareForPublication()

        ProtocolInvoker.setLockTitle(record.getProtocol(), false);
      } else {
        // if the native resource is available, make sure it's a valid metadata resource
        // prepare record for publication; it will validate schema
        PublicationRequest pubReq = new PublicationRequest(context, user, nativeResource.getContent());
        Schema schema = pubReq.prepareForPublication();
        boolean lockTitle = false;
        if (record.getName().length() == 0) {
          title = schema.getMeaning().getTitle();
        } else {
          if (!ProtocolInvoker.getLockTitle(record.getProtocol())) {
View Full Code Here

Examples of com.esri.gpt.catalog.schema.MetadataDocument.prepareForPublication()

public Schema prepareForPublication()
  throws SchemaException, SQLException {

  // prepare the schema for publication, send the request
  MetadataDocument document = new MetadataDocument();
  Schema schema = document.prepareForPublication(this);
  determineSourceUri(schema);
  determineUuid(schema);

  return schema;
}
View Full Code Here

Examples of com.esri.gpt.catalog.schema.MetadataDocument.prepareForPublication()

*/
public void verify() throws SchemaException {

  // prepare the schema for publication, send the request
  MetadataDocument document = new MetadataDocument();
  document.prepareForPublication(this);
}

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.