## Uses of Interface
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact

- Packages that use GovernanceArtifact
  Package | Description
  --- | ---
  org.wso2.carbon.governance.api.cache |
  org.wso2.carbon.governance.api.common |
  org.wso2.carbon.governance.api.common.dataobjects |
  org.wso2.carbon.governance.api.endpoints.dataobjects |
  org.wso2.carbon.governance.api.generic |
  org.wso2.carbon.governance.api.generic.dataobjects |
  org.wso2.carbon.governance.api.policies.dataobjects |
  org.wso2.carbon.governance.api.schema.dataobjects |
  org.wso2.carbon.governance.api.services.dataobjects |
  org.wso2.carbon.governance.api.util |
  org.wso2.carbon.governance.api.wsdls.dataobjects |

- - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.cache

    Methods in org.wso2.carbon.governance.api.cache that return GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `GovernanceArtifact` | ArtifactCache.`getArtifact(String key)`

    Methods in org.wso2.carbon.governance.api.cache with parameters of type GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `void` | ArtifactCache.`addArtifact(String key, GovernanceArtifact value)`

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.common

    Methods in org.wso2.carbon.governance.api.common that return GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `GovernanceArtifact[]` | GovernanceArtifactManager.`findGovernanceArtifacts(GovernanceArtifactFilter criteria)` Finds all artifacts matching the given filter criteria.
    `GovernanceArtifact[]` | GovernanceArtifactManager.`findGovernanceArtifacts(Map<String,List<String>> criteria)` Finds all artifacts matching the given filter criteria.
    `GovernanceArtifact[]` | GovernanceArtifactManager.`findGovernanceArtifacts(String query)` Finds and returns all GovernanceArtifacts that match the search query.
    `GovernanceArtifact[]` | GovernanceArtifactManager.`getAllGovernanceArtifacts()` Finds all artifacts of a given type on the registry.
    `GovernanceArtifact[]` | GovernanceArtifactManager.`getAllGovernanceArtifactsByLifecycle(String lcName)` Retrieve all the governance artifacts which associated with the given lifecycle
    `GovernanceArtifact[]` | GovernanceArtifactManager.`getAllGovernanceArtifactsByLIfecycleStatus(String lcName, String lcState)` Retrieve all the governance artifacts which associated with the given lifecycle in the given lifecycle state
    `GovernanceArtifact` | GovernanceArtifactManager.`getGovernanceArtifact(String artifactId)` Fetches the given artifact on the registry.
    `GovernanceArtifact` | GovernanceArtifactManager.`newGovernanceArtifact()` Creates a new artifact from the given qualified name.
    `GovernanceArtifact` | GovernanceArtifactManager.`newGovernanceArtifact(org.apache.axiom.om.OMElement content)` Creates a new artifact from the given content.

    Methods in org.wso2.carbon.governance.api.common with parameters of type GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `void` | GovernanceArtifactManager.`addGovernanceArtifact(GovernanceArtifact artifact)` Adds the given artifact to the registry.
    `boolean` | GovernanceArtifactManager.`isExists(GovernanceArtifact artifact)` Check whether GovernanceArtifact is exists in the Registry without loading whole artifact into memory.
    `boolean` | GovernanceArtifactFilter.`matches(GovernanceArtifact artifact)` Whether the given artifact matches the expected filter criteria.
    `protected void` | GovernanceArtifactManager.`setContent(GovernanceArtifact artifact, org.wso2.carbon.registry.core.Resource resource)` Sets content of the given artifact to the given resource on the registry.
    `void` | GovernanceArtifactManager.`setContent(org.wso2.carbon.registry.core.Resource resource, GovernanceArtifact artifact)` Sets content of the given artifact to the given resource on the registry.
    `void` | GovernanceArtifactManager.`updateGovernanceArtifact(GovernanceArtifact artifact)` Updates the given artifact on the registry.

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.common.dataobjects

    Classes in org.wso2.carbon.governance.api.common.dataobjects that implement GovernanceArtifact
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GovernanceArtifactImpl` Governance Artifact abstract class, This is overwritten by Endpoint, Policy, Schema, Service, WSDL, People classes.

    Methods in org.wso2.carbon.governance.api.common.dataobjects that return GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `GovernanceArtifact[]` | GovernanceArtifactImpl.`getDependencies()` Get dependencies of an artifacts.
    `GovernanceArtifact[]` | GovernanceArtifact.`getDependencies()` Get dependencies of an artifacts.
    `GovernanceArtifact[]` | GovernanceArtifactImpl.`getDependents()` Get dependents of an artifact.
    `GovernanceArtifact[]` | GovernanceArtifact.`getDependents()` Get dependents of an artifact.

    Methods in org.wso2.carbon.governance.api.common.dataobjects that return types with arguments of type GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,List<GovernanceArtifact>>` | GovernanceArtifactImpl.`getAssociations()`
    `Map<String,List<GovernanceArtifact>>` | GovernanceArtifact.`getAssociations()`

    Methods in org.wso2.carbon.governance.api.common.dataobjects with parameters of type GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `void` | GovernanceArtifactImpl.`addAssociation(String associationType, GovernanceArtifact attachedToArtifact)`
    `void` | GovernanceArtifact.`addAssociation(String associationType, GovernanceArtifact attachedToArtifact)`
    `void` | GovernanceArtifactImpl.`addBidirectionalAssociation(String forwardType, String backwardType, GovernanceArtifact attachedToArtifact)`
    `void` | GovernanceArtifact.`addBidirectionalAssociation(String forwardType, String backwardType, GovernanceArtifact attachedToArtifact)`
    `void` | GovernanceArtifactImpl.`attach(GovernanceArtifact attachedToArtifact)` Attach the current artifact to an another artifact.
    `void` | GovernanceArtifact.`attach(GovernanceArtifact attachedToArtifact)` Attach the current artifact to an another artifact.
    `boolean` | GovernanceArtifactImpl.`compareTo(GovernanceArtifact artifact)`
    `boolean` | GovernanceArtifact.`compareTo(GovernanceArtifact artifact)`
    `boolean` | GovernanceArtifactImpl.`uniqueTo(GovernanceArtifact artifact)`
    `boolean` | GovernanceArtifact.`uniqueTo(GovernanceArtifact artifact)`

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.endpoints.dataobjects

    Subinterfaces of GovernanceArtifact in org.wso2.carbon.governance.api.endpoints.dataobjects
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Endpoint`

    Classes in org.wso2.carbon.governance.api.endpoints.dataobjects that implement GovernanceArtifact
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EndpointImpl` This represents an endpoint artifact stored on the Registry.

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.generic

    Methods in org.wso2.carbon.governance.api.generic with parameters of type GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | GenericArtifactManager.`isExists(GovernanceArtifact artifact)` Check whether GovernanceArtifact is exists in the Registry without loading whole artifact into memory.
    `void` | GenericArtifactManager.`setContent(org.wso2.carbon.registry.core.Resource resource, GovernanceArtifact artifact)`

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.generic.dataobjects

    Subinterfaces of GovernanceArtifact in org.wso2.carbon.governance.api.generic.dataobjects
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `DetachedGenericArtifact` TODO
    `interface` | `GenericArtifact`

    Classes in org.wso2.carbon.governance.api.generic.dataobjects that implement GovernanceArtifact
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DetachedGenericArtifactImpl`
    `class` | `GenericArtifactImpl` Represents a generic governance artifact.

    Constructors in org.wso2.carbon.governance.api.generic.dataobjects with parameters of type GovernanceArtifact
    Constructor and Description
    `DetachedGenericArtifactImpl(GovernanceArtifact artifact, String mediaType)`
    `GenericArtifactImpl(GovernanceArtifact artifact, String mediaType)` Copy constructor used for cloning.
    `GenericArtifactImpl(GovernanceArtifact artifact, String mediaType, List<String> uniqueAttributes)`

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.policies.dataobjects

    Subinterfaces of GovernanceArtifact in org.wso2.carbon.governance.api.policies.dataobjects
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Policy`

    Classes in org.wso2.carbon.governance.api.policies.dataobjects that implement GovernanceArtifact
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PolicyImpl` This represents a policy artifact stored on the Registry.

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.schema.dataobjects

    Subinterfaces of GovernanceArtifact in org.wso2.carbon.governance.api.schema.dataobjects
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Schema`

    Classes in org.wso2.carbon.governance.api.schema.dataobjects that implement GovernanceArtifact
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SchemaImpl` This represents a schema artifact stored on the Registry.

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.services.dataobjects

    Subinterfaces of GovernanceArtifact in org.wso2.carbon.governance.api.services.dataobjects
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Service`

    Classes in org.wso2.carbon.governance.api.services.dataobjects that implement GovernanceArtifact
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ServiceImpl` This represents a service artifact stored on the Registry.

    Constructors in org.wso2.carbon.governance.api.services.dataobjects with parameters of type GovernanceArtifact
    Constructor and Description
    `ServiceImpl(GovernanceArtifact service)` Copy constructor used for cloning.

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.util

    Methods in org.wso2.carbon.governance.api.util that return GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `static GovernanceArtifact[]` | GovernanceUtils.`getAllArtifacts(org.wso2.carbon.registry.core.Registry registry)` Deprecated. Method to obtain all indexed governance artifacts on the provided registry instance.
    `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.

    Methods in org.wso2.carbon.governance.api.util that return types with arguments of type GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `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 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)`

    Methods in org.wso2.carbon.governance.api.util with parameters of type GovernanceArtifact
    Modifier and Type | Method and Description
    --- | ---
    `static void` | GovernanceUtils.`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 ApproveItemBean[]` | GovernanceUtils.`getAllApproveItemBeans(String currentUser, org.wso2.carbon.registry.core.Resource artifactResource, GovernanceArtifact artifact, String artifactLC)` Extracts all ApproveItemBeans from the resource
    `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 artifact
    `static String` | GovernanceUtils.`getPathFromPathExpression(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.`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 boolean` | GovernanceUtils.`hasSamePath(String pathExpression, GovernanceArtifact newArtifact, GovernanceArtifact oldArtifact)` Method to compare the old and new artifact paths

  - ### Uses of GovernanceArtifact in org.wso2.carbon.governance.api.wsdls.dataobjects

    Subinterfaces of GovernanceArtifact in org.wso2.carbon.governance.api.wsdls.dataobjects
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Wsdl`

    Classes in org.wso2.carbon.governance.api.wsdls.dataobjects that implement GovernanceArtifact
    Modifier and Type | Class and Description
    --- | ---
    `class` | `WsdlImpl` This represents a WSDL artifact stored on the Registry.

Copyright © 2017 WSO2. All rights reserved.