Package ora4mas.light

Class LightOrgBoard


  • public class LightOrgBoard
    extends OrgBoard
    Artifact that manages an organizational entity (its groups, schemes, ....) for Moise light Operations (see details in method list below):
    • createGroup
    • destroyGroup
    • createScheme
    • destroyScheme
    Observable properties:
    • group(group_id, artid): group_id of type group_type exists in the organisational entity
    • scheme(scheme_id, artid): scheme_id of type scheme_type exists in the organisational entity
    • Nested Class Summary

      • Nested classes/interfaces inherited from class cartago.Artifact

        cartago.Artifact.AbstractAsyncProcess
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.logging.Logger logger  
      • Fields inherited from class cartago.Artifact

        observabilityRadius, position, thisOpId
    • Constructor Summary

      Constructors 
      Constructor Description
      LightOrgBoard()  
    • Method Summary

      Modifier and Type Method Description
      void createGroup​(java.lang.String id, cartago.OpFeedbackParam<cartago.ArtifactId> gaid)  
      void createScheme​(java.lang.String id, cartago.OpFeedbackParam<cartago.ArtifactId> said)  
      protected java.lang.String getGroupBoardClass()  
      protected cartago.ArtifactConfig getGroupConfig​(java.lang.String type)  
      protected java.lang.String getNormativeBoardClass()  
      protected java.lang.String getSchemeBoardClass()  
      protected cartago.ArtifactConfig getSchemeConfig​(java.lang.String type)  
      void init()
      Initialises the org board
      • Methods inherited from class cartago.Artifact

        await, await, await_time, beginExtSession, commit, defineNewOp, defineObsProperty, defineOp, delay, dispose, dispose, endExtSession, endExtSessionWithFailure, execInternalOp, execLinkedOp, execLinkedOp, failed, failed, getCreatorId, getCurrentOpAgentBody, getCurrentOpAgentId, getId, getLinkedArtifacts, getManualSrcFile, getObservabilityRadius, getObsProperty, getObsPropertyByTemplate, getOpKey, getOpUserName, getPosition, hasObsProperty, hasObsPropertyByTemplate, isLinked, log, lookupArtifact, makeArtifact, removeObsProperty, removeObsPropertyByTemplate, removeOp, setupOperations, setupPosition, signal, signal, updateObservabilityRadius, updateObsProperty, updatePosition
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        protected java.util.logging.Logger logger
    • Constructor Detail

      • LightOrgBoard

        public LightOrgBoard()
    • Method Detail

      • init

        public void init()
                  throws npl.parser.ParseException,
                         MoiseException,
                         cartago.OperationException
        Initialises the org board
        Throws:
        MoiseException - if grType was not specified
        cartago.OperationException - if parentGroupId doesn't exit
        npl.parser.ParseException
      • createGroup

        public void createGroup​(java.lang.String id,
                                cartago.OpFeedbackParam<cartago.ArtifactId> gaid)
                         throws cartago.OperationException
        Throws:
        cartago.OperationException
      • getGroupConfig

        protected cartago.ArtifactConfig getGroupConfig​(java.lang.String type)
        Overrides:
        getGroupConfig in class OrgBoard
      • createScheme

        public void createScheme​(java.lang.String id,
                                 cartago.OpFeedbackParam<cartago.ArtifactId> said)
                          throws cartago.OperationException
        Throws:
        cartago.OperationException
      • getSchemeConfig

        protected cartago.ArtifactConfig getSchemeConfig​(java.lang.String type)
        Overrides:
        getSchemeConfig in class OrgBoard