Package com.esri.gpt.catalog.publication

Examples of com.esri.gpt.catalog.publication.EditorRequest.publish()


    EditorRequest request = new EditorRequest(context,publisher,sXml);
    request.getPublicationRecord().setUuid(getOpenDocumentUuid());
    if (asDraft) {
      request.getPublicationRecord().setApprovalStatus(MmdEnums.ApprovalStatus.draft.toString());
    }
    request.publish();
    setOpenDocumentUuid(request.getPublicationRecord().getUuid());
    if (asDraft) {
      msgBroker.addSuccessMessage("catalog.publication.success.draftSaved");
    } else {
      if (request.getPublicationRecord().getWasDocumentReplaced()) {
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.