Uses of Class
org.wso2.carbon.governance.api.exception.GovernanceException

Packages that use GovernanceException
org.wso2.carbon.governance.api.common.dataobjects   
org.wso2.carbon.governance.api.endpoints   
org.wso2.carbon.governance.api.endpoints.dataobjects   
org.wso2.carbon.governance.api.policies   
org.wso2.carbon.governance.api.policies.dataobjects   
org.wso2.carbon.governance.api.schema   
org.wso2.carbon.governance.api.schema.dataobjects   
org.wso2.carbon.governance.api.services   
org.wso2.carbon.governance.api.services.dataobjects   
org.wso2.carbon.governance.api.util   
org.wso2.carbon.governance.api.wsdls   
org.wso2.carbon.governance.api.wsdls.dataobjects   
 

Uses of GovernanceException in org.wso2.carbon.governance.api.common.dataobjects
 

Methods in org.wso2.carbon.governance.api.common.dataobjects that throw GovernanceException
 void GovernanceArtifact.addAttribute(String key, String value)
          Adding an attribute to the artifact.
 void GovernanceArtifact.associateRegistry(org.wso2.carbon.registry.core.Registry registry)
          Associate a registry, this is mostly used by the artifact manager when creating the artifact.
protected  void GovernanceArtifact.attach(GovernanceArtifact attachedToArtifact)
          Attach the current artifact to an another artifact.
protected  void GovernanceArtifact.checkRegistryResourceAssociation()
          Validate the resource is associated with a registry
 void GovernanceArtifact.createVersion()
          Create a version of the artifact.
protected  void GovernanceArtifact.detach(String artifactId)
          Detach the current artifact from the provided artifact.
 String GovernanceArtifact.getAttribute(String key)
          Returns the attribute of a given key.
 String[] GovernanceArtifact.getAttributeKeys()
          Returns the available attribute keys
 String[] GovernanceArtifact.getAttributes(String key)
          Returns the attribute values for a key.
 GovernanceArtifact[] GovernanceArtifact.getDependencies()
          Get dependencies of an artifacts.
 GovernanceArtifact[] GovernanceArtifact.getDependents()
          Get dependents of an artifact.
 void GovernanceArtifact.removeAttribute(String key)
          Remove attribute with the given key.
 void GovernanceArtifact.setAttribute(String key, String newValue)
          Set/Update an attribute with a single value.
 void GovernanceArtifact.setAttributes(String key, String[] newValues)
          Set/Update an attribute with multiple values.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.endpoints
 

Methods in org.wso2.carbon.governance.api.endpoints that throw GovernanceException
 void EndpointManager.addEndpoint(Endpoint endpoint)
          Adds the given endpoint artifact to the registry.
 Endpoint EndpointManager.getEndpoint(String endpointId)
          Fetches the given endpoint artifact on the registry.
 Endpoint EndpointManager.getEndpointByUrl(String url)
          Finds the endpoint artifact that matches the given URL.
 Endpoint EndpointManager.newEndpoint(String url)
          Creates a new endpoint artifact from the given URL.
 void EndpointManager.removeEndpoint(String endpointId)
          Removes the given endpoint artifact from the registry.
 void EndpointManager.setContent(Endpoint endpoint, org.wso2.carbon.registry.core.Resource endpointResource)
          Sets content of the given endpoint artifact to the given resource on the registry.
 void EndpointManager.updateEndpoint(Endpoint endpoint)
          Updates the given endpoint artifact on the registry.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.endpoints.dataobjects
 

Methods in org.wso2.carbon.governance.api.endpoints.dataobjects that throw GovernanceException
 void Endpoint.loadEndpointDetails()
          Method to load the endpoint details into this artifact.
 

Constructors in org.wso2.carbon.governance.api.endpoints.dataobjects that throw GovernanceException
Endpoint(String path, String id, org.wso2.carbon.registry.core.Registry registry)
          Constructor accepting resource path, identifier and a registry instance.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.policies
 

Methods in org.wso2.carbon.governance.api.policies that throw GovernanceException
 void PolicyManager.addPolicy(Policy policy)
          Adds the given policy artifact to the registry.
 Policy[] PolicyManager.findPolicies(PolicyFilter criteria)
          Finds all policy artifacts matching the given filter criteria.
 Policy[] PolicyManager.getAllPolicies()
          Finds all policy artifacts on the registry.
 Policy PolicyManager.getPolicy(String policyId)
          Fetches the given policy artifact on the registry.
 boolean PolicyFilter.matches(Policy policy)
          Whether the given policy artifact matches the expected filter criteria.
 Policy PolicyManager.newPolicy(String url)
          Creates a new policy artifact from the given URL.
 void PolicyManager.removePolicy(String policyId)
          Removes the given policy artifact from the registry.
protected  void PolicyManager.setContent(Policy policy, org.wso2.carbon.registry.core.Resource policyResource)
          Sets content of the given policy artifact to the given resource on the registry.
 void PolicyManager.updatePolicy(Policy policy)
          Updates the given policy artifact on the registry.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.policies.dataobjects
 

Methods in org.wso2.carbon.governance.api.policies.dataobjects that throw GovernanceException
 void Policy.loadPolicyDetails()
          Method to load the policy details into this artifact.
 

Constructors in org.wso2.carbon.governance.api.policies.dataobjects that throw GovernanceException
Policy(String path, String id, org.wso2.carbon.registry.core.Registry registry)
          Constructor accepting resource path, identifier and a registry instance.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.schema
 

Methods in org.wso2.carbon.governance.api.schema that throw GovernanceException
 void SchemaManager.addSchema(Schema schema)
          Adds the given schema artifact to the registry.
 Schema[] SchemaManager.findSchemas(SchemaFilter criteria)
          Finds all schema artifacts matching the given filter criteria.
 Schema[] SchemaManager.getAllSchemas()
          Finds all schema artifacts on the registry.
 Schema SchemaManager.getSchema(String schemaId)
          Fetches the given schema artifact on the registry.
 boolean SchemaFilter.matches(Schema schema)
          Whether the given schema artifact matches the expected filter criteria.
 Schema SchemaManager.newSchema(String url)
          Creates a new schema artifact from the given URL.
 void SchemaManager.removeSchema(String schemaId)
          Removes the given schema artifact from the registry.
protected  void SchemaManager.setContent(Schema schema, org.wso2.carbon.registry.core.Resource schemaResource)
          Sets content of the given schema artifact to the given resource on the registry.
 void SchemaManager.updateSchema(Schema schema)
          Updates the given schema artifact on the registry.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.schema.dataobjects
 

Methods in org.wso2.carbon.governance.api.schema.dataobjects that throw GovernanceException
 void Schema.loadSchemaDetails()
          Method to load the schema details into this artifact.
 

Constructors in org.wso2.carbon.governance.api.schema.dataobjects that throw GovernanceException
Schema(String path, String id, org.wso2.carbon.registry.core.Registry registry)
          Constructor accepting resource path, identifier and a registry instance.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.services
 

Methods in org.wso2.carbon.governance.api.services that throw GovernanceException
 void ServiceManager.addService(Service service)
          Adds the given service artifact to the registry.
 Service[] ServiceManager.findServices(ServiceFilter criteria)
          Finds all service artifacts matching the given filter criteria.
 String[] ServiceManager.getAllServiceIds()
          Finds all identifiers of the service artifacts on the registry.
 Service[] ServiceManager.getAllServices()
          Finds all service artifacts on the registry.
 Service ServiceManager.getService(String serviceId)
          Fetches the given service artifact on the registry.
 boolean ServiceFilter.matches(Service service)
          Whether the given service artifact matches the expected filter criteria.
 Service ServiceManager.newService(org.apache.axiom.om.OMElement content)
          Creates a new service artifact from the given content.
 Service ServiceManager.newService(QName qName)
          Creates a new service artifact from the given qualified name.
 void ServiceManager.removeService(String serviceId)
          Removes the given service artifact from the registry.
protected  void ServiceManager.setContent(Service service, org.wso2.carbon.registry.core.Resource serviceResource)
          Sets content of the given service artifact to the given resource on the registry.
 void ServiceManager.updateService(Service service)
          Updates the given service artifact on the registry.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.services.dataobjects
 

Methods in org.wso2.carbon.governance.api.services.dataobjects that throw GovernanceException
 void Service.activate()
          Method to activate this service.
 void Service.attachEndpoint(Endpoint endpoint)
          Attach an endpoint artifact to a service artifact.
 void Service.attachPolicy(Policy policy)
          Attach a policy artifact to a service artifact.
 void Service.attachSchema(Schema schema)
          Attach a schema artifact to a service artifact.
 void Service.attachWSDL(Wsdl wsdl)
          Attach a WSDL artifact to a service artifact.
 void Service.deactivate()
          Method to deactivate this service.
 void Service.detachEndpoint(String endpointId)
          Detach an endpoint artifact from a service artifact.
 void Service.detachPolicy(String policyId)
          Detach a policy artifact from a service artifact.
 void Service.detachSchema(String schemaId)
          Detach a schema artifact from a service artifact.
 void Service.detachWSDL(String wsdlId)
          Detach a WSDL artifact from a service artifact.
 Endpoint[] Service.getAttachedEndpoints()
          Method to retrieve all endpoints attached to this service artifact.
 Policy[] Service.getAttachedPolicies()
          Method to retrieve all policies attached to this service artifact.
 Schema[] Service.getAttachedSchemas()
          Method to retrieve all schemas attached to this service artifact.
 Wsdl[] Service.getAttachedWsdls()
          Method to retrieve all WSDLs attached to this service artifact.
 boolean Service.isActive()
          Method to obtain whether this service is active or not.
 void Service.setActive(boolean isActive)
          Method to set/unset the active status of this service.
 void Service.setQName(QName qName)
          Method to set the qualified name of this service artifact.
 

Constructors in org.wso2.carbon.governance.api.services.dataobjects that throw GovernanceException
Service(String id, org.apache.axiom.om.OMElement serviceContentElement)
          Constructor accepting resource identifier and the service content.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.util
 

Methods in org.wso2.carbon.governance.api.util that throw GovernanceException
static void GovernanceUtils.addGovernanceArtifactEntry(org.wso2.carbon.registry.core.Registry registry, String artifactId, String artifactPath)
          Method to register a governance artifact.
static org.apache.axiom.om.OMElement GovernanceUtils.buildOMElement(byte[] content)
          Method to build an AXIOM element from a byte stream.
static String GovernanceUtils.getArtifactPath(org.wso2.carbon.registry.core.Registry registry, String artifactId)
          Method to obtain the artifact path of a governance artifact on the registry.
static String[] GovernanceUtils.getResultPaths(org.wso2.carbon.registry.core.Registry registry, String mediaType)
          Method to obtain a list of paths having resources of the given media type.
static void GovernanceUtils.removeArtifact(org.wso2.carbon.registry.core.Registry registry, String artifactId)
          Method to remove a governance artifact from the registry.
static GovernanceArtifact GovernanceUtils.retrieveGovernanceArtifactById(org.wso2.carbon.registry.core.Registry registry, String artifactId)
          Method to obtain a governance artifact on the registry.
static GovernanceArtifact GovernanceUtils.retrieveGovernanceArtifactByPath(org.wso2.carbon.registry.core.Registry registry, String artifactPath)
          Method to obtain a governance artifact on the registry by the artifact path.
static String GovernanceUtils.serializeOMElement(org.apache.axiom.om.OMElement element)
          Method to serialize an XML element into a string.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.wsdls
 

Methods in org.wso2.carbon.governance.api.wsdls that throw GovernanceException
 void WsdlManager.addWsdl(Wsdl wsdl)
          Adds the given WSDL artifact to the registry.
 Wsdl[] WsdlManager.findWsdls(WsdlFilter criteria)
          Finds all WSDL artifacts matching the given filter criteria.
 Wsdl[] WsdlManager.getAllWsdls()
          Finds all WSDL artifacts on the registry.
 Wsdl WsdlManager.getWsdl(String wsdlId)
          Fetches the given WSDL artifact on the registry.
 boolean WsdlFilter.matches(Wsdl wsdl)
          Whether the given WSDL artifact matches the expected filter criteria.
 Wsdl WsdlManager.newWsdl(String url)
          Adds a new WSDL artifact from the given URL.
 void WsdlManager.removeWsdl(String wsdlId)
          Removes the given WSDL artifact from the registry.
protected  void WsdlManager.setContent(Wsdl wsdl, org.wso2.carbon.registry.core.Resource wsdlResource)
          Sets content of the given WSDL artifact to the given resource on the registry.
 void WsdlManager.updateWsdl(Wsdl wsdl)
          Updates the given WSDL artifact on the registry.
 

Uses of GovernanceException in org.wso2.carbon.governance.api.wsdls.dataobjects
 

Methods in org.wso2.carbon.governance.api.wsdls.dataobjects that throw GovernanceException
 void Wsdl.attachEndpoint(Endpoint endpoint)
          Attach an endpoint artifact to a WSDL artifact.
 void Wsdl.attachSchema(Schema schema)
          Attach a schema artifact to a WSDL artifact.
 void Wsdl.detachEndpoint(String endpointId)
          Detach an endpoint artifact from a WSDL artifact.
 void Wsdl.detachSchema(String schemaId)
          Detach a schema artifact from a WSDL artifact.
 Endpoint[] Wsdl.getAttachedEndpoints()
          Method to retrieve all endpoints attached to this WSDL artifact.
 Schema[] Wsdl.getAttachedSchemas()
          Method to retrieve all schemas attached to this WSDL artifact.
 void Wsdl.loadWsdlDetails()
          Method to load the WSDL details into this artifact.
 

Constructors in org.wso2.carbon.governance.api.wsdls.dataobjects that throw GovernanceException
Wsdl(String path, String id, org.wso2.carbon.registry.core.Registry registry)
          Constructor accepting resource path, identifier and a registry instance.
 



Copyright © 2010 WSO2 Inc. All Rights Reserved.