Uses of Class
org.wso2.carbon.governance.api.exception.GovernanceException
Packages that use GovernanceException
Package
Description
-
Uses of GovernanceException in org.wso2.carbon.governance.api.common
Methods in org.wso2.carbon.governance.api.common that throw GovernanceExceptionModifier and TypeMethodDescriptionvoidGovernanceArtifactManager.addGovernanceArtifact(GovernanceArtifact artifact) Adds the given artifact to the registry.GovernanceArtifactManager.findGovernanceArtifacts(String query) Finds and returns all GovernanceArtifacts that match the search query.GovernanceArtifactManager.findGovernanceArtifacts(Map<String, List<String>> criteria) Finds all artifacts matching the given filter criteria.GovernanceArtifactManager.findGovernanceArtifacts(GovernanceArtifactFilter criteria) Finds all artifacts matching the given filter criteria.String[]GovernanceArtifactManager.getAllGovernanceArtifactIds()Finds all identifiers of the artifacts on the registry.GovernanceArtifactManager.getAllGovernanceArtifacts()Finds all artifacts of a given type on the registry.GovernanceArtifactManager.getAllGovernanceArtifactsByLifecycle(String lcName) Retrieve all the governance artifacts which associated with the given lifecycleGovernanceArtifactManager.getAllGovernanceArtifactsByLIfecycleStatus(String lcName, String lcState) Retrieve all the governance artifacts which associated with the given lifecycle in the given lifecycle stateGovernanceArtifactManager.getGovernanceArtifact(String artifactId) Fetches the given artifact on the registry.GovernanceArtifactManager.getPaginatedGovernanceArtifacts()org.wso2.carbon.registry.common.TermData[]GovernanceArtifactManager.getTermData(Map<String, List<String>> criteria, String facetField, boolean authRequired) Find all possible terms and its count for the given facet field and query criteriabooleanGovernanceArtifactManager.isExists(GovernanceArtifact artifact) Check whether GovernanceArtifact is exists in the Registry without loading whole artifact into memory.booleanGovernanceArtifactFilter.matches(GovernanceArtifact artifact) Whether the given artifact matches the expected filter criteria.GovernanceArtifactManager.newGovernanceArtifact()Creates a new artifact from the given qualified name.GovernanceArtifactManager.newGovernanceArtifact(org.apache.axiom.om.OMElement content) Creates a new artifact from the given content.voidGovernanceArtifactManager.removeGenericArtifact(GenericArtifact artifact) voidGovernanceArtifactManager.removeGovernanceArtifact(String artifactId) Removes the given artifact from the registry.protected voidGovernanceArtifactManager.setContent(GovernanceArtifact artifact, org.wso2.carbon.registry.core.Resource resource) Sets content of the given artifact to the given resource on the registry.voidGovernanceArtifactManager.setContent(org.wso2.carbon.registry.core.Resource resource, GovernanceArtifact artifact) Sets content of the given artifact to the given resource on the registry.voidGovernanceArtifactManager.updateGovernanceArtifact(GovernanceArtifact artifact) Updates the given artifact on the registry. -
Uses of GovernanceException in org.wso2.carbon.governance.api.common.dataobjects
Methods in org.wso2.carbon.governance.api.common.dataobjects that throw GovernanceExceptionModifier and TypeMethodDescriptionvoidGovernanceArtifact.addAssociation(String associationType, String artifactId) voidGovernanceArtifact.addAssociation(String associationType, GovernanceArtifact attachedToArtifact) voidGovernanceArtifactImpl.addAssociation(String associationType, String artifactId) voidGovernanceArtifactImpl.addAssociation(String associationType, GovernanceArtifact attachedToArtifact) voidGovernanceArtifact.addAttribute(String key, String value) Adding an attribute to the artifact.voidGovernanceArtifactImpl.addAttribute(String key, String value) Adding an attribute to the artifact.voidGovernanceArtifact.addBidirectionalAssociation(String forwardType, String backwardType, GovernanceArtifact attachedToArtifact) voidGovernanceArtifactImpl.addBidirectionalAssociation(String forwardType, String backwardType, GovernanceArtifact attachedToArtifact) voidvoidvoidvoidvoidGovernanceArtifactImpl.associateRegistry(org.wso2.carbon.registry.core.Registry registry) Associate a registry, this is mostly used by the artifact manager when creating the artifact.voidvoidGovernanceArtifact.attach(GovernanceArtifact attachedToArtifact) Attach the current artifact to an another artifact.voidvoidGovernanceArtifactImpl.attach(GovernanceArtifact attachedToArtifact) Attach the current artifact to an another artifact.voidGovernanceArtifact.attachLifecycle(String name) Associates the named lifecycle with the artifactvoidGovernanceArtifactImpl.attachLifecycle(String name) Associates the named lifecycle with the artifactvoidGovernanceArtifact.checkLCItem(int order, String aspectName) Check the checklist itemvoidGovernanceArtifactImpl.checkLCItem(int order, String aspectName) Check the checklist itemprotected voidGovernanceArtifactImpl.checkRegistryResourceAssociation()Validate the resource is associated with a registrystatic GovernanceArtifactImplstatic GovernanceArtifactImplGovernanceArtifactImpl.create(org.wso2.carbon.registry.core.Registry registry, String artifactId, List<String> uniqueAttributes) static GovernanceArtifactImplGovernanceArtifactImpl.create(org.wso2.carbon.registry.core.Registry registry, String artifactId, org.apache.axiom.om.OMElement content) static GovernanceArtifactImplGovernanceArtifactImpl.create(org.wso2.carbon.registry.core.Registry registry, String artifactId, org.apache.axiom.om.OMElement content, List<String> uniqueAttributes) voidGovernanceArtifactImpl.createVersion()Create a version of the artifact.voidDetach the current artifact from the provided artifact.voidDetach the current artifact from the provided artifact.voidGovernanceArtifactImpl.detachLifecycle(String lifecycleName) De-associate lifecycle associated with the artifactString[]GovernanceArtifact.getAllCheckListItemNames(String aspectName) Retrieve name set of the checklist itemsString[]GovernanceArtifactImpl.getAllCheckListItemNames(String aspectName) Retrieve name set of the checklist itemsString[]GovernanceArtifact.getAllLifecycleActions(String lifeCycleName) Get all lifecycle actions for the current state of the lifecycleString[]GovernanceArtifactImpl.getAllLifecycleActions(String lifeCycleName) Get all lifecycle actions for the current state of the lifecycleString[]GovernanceArtifact.getAllVotingItems()Retrieve action set which need votesString[]GovernanceArtifact.getAllVotingItems(String aspectName) Retrieve action set which need votesString[]GovernanceArtifactImpl.getAllVotingItems()Retrieve action set which need votes.String[]GovernanceArtifactImpl.getAllVotingItems(String aspectName) Retrieve action set which need votes.GovernanceArtifact.getAssociatedArtifactIds()GovernanceArtifactImpl.getAssociatedArtifactIds()GovernanceArtifact.getAssociations()GovernanceArtifactImpl.getAssociations()GovernanceArtifact.getAttribute(String key) Returns the attribute of a given key.GovernanceArtifactImpl.getAttribute(String key) Returns the attribute of a given key.String[]GovernanceArtifact.getAttributeKeys()Returns the available attribute keysString[]GovernanceArtifactImpl.getAttributeKeys()Returns the available attribute keysString[]GovernanceArtifact.getAttributes(String key) Returns the attribute values for a key.String[]GovernanceArtifactImpl.getAttributes(String key) Returns the attribute values for a key.GovernanceArtifact.getCurrentStateDuration(String artifactID, String lcName) This method is used to get a lifecycle's current state duration information.GovernanceArtifactImpl.getCurrentStateDuration(String artifactID, String lcName) This method is used to get a lifecycle's current state duration information.GovernanceArtifact.getDependencies()Get dependencies of an artifacts.GovernanceArtifactImpl.getDependencies()Get dependencies of an artifacts.GovernanceArtifact.getDependents()Get dependents of an artifact.GovernanceArtifactImpl.getDependents()Get dependents of an artifact.GovernanceArtifact.getLifecycleName()Returns the name of the default lifecycle associated with this artifact.GovernanceArtifactImpl.getLifecycleName()Returns the name of the lifecycle associated with this artifact.String[]GovernanceArtifact.getLifecycleNames()Returns the names of the lifecycle associated with this artifact.String[]GovernanceArtifactImpl.getLifecycleNames()Returns the name of the lifecycle associated with this artifact.GovernanceArtifact.getLifecycleState()Returns the state of the default lifecycle associated with this artifact.GovernanceArtifact.getLifecycleState(String lifeCycleName) Returns the state of the lifecycle associated with this artifact.GovernanceArtifactImpl.getLifecycleState()Returns the state of the lifecycle associated with this artifact.GovernanceArtifactImpl.getLifecycleState(String lifeCycleName) Returns the state of the lifecycle associated with this artifact.GovernanceArtifact.getPath()Returns the path of the artifact, need to save the artifact before getting the path.GovernanceArtifactImpl.getPath()Returns the path of the artifact, need to save the artifact before getting the path.String[]GovernanceArtifact.getPropertyKeys()Returns the available attribute keysString[]GovernanceArtifactImpl.getPropertyKeys()Returns the available attribute keysvoidGovernanceArtifact.invokeAction(String action, String aspectName) Promote the artifact to the next state of the lifecyclevoidPromote the artifact to the next state of the lifecyclevoidGovernanceArtifactImpl.invokeAction(String action, String aspectName) Invoke lifecycle actionvoidGovernanceArtifactImpl.invokeAction(String action, Map<String, String> parameters, String aspectName) Invoke lifecycle actionbooleanGovernanceArtifact.isLCItemChecked(int order, String aspectName) Check whether the given ordered lifecycle checklist item is checked or notbooleanGovernanceArtifactImpl.isLCItemChecked(int order, String aspectName) Check whether the given ordered lifecycle checklist item is checked or notbooleanGovernanceArtifact.isVoted(int order) Check whether the current user voted for given order eventbooleanCheck whether the current user voted for given order eventbooleanGovernanceArtifactImpl.isVoted(int order) Check whether the current user voted for given order event.booleanCheck whether the current user voted for given order eventGovernanceArtifact.listTags()GovernanceArtifactImpl.listTags()voidGovernanceArtifact.removeAssociation(String artifactId) voidGovernanceArtifact.removeAssociation(String associationType, String artifactId) voidGovernanceArtifactImpl.removeAssociation(String artifactId) voidGovernanceArtifactImpl.removeAssociation(String associationType, String artifactId) voidGovernanceArtifact.removeAttribute(String key) Remove attribute with the given key.voidGovernanceArtifactImpl.removeAttribute(String key) Remove attribute with the given key.voidvoidvoidGovernanceArtifact.removeTags(List<String> tags) voidGovernanceArtifactImpl.removeTags(List<String> tags) voidGovernanceArtifact.setAttribute(String key, String newValue) Set/Update an attribute with a single value.voidGovernanceArtifactImpl.setAttribute(String key, String newValue) Set/Update an attribute with a single value.voidGovernanceArtifact.setAttributes(String key, String[] newValues) Set/Update an attribute with multiple values.voidGovernanceArtifactImpl.setAttributes(String key, String[] newValues) Set/Update an attribute with multiple values.voidSet the QName of the artifact.voidGovernanceArtifact.uncheckLCItem(int order, String aspectName) Un-check the checklist itemvoidGovernanceArtifactImpl.uncheckLCItem(int order, String aspectName) Un-check the checklist itemvoidGovernanceArtifact.unvote(int order) Unvote for an actionvoidUnvote for an actionvoidGovernanceArtifactImpl.unvote(int order) Unvote for an action.voidUnvote for an actionvoidGovernanceArtifactImpl.updatePath()update the path after moving the resource.voidGovernanceArtifactImpl.updatePath(String artifactId) update the path after moving the resource.voidGovernanceArtifact.vote(int order) Vote for an actionvoidVote for an actionvoidGovernanceArtifactImpl.vote(int order) Vote for an action.voidVote for an action.Constructors in org.wso2.carbon.governance.api.common.dataobjects that throw GovernanceExceptionModifierConstructorDescriptionGovernanceArtifactImpl(String id, org.apache.axiom.om.OMElement contentElement) Constructor accepting resource identifier and the XML content.GovernanceArtifactImpl(String id, org.apache.axiom.om.OMElement contentElement, List<String> uniqueAttributes) -
Uses of GovernanceException in org.wso2.carbon.governance.api.endpoints
Methods in org.wso2.carbon.governance.api.endpoints that throw GovernanceExceptionModifier and TypeMethodDescriptionvoidEndpointManager.addEndpoint(Endpoint endpoint) Adds the given endpoint artifact to the registry.Endpoint[]EndpointManager.getAllEndpoints()Finds all Endpoint artifacts on the registry.EndpointManager.getEndpoint(String endpointId) Fetches the given endpoint artifact on the registry.EndpointManager.getEndpointByUrl(String url) Finds the endpoint artifact that matches the given URL.EndpointManager.newEndpoint(String url) Creates a new endpoint artifact from the given URL.voidEndpointManager.removeEndpoint(String endpointId) Removes the given endpoint artifact from the registry.voidEndpointManager.setContent(Endpoint endpoint, org.wso2.carbon.registry.core.Resource endpointResource) Sets content of the given endpoint artifact to the given resource on the registry.voidEndpointManager.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 GovernanceExceptionModifier and TypeMethodDescriptionorg.apache.axiom.om.OMElementEndpointImpl.buildOMElement(String content) voidEndpointImpl.loadEndpointDetails()Method to load the endpoint details into this artifact.voidConstructors in org.wso2.carbon.governance.api.endpoints.dataobjects that throw GovernanceExceptionModifierConstructorDescriptionEndpointImpl(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.generic
Methods in org.wso2.carbon.governance.api.generic that throw GovernanceExceptionModifier and TypeMethodDescriptionvoidGenericArtifactManager.addGenericArtifact(GenericArtifact artifact) Adds the given artifact to the registry.GenericArtifactManager.findGenericArtifacts(Map<String, List<String>> criteria) Finds all artifacts matching the given filter criteria.GenericArtifactManager.findGenericArtifacts(GenericArtifactFilter criteria) Finds all artifacts matching the given filter criteria.GenericArtifactManager.findGovernanceArtifacts(String query) Finds and returns GenericArtifact instances matching the search queryString[]GenericArtifactManager.getAllGenericArtifactIds()Finds all identifiers of the artifacts on the registry.GenericArtifactManager.getAllGenericArtifacts()Finds all artifacts on the registry.GenericArtifactManager.getAllGenericArtifactsByLifecycle(String lcName) Retrieve all the generic artifacts which associated with the given lifecycleGenericArtifactManager.getAllGenericArtifactsByLifecycleStatus(String lcName, String lcState) Retrieve all the generic artifacts which associated with the given lifecycle in the given lifecycle stateGenericArtifactManager.getGenericArtifact(String artifactId) Fetches the given artifact on the registry.org.wso2.carbon.registry.common.TermData[]GenericArtifactManager.getTermData(Map<String, List<String>> criteria, String facetField, boolean authRequired) Find all possible terms and its count for the given facet field and query criteriabooleanGenericArtifactManager.isExists(GovernanceArtifact artifact) Check whether GovernanceArtifact is exists in the Registry without loading whole artifact into memory.booleanGenericArtifactFilter.matches(GenericArtifact artifact) Whether the given artifact matches the expected filter criteria.GenericArtifactManager.newGovernanceArtifact(String omContent) Creates a new artifact from the given string content.GenericArtifactManager.newGovernanceArtifact(QName qName) Creates a new artifact from the given qualified name.GenericArtifactManager.newGovernanceArtifact(QName qName, byte[] content) Creates a new artifact from the given qualified name.GenericArtifactManager.newGovernanceArtifact(org.apache.axiom.om.OMElement content) Creates a new artifact from the given content.voidGenericArtifactManager.removeGenericArtifact(String artifactId) Removes the given artifact from the registry.voidGenericArtifactManager.removeGenericArtifact(GenericArtifact artifact) voidGenericArtifactManager.setContent(org.wso2.carbon.registry.core.Resource resource, GovernanceArtifact artifact) voidGenericArtifactManager.updateGenericArtifact(GenericArtifact artifact) Updates the given artifact on the registry. -
Uses of GovernanceException in org.wso2.carbon.governance.api.generic.dataobjects
Methods in org.wso2.carbon.governance.api.generic.dataobjects that throw GovernanceExceptionModifier and TypeMethodDescriptionvoidGenericArtifactImpl.loadDetails()Method to load the details into this artifact.DetachedGenericArtifact.makeRegistryAware(GenericArtifactManager artifactManager) DetachedGenericArtifactImpl.makeRegistryAware(GenericArtifactManager artifactManager) Constructors in org.wso2.carbon.governance.api.generic.dataobjects that throw GovernanceExceptionModifierConstructorDescriptionGenericArtifactImpl(String id, org.apache.axiom.om.OMElement artifactContentElement, String artifactNameAttribute, String artifactNamespaceAttribute, String artifactElementNamespace, String mediaType) Constructor accepting resource identifier and the artifact content.GenericArtifactImpl(String id, org.wso2.carbon.registry.core.Registry registry) Constructor accepting resource identifier and the artifact content. -
Uses of GovernanceException in org.wso2.carbon.governance.api.policies
Methods in org.wso2.carbon.governance.api.policies that throw GovernanceExceptionModifier and TypeMethodDescriptionvoidAdds 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.Fetches the given policy artifact on the registry.booleanWhether the given policy artifact matches the expected filter criteria.Creates a new policy artifact from the given URL.voidPolicyManager.removePolicy(String policyId) Removes the given policy artifact from the registry.protected voidPolicyManager.setContent(Policy policy, org.wso2.carbon.registry.core.Resource policyResource) Sets content of the given policy artifact to the given resource on the registry.voidPolicyManager.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 GovernanceExceptionModifier and TypeMethodDescriptionvoidPolicyImpl.loadPolicyDetails()Method to load the policy details into this artifact.voidMethod to set the qualified name of this service artifact.Constructors in org.wso2.carbon.governance.api.policies.dataobjects that throw GovernanceExceptionModifierConstructorDescriptionPolicyImpl(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 GovernanceExceptionModifier and TypeMethodDescriptionvoidAdds 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.Fetches the given schema artifact on the registry.booleanWhether the given schema artifact matches the expected filter criteria.Creates a new schema artifact from the given URL.voidSchemaManager.removeSchema(String schemaId) Removes the given schema artifact from the registry.protected voidSchemaManager.setContent(Schema schema, org.wso2.carbon.registry.core.Resource schemaResource) Sets content of the given schema artifact to the given resource on the registry.voidSchemaManager.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 GovernanceExceptionModifier and TypeMethodDescriptionvoidSchemaImpl.loadSchemaDetails()Method to load the schema details into this artifact.voidMethod to set the qualified name of this service artifact.Constructors in org.wso2.carbon.governance.api.schema.dataobjects that throw GovernanceExceptionModifierConstructorDescriptionSchemaImpl(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 GovernanceExceptionModifier and TypeMethodDescriptionvoidServiceManager.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.String[]ServiceManager.getAllServicePaths()Finds all the service path and used to list servicesService[]ServiceManager.getAllServices()Finds all service artifacts on the registry.Service[]ServiceManager.getAllServicesByLifecycle(String lcName) Retrieve all Services which associated with the given lifecycleService[]ServiceManager.getAllServicesByLifecycleStatus(String lcName, String lcState) Retrieve all Services which associated with the given lifecycle in the given lifecycle stateServiceManager.getService(String serviceId) Fetches the given service artifact on the registry.booleanWhether the given service artifact matches the expected filter criteria.ServiceManager.newService(QName qName) Creates a new service artifact from the given qualified name.ServiceManager.newService(org.apache.axiom.om.OMElement content) Creates a new service artifact from the given content.voidServiceManager.removeService(String serviceId) Removes the given service artifact from the registry.voidServiceManager.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 GovernanceExceptionModifier and TypeMethodDescriptionvoidService.activate()Deprecated.since active functionality is no longer used.voidServiceImpl.activate()Deprecated.since active functionality is no longer used.voidService.attachEndpoint(Endpoint endpoint) Attach an endpoint artifact to a service artifact.voidServiceImpl.attachEndpoint(Endpoint endpoint) Attach an endpoint artifact to a service artifact.voidService.attachPolicy(Policy policy) Attach a policy artifact to a service artifact.voidServiceImpl.attachPolicy(Policy policy) Attach a policy artifact to a service artifact.voidService.attachSchema(Schema schema) Attach a schema artifact to a service artifact.voidServiceImpl.attachSchema(Schema schema) Attach a schema artifact to a service artifact.voidService.attachWSDL(Wsdl wsdl) Attach a WSDL artifact to a service artifact.voidServiceImpl.attachWSDL(Wsdl wsdl) Attach a WSDL artifact to a service artifact.voidService.deactivate()Deprecated.since active functionality is no longer used.voidServiceImpl.deactivate()Deprecated.since active functionality is no longer used.voidService.detachEndpoint(String endpointId) Detach an endpoint artifact from a service artifact.voidServiceImpl.detachEndpoint(String endpointId) Detach an endpoint artifact from a service artifact.voidService.detachPolicy(String policyId) Detach a policy artifact from a service artifact.voidServiceImpl.detachPolicy(String policyId) Detach a policy artifact from a service artifact.voidService.detachSchema(String schemaId) Detach a schema artifact from a service artifact.voidServiceImpl.detachSchema(String schemaId) Detach a schema artifact from a service artifact.voidService.detachWSDL(String wsdlId) Detach a WSDL artifact from a service artifact.voidServiceImpl.detachWSDL(String wsdlId) Detach a WSDL artifact from a service artifact.Endpoint[]Service.getAttachedEndpoints()Method to retrieve all endpoints attached to this service artifact.Endpoint[]ServiceImpl.getAttachedEndpoints()Method to retrieve all endpoints attached to this service artifact.Policy[]Service.getAttachedPolicies()Method to retrieve all policies attached to this service artifact.Policy[]ServiceImpl.getAttachedPolicies()Method to retrieve all policies attached to this service artifact.Schema[]Service.getAttachedSchemas()Method to retrieve all schemas attached to this service artifact.Schema[]ServiceImpl.getAttachedSchemas()Method to retrieve all schemas attached to this service artifact.Wsdl[]Service.getAttachedWsdls()Method to retrieve all WSDLs attached to this service artifact.Wsdl[]ServiceImpl.getAttachedWsdls()Method to retrieve all WSDLs attached to this service artifact.booleanService.isActive()Deprecated.since active functionality is no longer used.booleanServiceImpl.isActive()Deprecated.since active functionality is no longer used.voidServiceImpl.setActive(boolean isActive) Deprecated.since active functionality is no longer used.voidMethod to set the qualified name of this service artifact.Constructors in org.wso2.carbon.governance.api.services.dataobjects that throw GovernanceExceptionModifierConstructorDescriptionServiceImpl(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 GovernanceExceptionModifier and TypeMethodDescriptionstatic voidGovernanceUtils.CheckMandatoryFields(org.wso2.carbon.registry.core.Registry registry, String elementString, GovernanceArtifact artifact) Validates a given artifact to ensure all the mandatory fields are filled If a mandatory field is left empty this check method will throw an exception indicating field name to be filled.static List<GovernanceArtifact> GovernanceUtils.findGovernanceArtifacts(String criteria, org.wso2.carbon.registry.core.Registry registry, String mediaType) static List<GovernanceArtifact> GovernanceUtils.findGovernanceArtifacts(String criteria, org.wso2.carbon.registry.core.Registry registry, String mediaType, boolean hasOneProperty) static List<GovernanceArtifact> GovernanceUtils.findGovernanceArtifacts(Map<String, List<String>> criteria, org.wso2.carbon.registry.core.Registry registry, String mediaType) Returns a list of governance artifacts found by searching indexes.static ApproveItemBean[]GovernanceUtils.getAllApproveItemBeans(String currentUser, org.wso2.carbon.registry.core.Resource artifactResource, GovernanceArtifact artifact, String artifactLC) Extracts all ApproveItemBeans from the resourcestatic String[]GovernanceUtils.getAllArtifactIds(org.wso2.carbon.registry.core.Registry registry) Deprecated.Method to obtain all indexed governance artifact identifiers on the provided registry instance.static String[]GovernanceUtils.getAllArtifactPathsByLifecycle(org.wso2.carbon.registry.core.Registry registry, String lcName, String mediaType) Retrieve all the governance artifact paths which associated with the given lifecyclestatic String[]GovernanceUtils.getAllArtifactPathsByLifecycleState(org.wso2.carbon.registry.core.Registry registry, String lcName, String lcState, String mediaType) Retrieve all the governance artifact paths which associated with the given lifecycle in the given lifecycle statestatic GovernanceArtifact[]GovernanceUtils.getAllArtifacts(org.wso2.carbon.registry.core.Registry registry) Deprecated.Method to obtain all indexed governance artifacts on the provided registry instance.static CheckListItemBean[]GovernanceUtils.getAllCheckListItemBeans(org.wso2.carbon.registry.core.Resource artifactResource, GovernanceArtifact artifact, String artifactLC) Extracts all CheckListItemBeans from the resource and update the lifecycle name and state of the artifactstatic StringGovernanceUtils.getArtifactPath(org.wso2.carbon.registry.core.Registry registry, String artifactId) Method to obtain the artifact path of a governance artifact on the registry.static StringGovernanceUtils.getDirectArtifactPath(org.wso2.carbon.registry.core.Registry registry, String artifactId) Method to obtain the artifact path of a governance artifact on the registry.static StringGovernanceUtils.getPathFromPathExpression(String pathExpression, GovernanceArtifact artifact) Method to convert the expression specified for storing the path with corresponding values where the artifact is stored.static StringGovernanceUtils.getPathFromPathExpression(String pathExpression, GovernanceArtifact artifact, String storagePath) Method to convert the expression specified for storing the path with corresponding values where the artifact is stored.static String[]GovernanceUtils.getPathsFromPathExpression(String pathExpression, GovernanceArtifact artifact) Method to convert the expression specified for storing the path with corresponding values where the artifact is stored.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 List<org.wso2.carbon.registry.common.TermData> GovernanceUtils.getTermDataList(String criteria, String facetField, String mediaType, org.wso2.carbon.registry.core.Registry registry) Find all possible terms and its count for the given facet field and query criteriastatic List<org.wso2.carbon.registry.common.TermData> GovernanceUtils.getTermDataList(Map<String, List<String>> criteria, String facetField, String mediaType, boolean authRequired) Find all possible terms and its count for the given facet field and query criteriaGovernanceUtils.getUniqueAttributesNames(org.wso2.carbon.registry.core.Registry registry, String mediaType) static booleanGovernanceUtils.hasSamePath(String pathExpression, GovernanceArtifact newArtifact, GovernanceArtifact oldArtifact) Method to compare the old and new artifact pathsstatic voidGovernanceUtils.removeArtifact(org.wso2.carbon.registry.core.Registry registry, String artifactId) Method to remove a governance artifact from the registry.static voidGovernanceUtils.removeArtifactFromPath(org.wso2.carbon.registry.core.Registry registry, String path) static GovernanceArtifactGovernanceUtils.retrieveGovernanceArtifactById(org.wso2.carbon.registry.core.Registry registry, String artifactId) Method to obtain a governance artifact on the registry.static GovernanceArtifactGovernanceUtils.retrieveGovernanceArtifactByPath(org.wso2.carbon.registry.core.Registry registry, String artifactPath) Method to obtain a governance artifact on the registry by the artifact path.static StringGovernanceUtils.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 GovernanceExceptionModifier and TypeMethodDescriptionvoidAdds 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.Fetches the given WSDL artifact on the registry.booleanWhether the given WSDL artifact matches the expected filter criteria.Adds a new WSDL artifact from the given URL.voidWsdlManager.removeWsdl(String wsdlId) Removes the given WSDL artifact from the registry.protected voidWsdlManager.setContent(Wsdl wsdl, org.wso2.carbon.registry.core.Resource wsdlResource) Sets content of the given WSDL artifact to the given resource on the registry.voidWsdlManager.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 GovernanceExceptionModifier and TypeMethodDescriptionvoidWsdl.attachEndpoint(Endpoint endpoint) Attach an endpoint artifact to a WSDL artifact.voidWsdlImpl.attachEndpoint(Endpoint endpoint) Attach an endpoint artifact to a WSDL artifact.voidWsdl.attachSchema(Schema schema) Attach a schema artifact to a WSDL artifact.voidWsdlImpl.attachSchema(Schema schema) Attach a schema artifact to a WSDL artifact.voidWsdl.detachEndpoint(String endpointId) Detach an endpoint artifact from a WSDL artifact.voidWsdlImpl.detachEndpoint(String endpointId) Detach an endpoint artifact from a WSDL artifact.voidWsdl.detachSchema(String schemaId) Detach a schema artifact from a WSDL artifact.voidWsdlImpl.detachSchema(String schemaId) Detach a schema artifact from a WSDL artifact.Endpoint[]Wsdl.getAttachedEndpoints()Method to retrieve all endpoints attached to this WSDL artifact.Endpoint[]WsdlImpl.getAttachedEndpoints()Method to retrieve all endpoints attached to this WSDL artifact.Schema[]Wsdl.getAttachedSchemas()Method to retrieve all schemas attached to this WSDL artifact.Schema[]WsdlImpl.getAttachedSchemas()Method to retrieve all schemas attached to this WSDL artifact.voidWsdlImpl.loadWsdlDetails()Method to load the WSDL details into this artifact.voidMethod to set the qualified name of this service artifact.Constructors in org.wso2.carbon.governance.api.wsdls.dataobjects that throw GovernanceException