Package ora4mas.light
Class LightOrgBoard
- java.lang.Object
-
- cartago.Artifact
-
- ora4mas.nopl.OrgBoard
-
- ora4mas.light.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
- 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
-
-
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 ora4mas.nopl.OrgBoard
createGroup, createNormativeBoard, createScheme, destroyGroup, destroyScheme, getOEId, getOrbBoards, getOSFile, getParser, grPostCreation, init, normBoardPostCreation, schPostCreation, specToStr
-
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
-
-
-
-
Method Detail
-
init
public void init() throws npl.parser.ParseException, MoiseException, cartago.OperationException
Initialises the org board- Throws:
MoiseException
- if grType was not specifiedcartago.OperationException
- if parentGroupId doesn't exitnpl.parser.ParseException
-
createGroup
public void createGroup(java.lang.String id, cartago.OpFeedbackParam<cartago.ArtifactId> gaid) throws cartago.OperationException
- Throws:
cartago.OperationException
-
getGroupBoardClass
protected java.lang.String getGroupBoardClass()
- Overrides:
getGroupBoardClass
in classOrgBoard
-
getGroupConfig
protected cartago.ArtifactConfig getGroupConfig(java.lang.String type)
- Overrides:
getGroupConfig
in classOrgBoard
-
createScheme
public void createScheme(java.lang.String id, cartago.OpFeedbackParam<cartago.ArtifactId> said) throws cartago.OperationException
- Throws:
cartago.OperationException
-
getSchemeBoardClass
protected java.lang.String getSchemeBoardClass()
- Overrides:
getSchemeBoardClass
in classOrgBoard
-
getSchemeConfig
protected cartago.ArtifactConfig getSchemeConfig(java.lang.String type)
- Overrides:
getSchemeConfig
in classOrgBoard
-
getNormativeBoardClass
protected java.lang.String getNormativeBoardClass()
- Overrides:
getNormativeBoardClass
in classOrgBoard
-
-