|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Service
| Method Summary | |
|---|---|
void |
activate()
Deprecated. since active functionality is no longer used. |
void |
attachEndpoint(Endpoint endpoint)
Attach an endpoint artifact to a service artifact. |
void |
attachPolicy(Policy policy)
Attach a policy artifact to a service artifact. |
void |
attachSchema(Schema schema)
Attach a schema artifact to a service artifact. |
void |
attachWSDL(Wsdl wsdl)
Attach a WSDL artifact to a service artifact. |
void |
deactivate()
Deprecated. since active functionality is no longer used. |
void |
detachEndpoint(String endpointId)
Detach an endpoint artifact from a service artifact. |
void |
detachPolicy(String policyId)
Detach a policy artifact from a service artifact. |
void |
detachSchema(String schemaId)
Detach a schema artifact from a service artifact. |
void |
detachWSDL(String wsdlId)
Detach a WSDL artifact from a service artifact. |
Endpoint[] |
getAttachedEndpoints()
Method to retrieve all endpoints attached to this service artifact. |
Policy[] |
getAttachedPolicies()
Method to retrieve all policies attached to this service artifact. |
Schema[] |
getAttachedSchemas()
Method to retrieve all schemas attached to this service artifact. |
Wsdl[] |
getAttachedWsdls()
Method to retrieve all WSDLs attached to this service artifact. |
boolean |
isActive()
Deprecated. since active functionality is no longer used. |
| Methods inherited from interface org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact |
|---|
addAttribute, attachLifecycle, checkLCItem, getAllCheckListItemNames, getAllLifecycleActions, getAllVotingItems, getAttribute, getAttributeKeys, getAttributes, getDependencies, getDependents, getId, getLifecycleName, getLifecycleNames, getLifecycleState, getLifecycleState, getPath, getQName, invokeAction, invokeAction, isLCItemChecked, isVoted, removeAttribute, setAttribute, setAttributes, setId, uncheckLCItem, unvote, vote |
| Method Detail |
|---|
void attachPolicy(Policy policy)
throws GovernanceException
policy - the policy to attach.
GovernanceException - if the operation failed.
void detachPolicy(String policyId)
throws GovernanceException
policyId - the identifier of the policy to detach.
GovernanceException - if the operation failed.
Policy[] getAttachedPolicies()
throws GovernanceException
GovernanceException - if the operation failed.
void attachSchema(Schema schema)
throws GovernanceException
schema - the schema to attach.
GovernanceException - if the operation failed.
void detachSchema(String schemaId)
throws GovernanceException
schemaId - the identifier of the schema to detach.
GovernanceException - if the operation failed.
Schema[] getAttachedSchemas()
throws GovernanceException
GovernanceException - if the operation failed.
void attachWSDL(Wsdl wsdl)
throws GovernanceException
wsdl - the WSDL to attach.
GovernanceException - if the operation failed.
void detachWSDL(String wsdlId)
throws GovernanceException
wsdlId - the identifier of the WSDL to detach.
GovernanceException - if the operation failed.
Wsdl[] getAttachedWsdls()
throws GovernanceException
GovernanceException - if the operation failed.
void attachEndpoint(Endpoint endpoint)
throws GovernanceException
endpoint - the endpoint to attach.
GovernanceException - if the operation failed.
void detachEndpoint(String endpointId)
throws GovernanceException
endpointId - the identifier of the endpoint to detach.
GovernanceException - if the operation failed.
Endpoint[] getAttachedEndpoints()
throws GovernanceException
GovernanceException - if the operation failed.
void activate()
throws GovernanceException
GovernanceException - if the operation failed.
void deactivate()
throws GovernanceException
GovernanceException - if the operation failed.
boolean isActive()
throws GovernanceException
GovernanceException - if the operation failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||