Class PmpJavaConnector
- java.lang.Object
-
- de.fraunhofer.iese.mydata.connector.java.PmpJavaConnector
-
- All Implemented Interfaces:
de.fraunhofer.iese.mydata.component.IComponentService
,de.fraunhofer.iese.mydata.component.interfaces.IBasicManagementService
,de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
,de.fraunhofer.iese.mydata.policy.IPolicyService
,de.fraunhofer.iese.mydata.timer.ITimerService
public class PmpJavaConnector extends Object implements de.fraunhofer.iese.mydata.component.interfaces.IBasicManagementService
-
-
Constructor Summary
Constructors Constructor Description PmpJavaConnector(URI uri)
PmpJavaConnector(URI uri, de.fraunhofer.iese.mydata.component.connector.Authentication auth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.fraunhofer.iese.mydata.component.ComponentId
addPdp(de.fraunhofer.iese.mydata.component.information.PdpComponentInformation component)
de.fraunhofer.iese.mydata.component.ComponentId
addPep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation component)
de.fraunhofer.iese.mydata.component.ComponentId
addPip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation component)
de.fraunhofer.iese.mydata.policy.PolicyId
addPolicy(de.fraunhofer.iese.mydata.policy.Policy policy)
de.fraunhofer.iese.mydata.component.ComponentId
addPxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation component)
de.fraunhofer.iese.mydata.timer.TimerId
addTimer(de.fraunhofer.iese.mydata.timer.Timer timer)
void
deletePep(de.fraunhofer.iese.mydata.component.ComponentId componentId)
void
deletePip(de.fraunhofer.iese.mydata.component.ComponentId componentId)
void
deletePolicy(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
void
deletePxp(de.fraunhofer.iese.mydata.component.ComponentId componentId)
void
deleteTimer(de.fraunhofer.iese.mydata.timer.TimerId timerId)
void
deployPolicy(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
void
deployTimer(de.fraunhofer.iese.mydata.timer.TimerId timerId)
Map<de.fraunhofer.iese.mydata.component.ComponentId,de.fraunhofer.iese.mydata.component.health.HealthStatus>
getAllComponentStates(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.policy.Policy>
getDeployedPolicies()
Set<de.fraunhofer.iese.mydata.policy.Policy>
getDeployedPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.timer.Timer>
getDeployedTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
de.fraunhofer.iese.mydata.component.health.HealthStatus
getHealth()
de.fraunhofer.iese.mydata.component.ComponentId
getId()
de.fraunhofer.iese.mydata.component.information.PdpComponentInformation
getPdp()
de.fraunhofer.iese.mydata.component.information.PepComponentInformation
getPep(de.fraunhofer.iese.mydata.component.ComponentId id)
de.fraunhofer.iese.mydata.component.information.PipComponentInformation
getPip(de.fraunhofer.iese.mydata.component.ComponentId id)
de.fraunhofer.iese.mydata.component.health.HealthStatus
getPipState(de.fraunhofer.iese.mydata.component.ComponentId componentId)
Set<de.fraunhofer.iese.mydata.policy.Policy>
getPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
de.fraunhofer.iese.mydata.policy.Policy
getPolicy(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
de.fraunhofer.iese.mydata.component.information.PxpComponentInformation
getPxp(de.fraunhofer.iese.mydata.component.ComponentId id)
de.fraunhofer.iese.mydata.component.health.HealthStatus
getPxpState(de.fraunhofer.iese.mydata.component.ComponentId componentId)
Set<de.fraunhofer.iese.mydata.policy.Policy>
getRevokedPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.timer.Timer>
getRevokedTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
de.fraunhofer.iese.mydata.timer.Timer
getTimer(de.fraunhofer.iese.mydata.timer.TimerId timerId)
Set<de.fraunhofer.iese.mydata.timer.Timer>
getTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
boolean
isPolicyDeployed(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
boolean
isTimerDeployed(de.fraunhofer.iese.mydata.timer.TimerId timerId)
Set<de.fraunhofer.iese.mydata.policy.PolicyId>
listDeployedPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.timer.TimerId>
listDeployedTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.policy.PolicyId>
listPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.policy.PolicyId>
listRevokedPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.timer.TimerId>
listRevokedTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.timer.TimerId>
listTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.component.information.PepComponentInformation>
lookupPep(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
Set<de.fraunhofer.iese.mydata.component.information.PipComponentInformation>
lookupPip(de.fraunhofer.iese.mydata.solution.SolutionId solutionId, de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription query)
Set<de.fraunhofer.iese.mydata.component.information.PxpComponentInformation>
lookupPxp(de.fraunhofer.iese.mydata.solution.SolutionId solutionId, de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription query)
boolean
pdpExists(de.fraunhofer.iese.mydata.component.ComponentId componentId)
boolean
pepExists(de.fraunhofer.iese.mydata.component.ComponentId componentId)
boolean
pipExists(de.fraunhofer.iese.mydata.component.ComponentId componentId)
boolean
policyExists(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
boolean
pxpExists(de.fraunhofer.iese.mydata.component.ComponentId componentId)
boolean
reset()
void
revokePolicy(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
void
revokeTimer(de.fraunhofer.iese.mydata.timer.TimerId timerId)
boolean
timerExists(de.fraunhofer.iese.mydata.timer.TimerId timerId)
de.fraunhofer.iese.mydata.component.ComponentId
updatePdp(de.fraunhofer.iese.mydata.component.information.PdpComponentInformation component)
de.fraunhofer.iese.mydata.component.ComponentId
updatePep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation component)
de.fraunhofer.iese.mydata.component.ComponentId
updatePip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation component)
de.fraunhofer.iese.mydata.policy.PolicyId
updatePolicy(de.fraunhofer.iese.mydata.policy.Policy policy)
de.fraunhofer.iese.mydata.component.ComponentId
updatePxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation component)
de.fraunhofer.iese.mydata.timer.TimerId
updateTimer(de.fraunhofer.iese.mydata.timer.Timer timer)
-
-
-
Method Detail
-
getHealth
public de.fraunhofer.iese.mydata.component.health.HealthStatus getHealth() throws IOException
- Specified by:
getHealth
in interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
- Throws:
IOException
-
getId
public de.fraunhofer.iese.mydata.component.ComponentId getId() throws IOException
- Specified by:
getId
in interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
- Throws:
IOException
-
reset
public boolean reset() throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
reset
in interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
addPolicy
public de.fraunhofer.iese.mydata.policy.PolicyId addPolicy(de.fraunhofer.iese.mydata.policy.Policy policy) throws IOException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
addPolicy
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
policyExists
public boolean policyExists(de.fraunhofer.iese.mydata.policy.PolicyId policyId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
policyExists
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getPolicy
public de.fraunhofer.iese.mydata.policy.Policy getPolicy(de.fraunhofer.iese.mydata.policy.PolicyId policyId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
getPolicy
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getPolicies
public Set<de.fraunhofer.iese.mydata.policy.Policy> getPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
getPolicies
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
listPolicies
public Set<de.fraunhofer.iese.mydata.policy.PolicyId> listPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
listPolicies
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
getDeployedPolicies
public Set<de.fraunhofer.iese.mydata.policy.Policy> getDeployedPolicies() throws IOException
- Specified by:
getDeployedPolicies
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
-
getDeployedPolicies
public Set<de.fraunhofer.iese.mydata.policy.Policy> getDeployedPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
getDeployedPolicies
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
listDeployedPolicies
public Set<de.fraunhofer.iese.mydata.policy.PolicyId> listDeployedPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
listDeployedPolicies
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
isPolicyDeployed
public boolean isPolicyDeployed(de.fraunhofer.iese.mydata.policy.PolicyId policyId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
isPolicyDeployed
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
updatePolicy
public de.fraunhofer.iese.mydata.policy.PolicyId updatePolicy(de.fraunhofer.iese.mydata.policy.Policy policy) throws IOException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
updatePolicy
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
deployPolicy
public void deployPolicy(de.fraunhofer.iese.mydata.policy.PolicyId policyId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
deployPolicy
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
revokePolicy
public void revokePolicy(de.fraunhofer.iese.mydata.policy.PolicyId policyId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
revokePolicy
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
deletePolicy
public void deletePolicy(de.fraunhofer.iese.mydata.policy.PolicyId policyId) throws IOException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException
- Specified by:
deletePolicy
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
-
addTimer
public de.fraunhofer.iese.mydata.timer.TimerId addTimer(de.fraunhofer.iese.mydata.timer.Timer timer) throws IOException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
addTimer
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
getTimer
public de.fraunhofer.iese.mydata.timer.Timer getTimer(de.fraunhofer.iese.mydata.timer.TimerId timerId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
getTimer
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getTimers
public Set<de.fraunhofer.iese.mydata.timer.Timer> getTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
getTimers
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
listTimers
public Set<de.fraunhofer.iese.mydata.timer.TimerId> listTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
listTimers
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
getDeployedTimers
public Set<de.fraunhofer.iese.mydata.timer.Timer> getDeployedTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
getDeployedTimers
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
listDeployedTimers
public Set<de.fraunhofer.iese.mydata.timer.TimerId> listDeployedTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
listDeployedTimers
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
isTimerDeployed
public boolean isTimerDeployed(de.fraunhofer.iese.mydata.timer.TimerId timerId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
isTimerDeployed
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
deployTimer
public void deployTimer(de.fraunhofer.iese.mydata.timer.TimerId timerId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
deployTimer
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
revokeTimer
public void revokeTimer(de.fraunhofer.iese.mydata.timer.TimerId timerId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
revokeTimer
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
deleteTimer
public void deleteTimer(de.fraunhofer.iese.mydata.timer.TimerId timerId) throws IOException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException
- Specified by:
deleteTimer
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
-
timerExists
public boolean timerExists(de.fraunhofer.iese.mydata.timer.TimerId timerId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
timerExists
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
addPdp
public de.fraunhofer.iese.mydata.component.ComponentId addPdp(de.fraunhofer.iese.mydata.component.information.PdpComponentInformation component) throws IOException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
addPdp
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
addPep
public de.fraunhofer.iese.mydata.component.ComponentId addPep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation component) throws IOException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
addPep
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
addPip
public de.fraunhofer.iese.mydata.component.ComponentId addPip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation component) throws IOException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
addPip
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
addPxp
public de.fraunhofer.iese.mydata.component.ComponentId addPxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation component) throws IOException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
addPxp
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
pdpExists
public boolean pdpExists(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
pdpExists
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
pepExists
public boolean pepExists(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
pepExists
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
pipExists
public boolean pipExists(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
pipExists
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
pxpExists
public boolean pxpExists(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
pxpExists
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getPdp
public de.fraunhofer.iese.mydata.component.information.PdpComponentInformation getPdp() throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
getPdp
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
getPep
public de.fraunhofer.iese.mydata.component.information.PepComponentInformation getPep(de.fraunhofer.iese.mydata.component.ComponentId id) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
getPep
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getPip
public de.fraunhofer.iese.mydata.component.information.PipComponentInformation getPip(de.fraunhofer.iese.mydata.component.ComponentId id) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
getPip
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getPxp
public de.fraunhofer.iese.mydata.component.information.PxpComponentInformation getPxp(de.fraunhofer.iese.mydata.component.ComponentId id) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
getPxp
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getPipState
public de.fraunhofer.iese.mydata.component.health.HealthStatus getPipState(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
getPipState
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getPxpState
public de.fraunhofer.iese.mydata.component.health.HealthStatus getPxpState(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
getPxpState
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getAllComponentStates
public Map<de.fraunhofer.iese.mydata.component.ComponentId,de.fraunhofer.iese.mydata.component.health.HealthStatus> getAllComponentStates(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
getAllComponentStates
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
lookupPep
public Set<de.fraunhofer.iese.mydata.component.information.PepComponentInformation> lookupPep(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
lookupPep
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
lookupPip
public Set<de.fraunhofer.iese.mydata.component.information.PipComponentInformation> lookupPip(de.fraunhofer.iese.mydata.solution.SolutionId solutionId, de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription query) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
lookupPip
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
lookupPxp
public Set<de.fraunhofer.iese.mydata.component.information.PxpComponentInformation> lookupPxp(de.fraunhofer.iese.mydata.solution.SolutionId solutionId, de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription query) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
lookupPxp
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
updatePdp
public de.fraunhofer.iese.mydata.component.ComponentId updatePdp(de.fraunhofer.iese.mydata.component.information.PdpComponentInformation component) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
updatePdp
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
updatePep
public de.fraunhofer.iese.mydata.component.ComponentId updatePep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation component) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
updatePep
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
updatePip
public de.fraunhofer.iese.mydata.component.ComponentId updatePip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation component) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
updatePip
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
updatePxp
public de.fraunhofer.iese.mydata.component.ComponentId updatePxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation component) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
updatePxp
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
deletePep
public void deletePep(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
deletePep
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
deletePip
public void deletePip(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
deletePip
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
deletePxp
public void deletePxp(de.fraunhofer.iese.mydata.component.ComponentId componentId) throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Specified by:
deletePxp
in interfacede.fraunhofer.iese.mydata.component.IComponentService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
getRevokedPolicies
public Set<de.fraunhofer.iese.mydata.policy.Policy> getRevokedPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
getRevokedPolicies
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
listRevokedPolicies
public Set<de.fraunhofer.iese.mydata.policy.PolicyId> listRevokedPolicies(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
listRevokedPolicies
in interfacede.fraunhofer.iese.mydata.policy.IPolicyService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
getRevokedTimers
public Set<de.fraunhofer.iese.mydata.timer.Timer> getRevokedTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
getRevokedTimers
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
listRevokedTimers
public Set<de.fraunhofer.iese.mydata.timer.TimerId> listRevokedTimers(de.fraunhofer.iese.mydata.solution.SolutionId solutionId) throws IOException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
listRevokedTimers
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
updateTimer
public de.fraunhofer.iese.mydata.timer.TimerId updateTimer(de.fraunhofer.iese.mydata.timer.Timer timer) throws IOException, de.fraunhofer.iese.mydata.exception.ResourceUpdateException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException, de.fraunhofer.iese.mydata.exception.InvalidEntityException, de.fraunhofer.iese.mydata.exception.ConflictingResourceException
- Specified by:
updateTimer
in interfacede.fraunhofer.iese.mydata.timer.ITimerService
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.ResourceUpdateException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
de.fraunhofer.iese.mydata.exception.InvalidEntityException
de.fraunhofer.iese.mydata.exception.ConflictingResourceException
-
-