## Uses of Interface
org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact

- Packages that use GenericArtifact
  Package | Description
  --- | ---
  org.wso2.carbon.governance.api.common |
  org.wso2.carbon.governance.api.generic |
  org.wso2.carbon.governance.api.generic.dataobjects |

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

    Methods in org.wso2.carbon.governance.api.common with parameters of type GenericArtifact
    Modifier and Type | Method and Description
    --- | ---
    `void` | GovernanceArtifactManager.`removeGenericArtifact(GenericArtifact artifact)`

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

    Methods in org.wso2.carbon.governance.api.generic that return GenericArtifact
    Modifier and Type | Method and Description
    --- | ---
    `GenericArtifact[]` | GenericArtifactManager.`findGenericArtifacts(GenericArtifactFilter criteria)` Finds all artifacts matching the given filter criteria.
    `GenericArtifact[]` | GenericArtifactManager.`findGenericArtifacts(Map<String,List<String>> criteria)` Finds all artifacts matching the given filter criteria.
    `GenericArtifact[]` | GenericArtifactManager.`findGovernanceArtifacts(String query)` Finds and returns GenericArtifact instances matching the search query
    `GenericArtifact[]` | GenericArtifactManager.`getAllGenericArtifacts()` Finds all artifacts on the registry.
    `GenericArtifact[]` | GenericArtifactManager.`getAllGenericArtifactsByLifecycle(String lcName)` Retrieve all the generic artifacts which associated with the given lifecycle
    `GenericArtifact[]` | GenericArtifactManager.`getAllGenericArtifactsByLifecycleStatus(String lcName, String lcState)` Retrieve all the generic artifacts which associated with the given lifecycle in the given lifecycle state
    `GenericArtifact` | GenericArtifactManager.`getGenericArtifact(String artifactId)` Fetches the given artifact on the registry.
    `static GenericArtifact` | GenericArtifactManager.`newDetachedGovernanceArtifact(QName artifactName, String mediaType)`
    `GenericArtifact` | GenericArtifactManager.`newGovernanceArtifact(org.apache.axiom.om.OMElement content)` Creates a new artifact from the given content.
    `GenericArtifact` | GenericArtifactManager.`newGovernanceArtifact(QName qName)` Creates a new artifact from the given qualified name.
    `GenericArtifact` | GenericArtifactManager.`newGovernanceArtifact(QName qName, byte[] content)` Creates a new artifact from the given qualified name.
    `GenericArtifact` | GenericArtifactManager.`newGovernanceArtifact(String omContent)` Creates a new artifact from the given string content.

    Methods in org.wso2.carbon.governance.api.generic with parameters of type GenericArtifact
    Modifier and Type | Method and Description
    --- | ---
    `void` | GenericArtifactManager.`addGenericArtifact(GenericArtifact artifact)` Adds the given artifact to the registry.
    `boolean` | GenericArtifactFilter.`matches(GenericArtifact artifact)` Whether the given artifact matches the expected filter criteria.
    `void` | GenericArtifactManager.`removeGenericArtifact(GenericArtifact artifact)`
    `void` | GenericArtifactManager.`updateGenericArtifact(GenericArtifact artifact)` Updates the given artifact on the registry.

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

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

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

    Methods in org.wso2.carbon.governance.api.generic.dataobjects that return GenericArtifact
    Modifier and Type | Method and Description
    --- | ---
    `GenericArtifact` | DetachedGenericArtifactImpl.`makeRegistryAware(GenericArtifactManager artifactManager)`
    `GenericArtifact` | DetachedGenericArtifact.`makeRegistryAware(GenericArtifactManager artifactManager)`

Copyright © 2017 WSO2. All rights reserved.