Class PolicyManagementPoint

  • 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 PolicyManagementPoint
    extends Object
    implements de.fraunhofer.iese.mydata.component.interfaces.IBasicManagementService
    The core implementation for a policy management point.
    Author:
    Fraunhofer IESE
    • Constructor Summary

      Constructors 
      Constructor Description
      PolicyManagementPoint​(de.fraunhofer.iese.mydata.component.ComponentId componentId, de.fraunhofer.iese.mydata.component.information.PdpComponentInformation pdpComponentInformation, de.fraunhofer.iese.mydata.component.interfaces.IPolicyDecisionPoint policyDecisionPoint, java.time.ZoneId timeZone, org.quartz.Scheduler timerScheduler, de.fraunhofer.iese.mydata.component.connector.ConnectorFactory connectorFactory)  
    • 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 id)  
      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 id)  
      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)  
    • Constructor Detail

      • PolicyManagementPoint

        public PolicyManagementPoint​(de.fraunhofer.iese.mydata.component.ComponentId componentId,
                                     de.fraunhofer.iese.mydata.component.information.PdpComponentInformation pdpComponentInformation,
                                     de.fraunhofer.iese.mydata.component.interfaces.IPolicyDecisionPoint policyDecisionPoint,
                                     java.time.ZoneId timeZone,
                                     org.quartz.Scheduler timerScheduler,
                                     de.fraunhofer.iese.mydata.component.connector.ConnectorFactory connectorFactory)
                              throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
    • Method Detail

      • getHealth

        public de.fraunhofer.iese.mydata.component.health.HealthStatus getHealth()
        Specified by:
        getHealth in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
      • getId

        public de.fraunhofer.iese.mydata.component.ComponentId getId()
        Specified by:
        getId in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
      • reset

        public boolean reset()
        Specified by:
        reset in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
      • addPolicy

        public de.fraunhofer.iese.mydata.policy.PolicyId addPolicy​(de.fraunhofer.iese.mydata.policy.Policy policy)
                                                            throws IOException,
                                                                   de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                                                   de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                                                                   de.fraunhofer.iese.mydata.exception.ConflictingResourceException,
                                                                   de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        Specified by:
        addPolicy in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        IOException
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        de.fraunhofer.iese.mydata.exception.ConflictingResourceException
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
      • policyExists

        public boolean policyExists​(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
                             throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        policyExists in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • getPolicy

        public de.fraunhofer.iese.mydata.policy.Policy getPolicy​(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
                                                          throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                 de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getPolicy in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        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 de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getPolicies in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • getRevokedPolicies

        public Set<de.fraunhofer.iese.mydata.policy.Policy> getRevokedPolicies​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                        throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getRevokedPolicies in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • listRevokedPolicies

        public Set<de.fraunhofer.iese.mydata.policy.PolicyId> listRevokedPolicies​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                           throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        listRevokedPolicies in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • listPolicies

        public Set<de.fraunhofer.iese.mydata.policy.PolicyId> listPolicies​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                    throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        listPolicies in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • getDeployedPolicies

        public Set<de.fraunhofer.iese.mydata.policy.Policy> getDeployedPolicies()
        Specified by:
        getDeployedPolicies in interface de.fraunhofer.iese.mydata.policy.IPolicyService
      • getDeployedPolicies

        public Set<de.fraunhofer.iese.mydata.policy.Policy> getDeployedPolicies​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                         throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getDeployedPolicies in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • listDeployedPolicies

        public Set<de.fraunhofer.iese.mydata.policy.PolicyId> listDeployedPolicies​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                            throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        listDeployedPolicies in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • isPolicyDeployed

        public boolean isPolicyDeployed​(de.fraunhofer.iese.mydata.policy.PolicyId policyId)
                                 throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        isPolicyDeployed in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        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 interface de.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 interface de.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 interface de.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 de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                 de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                 de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        deletePolicy in interface de.fraunhofer.iese.mydata.policy.IPolicyService
        Throws:
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • addTimer

        public de.fraunhofer.iese.mydata.timer.TimerId addTimer​(de.fraunhofer.iese.mydata.timer.Timer timer)
                                                         throws de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                                                de.fraunhofer.iese.mydata.exception.ConflictingResourceException,
                                                                de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                                                                de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        Specified by:
        addTimer in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.ConflictingResourceException
        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 de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                              de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getTimer in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        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 de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getTimers in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • listTimers

        public Set<de.fraunhofer.iese.mydata.timer.TimerId> listTimers​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        listTimers in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • getDeployedTimers

        public Set<de.fraunhofer.iese.mydata.timer.Timer> getDeployedTimers​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                     throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getDeployedTimers in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • listDeployedTimers

        public Set<de.fraunhofer.iese.mydata.timer.TimerId> listDeployedTimers​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                        throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        listDeployedTimers in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • isTimerDeployed

        public boolean isTimerDeployed​(de.fraunhofer.iese.mydata.timer.TimerId timerId)
                                throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                       de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        isTimerDeployed in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • deployTimer

        public void deployTimer​(de.fraunhofer.iese.mydata.timer.TimerId timerId)
                         throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        deployTimer in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        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 de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        revokeTimer in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        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 de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        deleteTimer in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • timerExists

        public boolean timerExists​(de.fraunhofer.iese.mydata.timer.TimerId timerId)
                            throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        timerExists in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • addPdp

        public de.fraunhofer.iese.mydata.component.ComponentId addPdp​(de.fraunhofer.iese.mydata.component.information.PdpComponentInformation component)
                                                               throws de.fraunhofer.iese.mydata.exception.ConflictingResourceException,
                                                                      de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        addPdp in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.ConflictingResourceException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • addPep

        public de.fraunhofer.iese.mydata.component.ComponentId addPep​(de.fraunhofer.iese.mydata.component.information.PepComponentInformation component)
                                                               throws de.fraunhofer.iese.mydata.exception.ConflictingResourceException,
                                                                      de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        addPep in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.ConflictingResourceException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • 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.InvalidEntityException
        Specified by:
        addPip in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        IOException
        de.fraunhofer.iese.mydata.exception.ConflictingResourceException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • 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.InvalidEntityException
        Specified by:
        addPxp in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        IOException
        de.fraunhofer.iese.mydata.exception.ConflictingResourceException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • pdpExists

        public boolean pdpExists​(de.fraunhofer.iese.mydata.component.ComponentId componentId)
                          throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        pdpExists in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • pepExists

        public boolean pepExists​(de.fraunhofer.iese.mydata.component.ComponentId componentId)
                          throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        pepExists in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • pipExists

        public boolean pipExists​(de.fraunhofer.iese.mydata.component.ComponentId componentId)
                          throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        pipExists in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • pxpExists

        public boolean pxpExists​(de.fraunhofer.iese.mydata.component.ComponentId componentId)
                          throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        pxpExists in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • getPdp

        public de.fraunhofer.iese.mydata.component.information.PdpComponentInformation getPdp()
                                                                                       throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        Specified by:
        getPdp in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
      • getPep

        public de.fraunhofer.iese.mydata.component.information.PepComponentInformation getPep​(de.fraunhofer.iese.mydata.component.ComponentId id)
                                                                                       throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                                              de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getPep in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        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 de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                                              de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getPip in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        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 de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                                              de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getPxp in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        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 id)
                                                                            throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                                   de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                                                                                   IOException
        Specified by:
        getPipState in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        IOException
      • getPxpState

        public de.fraunhofer.iese.mydata.component.health.HealthStatus getPxpState​(de.fraunhofer.iese.mydata.component.ComponentId id)
                                                                            throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                                   de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                                                                                   IOException
        Specified by:
        getPxpState in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        IOException
      • getAllComponentStates

        public Map<de.fraunhofer.iese.mydata.component.ComponentId,​de.fraunhofer.iese.mydata.component.health.HealthStatus> getAllComponentStates​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
        Specified by:
        getAllComponentStates in interface de.fraunhofer.iese.mydata.component.IComponentService
      • lookupPep

        public Set<de.fraunhofer.iese.mydata.component.information.PepComponentInformation> lookupPep​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                                               throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        lookupPep in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • 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 de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        lookupPip in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • 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 de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        lookupPxp in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • updatePdp

        public de.fraunhofer.iese.mydata.component.ComponentId updatePdp​(de.fraunhofer.iese.mydata.component.information.PdpComponentInformation component)
                                                                  throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                         de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                                                         de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        updatePdp in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        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 de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                         de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                                                         de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        updatePep in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        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 de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                         de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                                                         de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                                                                         IOException
        Specified by:
        updatePip in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        IOException
      • updatePxp

        public de.fraunhofer.iese.mydata.component.ComponentId updatePxp​(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation component)
                                                                  throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                                                                         de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                                                                         de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                                                                         IOException
        Specified by:
        updatePxp in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        IOException
      • deletePep

        public void deletePep​(de.fraunhofer.iese.mydata.component.ComponentId componentId)
                       throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                              de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                              de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                              IOException
        Specified by:
        deletePep in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        IOException
      • deletePip

        public void deletePip​(de.fraunhofer.iese.mydata.component.ComponentId componentId)
                       throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                              de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                              de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                              IOException
        Specified by:
        deletePip in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        IOException
      • deletePxp

        public void deletePxp​(de.fraunhofer.iese.mydata.component.ComponentId componentId)
                       throws de.fraunhofer.iese.mydata.exception.NoSuchEntityException,
                              de.fraunhofer.iese.mydata.exception.ResourceUpdateException,
                              de.fraunhofer.iese.mydata.exception.InvalidEntityException,
                              IOException
        Specified by:
        deletePxp in interface de.fraunhofer.iese.mydata.component.IComponentService
        Throws:
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        IOException
      • getRevokedTimers

        public Set<de.fraunhofer.iese.mydata.timer.Timer> getRevokedTimers​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                    throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        getRevokedTimers in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • listRevokedTimers

        public Set<de.fraunhofer.iese.mydata.timer.TimerId> listRevokedTimers​(de.fraunhofer.iese.mydata.solution.SolutionId solutionId)
                                                                       throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Specified by:
        listRevokedTimers in interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
      • updateTimer

        public de.fraunhofer.iese.mydata.timer.TimerId updateTimer​(de.fraunhofer.iese.mydata.timer.Timer timer)
                                                            throws 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 interface de.fraunhofer.iese.mydata.timer.ITimerService
        Throws:
        de.fraunhofer.iese.mydata.exception.ResourceUpdateException
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
        de.fraunhofer.iese.mydata.exception.ConflictingResourceException