Package xregistry.generated.AddCapabilityDocument

Examples of xregistry.generated.AddCapabilityDocument.AddCapability


          return responseDocument.getApp2HostsResponse().getHostArray();
      }
     
      public void addCapability(String resource, String actor, boolean isUser, String action) throws XRegistryClientException {
          AddCapabilityDocument document = AddCapabilityDocument.Factory.newInstance();
          AddCapability capability = document.addNewAddCapability();
          capability.setResourceID(resource);
          capability.setActor(actor);
          capability.setIsActorAUser(isUser);
          capability.setAction(action);
          xregistryStub.addCapability(document);
      }
View Full Code Here


        App2HostsResponseDocument responseDocument = proxy.app2Hosts(document);
        return responseDocument.getApp2HostsResponse().getHostArray();
    }
    public void addCapability(String resource, String actor, boolean isUser, String action) throws XregistryException {
        AddCapabilityDocument document = AddCapabilityDocument.Factory.newInstance();
        AddCapability capability = document.addNewAddCapability();
        capability.setResourceID(resource);
        capability.setActor(actor);
        capability.setIsActorAUser(isUser);
        capability.setAction(action);
        proxy.addCapability(document);
    }
View Full Code Here

    }

    public AddCapabilityResponseDocument addCapability(AddCapabilityDocument capabilityDocument)
            throws XregistryException {
        log.info("Request: " + capabilityDocument.xmlText());
        AddCapability addCapability = capabilityDocument.getAddCapability();
        registryImpl.addCapability(findUserDN(), addCapability.getResourceID(), addCapability
                .getActor(), addCapability.getIsActorAUser(), addCapability.getAction());
        AddCapabilityResponseDocument responseDocument = AddCapabilityResponseDocument.Factory
                .newInstance();
        responseDocument.addNewAddCapabilityResponse();
        log.info("Response: " + responseDocument.xmlText());
        return responseDocument;
View Full Code Here

TOP

Related Classes of xregistry.generated.AddCapabilityDocument.AddCapability

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.