public interface IPolicyRetrievalPoint extends IComponent
| Modifier and Type | Method and Description |
|---|---|
boolean |
addPolicy(Policy policy)
Adds a policy (ILP, ILPT, SLP, SLPT).
|
boolean |
componentExists(ComponentId componentId)
Checks if the component is already in the database.
|
List<Policy> |
getDeployedPolicies()
Gets all policy.
|
List<Policy> |
getDeployedPolicies(String solutionId)
Gets the deployed policies.
|
boolean |
getDeploymentStatus(PolicyId policyId)
Gets the status.
|
List<Policy> |
getPolicies()
Gets all policy.
|
List<Policy> |
getPolicies(String solutionId)
Gets the policies.
|
Policy |
getPolicy(PolicyId policyId)
Gets the latest policy.
|
List<PolicyId> |
getPolicyIds()
Gets all policy ids.
|
List<PolicyId> |
listDeployedPolicies()
Provides a list of currently deployed policy ids.
|
ComponentBase |
lookup(ComponentId id)
Lookup by
ComponentId. |
Component |
lookupPdp()
Returns the list of PDPs in the database.
|
List<PepComponent> |
lookupPep()
Returns the list of PEPs in the database.
|
PepComponent |
lookupPep(ComponentId id)
Lookup by
ComponentId. |
List<Component> |
lookupPip()
Returns the list of PIPs in the database.
|
List<Component> |
lookupPip(MethodInterfaceDescription query)
Returns the list of PIPs in the database.
|
List<Component> |
lookupPxp()
Returns the list of PXPs in the database.
|
List<Component> |
lookupPxp(MethodInterfaceDescription query)
Returns the list of PXPs in the database.
|
boolean |
registerComponent(ComponentBase component)
Adds a component into the database.
|
boolean |
registerPEPComponent(PepComponent component)
Adds a pep into the database.
|
boolean |
removePolicy(PolicyId policy,
String reason)
Removes the policy.
|
void |
setDeploymentStatus(PolicyId policyId,
boolean deployed)
Sets the status.
|
boolean |
unregisterComponent(ComponentId componentId)
Deletes a component from the database.
|
boolean |
unregisterPEPComponent(ComponentId componentId)
Unregisters a pep by id.
|
getHealth, getId, initialize, resetboolean addPolicy(Policy policy) throws IOException
policy - the policyIOException - Signals that an I/O exception has occurred.boolean componentExists(ComponentId componentId) throws IOException
componentId - the id of the componentIOException - communication failureList<Policy> getDeployedPolicies() throws IOException
IOException - Signals that an I/O exception has occurred.List<Policy> getDeployedPolicies(String solutionId)
solutionId - the solution idboolean getDeploymentStatus(PolicyId policyId) throws IOException
policyId - the policy idIOException - Signals that an I/O exception has occurred.List<Policy> getPolicies() throws IOException
IOException - Signals that an I/O exception has occurred.List<Policy> getPolicies(String solutionId)
solutionId - the solution idPolicy getPolicy(PolicyId policyId) throws IOException
policyId - the policy idIOException - Signals that an I/O exception has occurred.List<PolicyId> getPolicyIds() throws IOException
IOException - Signals that an I/O exception has occurred.List<PolicyId> listDeployedPolicies() throws IOException
IOException - communication failureComponentBase lookup(ComponentId id) throws IOException
ComponentId.id - the idIOException - communication failureComponent lookupPdp() throws IOException
IOException - communication failureList<PepComponent> lookupPep() throws IOException
IOException - communication failurePepComponent lookupPep(ComponentId id) throws IOException
ComponentId.id - the idIOException - communication failureList<Component> lookupPip() throws IOException
IOException - communication failureList<Component> lookupPip(MethodInterfaceDescription query) throws IOException
query - the required / available MethodInterfaceDescriptions
to match againstIOException - communication failureList<Component> lookupPxp() throws IOException
IOException - communication failureList<Component> lookupPxp(MethodInterfaceDescription query) throws IOException
query - the required / available MethodInterfaceDescriptions
to match againstIOException - communication failureboolean registerComponent(ComponentBase component) throws IOException
component - the componentIOException - communication failureboolean registerPEPComponent(PepComponent component) throws IOException
component - the componentIOException - communication failureboolean removePolicy(PolicyId policy, String reason) throws IOException
policy - the policyreason - the reasonIOException - Signals that an I/O exception has occurred.void setDeploymentStatus(PolicyId policyId, boolean deployed) throws IOException
policyId - the policy iddeployed - the deployedIOException - Signals that an I/O exception has occurred.boolean unregisterComponent(ComponentId componentId) throws IOException
componentId - the ID of the component to be removedIOException - communication failureboolean unregisterPEPComponent(ComponentId componentId) throws IOException
componentId - the componentIdIOException - communication failureCopyright © 2018. All rights reserved.