Package de.fraunhofer.iese.mydata.pmp
Class PolicyManagementPoint
java.lang.Object
de.fraunhofer.iese.mydata.pmp.PolicyManagementPoint
- All Implemented Interfaces:
- IComponentService,- IBasicManagementService,- IMyDataComponent,- IPolicyService,- ITimerService
The core implementation for a policy management point.
- Author:
- Fraunhofer IESE
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionPolicyManagementPoint(ComponentId componentId, PdpComponentInformation pdpComponentInformation, IPolicyDecisionPoint policyDecisionPoint, ZoneId timeZone, org.quartz.Scheduler timerScheduler, ConnectorFactory connectorFactory) 
- 
Method SummaryModifier and TypeMethodDescriptionaddPdp(PdpComponentInformation component) addPep(PepComponentInformation component) addPip(PipComponentInformation component) addPxp(PxpComponentInformation component) voiddeletePep(ComponentId componentId) voiddeletePip(ComponentId componentId) voiddeletePolicy(PolicyId policyId) voiddeletePxp(ComponentId componentId) voiddeleteTimer(TimerId timerId) voiddeployPolicy(PolicyId policyId) voiddeployTimer(TimerId timerId) getAllComponentStates(SolutionId solutionId) getDeployedPolicies(SolutionId solutionId) getDeployedTimers(SolutionId solutionId) getId()getPdp()getPep(ComponentId id) getPip(ComponentId id) getPolicies(SolutionId solutionId) getPxp(ComponentId id) getRevokedPolicies(SolutionId solutionId) getRevokedTimers(SolutionId solutionId) getTimers(SolutionId solutionId) booleanisPolicyDeployed(PolicyId policyId) booleanisTimerDeployed(TimerId timerId) listDeployedPolicies(SolutionId solutionId) listDeployedTimers(SolutionId solutionId) listPolicies(SolutionId solutionId) listRevokedPolicies(SolutionId solutionId) listRevokedTimers(SolutionId solutionId) listTimers(SolutionId solutionId) lookupPep(SolutionId solutionId) lookupPip(SolutionId solutionId, MethodInterfaceDescription query) lookupPxp(SolutionId solutionId, MethodInterfaceDescription query) booleanpdpExists(ComponentId componentId) booleanpepExists(ComponentId componentId) booleanpipExists(ComponentId componentId) booleanpolicyExists(PolicyId policyId) booleanpxpExists(ComponentId componentId) booleanreset()voidrevokePolicy(PolicyId policyId) voidrevokeTimer(TimerId timerId) booleantimerExists(TimerId timerId) updatePdp(PdpComponentInformation component) updatePep(PepComponentInformation component) updatePip(PipComponentInformation component) updatePolicy(Policy policy) updatePxp(PxpComponentInformation component) updateTimer(Timer timer) 
- 
Constructor Details- 
PolicyManagementPointpublic PolicyManagementPoint(ComponentId componentId, PdpComponentInformation pdpComponentInformation, IPolicyDecisionPoint policyDecisionPoint, ZoneId timeZone, org.quartz.Scheduler timerScheduler, ConnectorFactory connectorFactory) throws InvalidEntityException - Throws:
- InvalidEntityException
 
 
- 
- 
Method Details- 
getHealth- Specified by:
- getHealthin interface- IMyDataComponent
 
- 
getId- Specified by:
- getIdin interface- IMyDataComponent
 
- 
resetpublic boolean reset()- Specified by:
- resetin interface- IMyDataComponent
 
- 
addPolicypublic PolicyId addPolicy(Policy policy) throws IOException, ResourceUpdateException, InvalidEntityException, ConflictingResourceException, NoSuchEntityException - Specified by:
- addPolicyin interface- IPolicyService
- Throws:
- IOException
- ResourceUpdateException
- InvalidEntityException
- ConflictingResourceException
- NoSuchEntityException
 
- 
policyExists- Specified by:
- policyExistsin interface- IPolicyService
- Throws:
- InvalidEntityException
 
- 
getPolicy- Specified by:
- getPolicyin interface- IPolicyService
- Throws:
- NoSuchEntityException
- InvalidEntityException
 
- 
getPolicies- Specified by:
- getPoliciesin interface- IPolicyService
- Throws:
- InvalidEntityException
 
- 
getRevokedPolicies- Specified by:
- getRevokedPoliciesin interface- IPolicyService
- Throws:
- InvalidEntityException
 
- 
listRevokedPolicies- Specified by:
- listRevokedPoliciesin interface- IPolicyService
- Throws:
- InvalidEntityException
 
- 
listPolicies- Specified by:
- listPoliciesin interface- IPolicyService
- Throws:
- InvalidEntityException
 
- 
getDeployedPolicies- Specified by:
- getDeployedPoliciesin interface- IPolicyService
 
- 
getDeployedPolicies- Specified by:
- getDeployedPoliciesin interface- IPolicyService
- Throws:
- InvalidEntityException
 
- 
listDeployedPolicies- Specified by:
- listDeployedPoliciesin interface- IPolicyService
- Throws:
- InvalidEntityException
 
- 
isPolicyDeployed- Specified by:
- isPolicyDeployedin interface- IPolicyService
- Throws:
- InvalidEntityException
 
- 
updatePolicypublic PolicyId updatePolicy(Policy policy) throws IOException, ResourceUpdateException, NoSuchEntityException, InvalidEntityException - Specified by:
- updatePolicyin interface- IPolicyService
- Throws:
- IOException
- ResourceUpdateException
- NoSuchEntityException
- InvalidEntityException
 
- 
deployPolicypublic void deployPolicy(PolicyId policyId) throws IOException, NoSuchEntityException, ResourceUpdateException, InvalidEntityException - Specified by:
- deployPolicyin interface- IPolicyService
- Throws:
- IOException
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
 
- 
revokePolicypublic void revokePolicy(PolicyId policyId) throws IOException, NoSuchEntityException, ResourceUpdateException, InvalidEntityException - Specified by:
- revokePolicyin interface- IPolicyService
- Throws:
- IOException
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
 
- 
deletePolicypublic void deletePolicy(PolicyId policyId) throws ResourceUpdateException, NoSuchEntityException, InvalidEntityException - Specified by:
- deletePolicyin interface- IPolicyService
- Throws:
- ResourceUpdateException
- NoSuchEntityException
- InvalidEntityException
 
- 
addTimerpublic TimerId addTimer(Timer timer) throws ResourceUpdateException, ConflictingResourceException, InvalidEntityException, NoSuchEntityException - Specified by:
- addTimerin interface- ITimerService
- Throws:
- ResourceUpdateException
- ConflictingResourceException
- InvalidEntityException
- NoSuchEntityException
 
- 
getTimer- Specified by:
- getTimerin interface- ITimerService
- Throws:
- NoSuchEntityException
- InvalidEntityException
 
- 
getTimers- Specified by:
- getTimersin interface- ITimerService
- Throws:
- InvalidEntityException
 
- 
listTimers- Specified by:
- listTimersin interface- ITimerService
- Throws:
- InvalidEntityException
 
- 
getDeployedTimers- Specified by:
- getDeployedTimersin interface- ITimerService
- Throws:
- InvalidEntityException
 
- 
listDeployedTimers- Specified by:
- listDeployedTimersin interface- ITimerService
- Throws:
- InvalidEntityException
 
- 
isTimerDeployedpublic boolean isTimerDeployed(TimerId timerId) throws NoSuchEntityException, InvalidEntityException - Specified by:
- isTimerDeployedin interface- ITimerService
- Throws:
- NoSuchEntityException
- InvalidEntityException
 
- 
deployTimerpublic void deployTimer(TimerId timerId) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException - Specified by:
- deployTimerin interface- ITimerService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
 
- 
revokeTimerpublic void revokeTimer(TimerId timerId) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException - Specified by:
- revokeTimerin interface- ITimerService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
 
- 
deleteTimerpublic void deleteTimer(TimerId timerId) throws ResourceUpdateException, NoSuchEntityException, InvalidEntityException - Specified by:
- deleteTimerin interface- ITimerService
- Throws:
- ResourceUpdateException
- NoSuchEntityException
- InvalidEntityException
 
- 
timerExists- Specified by:
- timerExistsin interface- ITimerService
- Throws:
- InvalidEntityException
 
- 
addPdppublic ComponentId addPdp(PdpComponentInformation component) throws ConflictingResourceException, InvalidEntityException - Specified by:
- addPdpin interface- IComponentService
- Throws:
- ConflictingResourceException
- InvalidEntityException
 
- 
addPeppublic ComponentId addPep(PepComponentInformation component) throws ConflictingResourceException, InvalidEntityException - Specified by:
- addPepin interface- IComponentService
- Throws:
- ConflictingResourceException
- InvalidEntityException
 
- 
addPippublic ComponentId addPip(PipComponentInformation component) throws IOException, ConflictingResourceException, InvalidEntityException - Specified by:
- addPipin interface- IComponentService
- Throws:
- IOException
- ConflictingResourceException
- InvalidEntityException
 
- 
addPxppublic ComponentId addPxp(PxpComponentInformation component) throws IOException, ConflictingResourceException, InvalidEntityException - Specified by:
- addPxpin interface- IComponentService
- Throws:
- IOException
- ConflictingResourceException
- InvalidEntityException
 
- 
pdpExists- Specified by:
- pdpExistsin interface- IComponentService
- Throws:
- InvalidEntityException
 
- 
pepExists- Specified by:
- pepExistsin interface- IComponentService
- Throws:
- InvalidEntityException
 
- 
pipExists- Specified by:
- pipExistsin interface- IComponentService
- Throws:
- InvalidEntityException
 
- 
pxpExists- Specified by:
- pxpExistsin interface- IComponentService
- Throws:
- InvalidEntityException
 
- 
getPdp- Specified by:
- getPdpin interface- IComponentService
- Throws:
- NoSuchEntityException
 
- 
getPeppublic PepComponentInformation getPep(ComponentId id) throws NoSuchEntityException, InvalidEntityException - Specified by:
- getPepin interface- IComponentService
- Throws:
- NoSuchEntityException
- InvalidEntityException
 
- 
getPippublic PipComponentInformation getPip(ComponentId id) throws NoSuchEntityException, InvalidEntityException - Specified by:
- getPipin interface- IComponentService
- Throws:
- NoSuchEntityException
- InvalidEntityException
 
- 
getPxppublic PxpComponentInformation getPxp(ComponentId id) throws NoSuchEntityException, InvalidEntityException - Specified by:
- getPxpin interface- IComponentService
- Throws:
- NoSuchEntityException
- InvalidEntityException
 
- 
getPipStatepublic HealthStatus getPipState(ComponentId id) throws NoSuchEntityException, InvalidEntityException, IOException - Specified by:
- getPipStatein interface- IComponentService
- Throws:
- NoSuchEntityException
- InvalidEntityException
- IOException
 
- 
getPxpStatepublic HealthStatus getPxpState(ComponentId id) throws NoSuchEntityException, InvalidEntityException, IOException - Specified by:
- getPxpStatein interface- IComponentService
- Throws:
- NoSuchEntityException
- InvalidEntityException
- IOException
 
- 
getAllComponentStates- Specified by:
- getAllComponentStatesin interface- IComponentService
 
- 
lookupPep- Specified by:
- lookupPepin interface- IComponentService
- Throws:
- InvalidEntityException
 
- 
lookupPippublic Set<PipComponentInformation> lookupPip(SolutionId solutionId, MethodInterfaceDescription query) throws InvalidEntityException - Specified by:
- lookupPipin interface- IComponentService
- Throws:
- InvalidEntityException
 
- 
lookupPxppublic Set<PxpComponentInformation> lookupPxp(SolutionId solutionId, MethodInterfaceDescription query) throws InvalidEntityException - Specified by:
- lookupPxpin interface- IComponentService
- Throws:
- InvalidEntityException
 
- 
updatePdppublic ComponentId updatePdp(PdpComponentInformation component) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException - Specified by:
- updatePdpin interface- IComponentService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
 
- 
updatePeppublic ComponentId updatePep(PepComponentInformation component) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException - Specified by:
- updatePepin interface- IComponentService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
 
- 
updatePippublic ComponentId updatePip(PipComponentInformation component) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException, IOException - Specified by:
- updatePipin interface- IComponentService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
- IOException
 
- 
updatePxppublic ComponentId updatePxp(PxpComponentInformation component) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException, IOException - Specified by:
- updatePxpin interface- IComponentService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
- IOException
 
- 
deletePeppublic void deletePep(ComponentId componentId) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException, IOException - Specified by:
- deletePepin interface- IComponentService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
- IOException
 
- 
deletePippublic void deletePip(ComponentId componentId) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException, IOException - Specified by:
- deletePipin interface- IComponentService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
- IOException
 
- 
deletePxppublic void deletePxp(ComponentId componentId) throws NoSuchEntityException, ResourceUpdateException, InvalidEntityException, IOException - Specified by:
- deletePxpin interface- IComponentService
- Throws:
- NoSuchEntityException
- ResourceUpdateException
- InvalidEntityException
- IOException
 
- 
getRevokedTimers- Specified by:
- getRevokedTimersin interface- ITimerService
- Throws:
- InvalidEntityException
 
- 
listRevokedTimers- Specified by:
- listRevokedTimersin interface- ITimerService
- Throws:
- InvalidEntityException
 
- 
updateTimerpublic TimerId updateTimer(Timer timer) throws ResourceUpdateException, NoSuchEntityException, InvalidEntityException, ConflictingResourceException - Specified by:
- updateTimerin interface- ITimerService
- Throws:
- ResourceUpdateException
- NoSuchEntityException
- InvalidEntityException
- ConflictingResourceException
 
 
-