Modifier and Type | Method and Description |
---|---|
GovernanceArtifact |
ArtifactCache.getArtifact(String key) |
Modifier and Type | Method and Description |
---|---|
void |
ArtifactCache.addArtifact(String key,
GovernanceArtifact value) |
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.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
GovernanceArtifactImpl
Governance Artifact abstract class, This is overwritten by Endpoint, Policy, Schema, Service,
WSDL, People classes.
|
Modifier and Type | Method and Description |
---|---|
GovernanceArtifact[] |
GovernanceArtifact.getDependencies()
Get dependencies of an artifacts.
|
GovernanceArtifact[] |
GovernanceArtifactImpl.getDependencies()
Get dependencies of an artifacts.
|
GovernanceArtifact[] |
GovernanceArtifact.getDependents()
Get dependents of an artifact.
|
GovernanceArtifact[] |
GovernanceArtifactImpl.getDependents()
Get dependents of an artifact.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<GovernanceArtifact>> |
GovernanceArtifact.getAssociations() |
Map<String,List<GovernanceArtifact>> |
GovernanceArtifactImpl.getAssociations() |
Modifier and Type | Method and Description |
---|---|
void |
GovernanceArtifact.addAssociation(String associationType,
GovernanceArtifact attachedToArtifact) |
void |
GovernanceArtifactImpl.addAssociation(String associationType,
GovernanceArtifact attachedToArtifact) |
void |
GovernanceArtifact.addBidirectionalAssociation(String forwardType,
String backwardType,
GovernanceArtifact attachedToArtifact) |
void |
GovernanceArtifactImpl.addBidirectionalAssociation(String forwardType,
String backwardType,
GovernanceArtifact attachedToArtifact) |
void |
GovernanceArtifact.attach(GovernanceArtifact attachedToArtifact)
Attach the current artifact to an another artifact.
|
void |
GovernanceArtifactImpl.attach(GovernanceArtifact attachedToArtifact)
Attach the current artifact to an another artifact.
|
boolean |
GovernanceArtifact.compareTo(GovernanceArtifact artifact) |
boolean |
GovernanceArtifactImpl.compareTo(GovernanceArtifact artifact) |
boolean |
GovernanceArtifact.uniqueTo(GovernanceArtifact artifact) |
boolean |
GovernanceArtifactImpl.uniqueTo(GovernanceArtifact artifact) |
Modifier and Type | Interface and Description |
---|---|
interface |
Endpoint |
Modifier and Type | Class and Description |
---|---|
class |
EndpointImpl
This represents an endpoint artifact stored on the Registry.
|
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) |
Modifier and Type | Interface and Description |
---|---|
interface |
DetachedGenericArtifact
TODO
|
interface |
GenericArtifact |
Modifier and Type | Class and Description |
---|---|
class |
DetachedGenericArtifactImpl |
class |
GenericArtifactImpl
Represents a generic governance artifact.
|
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) |
Modifier and Type | Interface and Description |
---|---|
interface |
Policy |
Modifier and Type | Class and Description |
---|---|
class |
PolicyImpl
This represents a policy artifact stored on the Registry.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Schema |
Modifier and Type | Class and Description |
---|---|
class |
SchemaImpl
This represents a schema artifact stored on the Registry.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Service |
Modifier and Type | Class and Description |
---|---|
class |
ServiceImpl
This represents a service artifact stored on the Registry.
|
Constructor and Description |
---|
ServiceImpl(GovernanceArtifact service)
Copy constructor used for cloning.
|
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.
|
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) |
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
|
Modifier and Type | Interface and Description |
---|---|
interface |
Wsdl |
Modifier and Type | Class and Description |
---|---|
class |
WsdlImpl
This represents a WSDL artifact stored on the Registry.
|
Copyright © 2018 WSO2. All Rights Reserved.