Package xregistry.generated.GetOGCEResourceDocument

Examples of xregistry.generated.GetOGCEResourceDocument.GetOGCEResource


        log.info("Response " + responseDocument.xmlText());
        return responseDocument;
    }
  public GetOGCEResourceResponseDocument getOGCEResource(GetOGCEResourceDocument input) throws XregistryException {
    log.info("Request Received " + input.xmlText());
     GetOGCEResource resource = input.getGetOGCEResource();
    GetOGCEResourceResponseDocument responseDocument = GetOGCEResourceResponseDocument.Factory
        .newInstance();
     String parentTypedID = resource.getParentTypedID();
          if(parentTypedID == null || parentTypedID.trim() == "" )
          {
            parentTypedID = XregistryConstants.DEFAULTPARENT;
          }
    responseDocument.addNewGetOGCEResourceResponse().setResourceAsStr(registryImpl.getOGCEResource(findUserDN(),
     resource.getResourceID(), resource.getResourceType(), parentTypedID));
    log.info("Response " + responseDocument.xmlText());
    return responseDocument;

  }
View Full Code Here


       * @return
       * @throws XRegistryClientException
       */
      public String getOGCEResource(QName resourceID, String resourceType, String resourceParentTypedID) throws XRegistryClientException {
          GetOGCEResourceDocument input = GetOGCEResourceDocument.Factory.newInstance();
          GetOGCEResource document = input.addNewGetOGCEResource();
          document.setResourceID(resourceID);
          document.setResourceType(resourceType);
          document.setParentTypedID(resourceParentTypedID);
          return xregistryStub.getOGCEResource(input).getGetOGCEResourceResponse().getResourceAsStr();
      }
View Full Code Here

     * @return
     * @throws XregistryException
     */
    public String getOGCEResource(QName resourceID, String resourceType, String resourceParentTypedID) throws XregistryException {
        GetOGCEResourceDocument input = GetOGCEResourceDocument.Factory.newInstance();
        GetOGCEResource document = input.addNewGetOGCEResource();
        document.setResourceID(resourceID);
        document.setResourceType(resourceType);
        document.setParentTypedID(resourceParentTypedID);
        return proxy.getOGCEResource(input).getGetOGCEResourceResponse().getResourceAsStr();
    }
View Full Code Here

TOP

Related Classes of xregistry.generated.GetOGCEResourceDocument.GetOGCEResource

Copyright © 2018 www.massapicom. 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.