Package ora4mas.simple
Class SimpleOrgBoard
java.lang.Object
cartago.Artifact
ora4mas.nopl.OrgBoard
ora4mas.simple.SimpleOrgBoard
public class SimpleOrgBoard 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
-
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.LoggerloggerFields inherited from class cartago.Artifact
observabilityRadius, position, thisOpId -
Constructor Summary
Constructors Constructor Description SimpleOrgBoard() -
Method Summary
Modifier and Type Method Description voidcreateGroup(java.lang.String id, cartago.OpFeedbackParam<cartago.ArtifactId> gaid)voidcreateScheme(java.lang.String id, cartago.OpFeedbackParam<cartago.ArtifactId> said)protected java.lang.StringgetGroupBoardClass()protected cartago.ArtifactConfiggetGroupConfig(java.lang.String type)protected java.lang.StringgetNormativeBoardClass()protected java.lang.StringgetSchemeBoardClass()protected cartago.ArtifactConfiggetSchemeConfig(java.lang.String type)voidinit()Initialises the org boardMethods inherited from class ora4mas.nopl.OrgBoard
createGroup, createNormativeBoard, createScheme, destroyGroup, destroyScheme, getOEId, getOrbBoards, getOSFile, getParser, grPostCreation, init, normBoardPostCreation, schPostCreation, specToStrMethods 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, updatePositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
logger
protected java.util.logging.Logger logger
-
-
Constructor Details
-
SimpleOrgBoard
public SimpleOrgBoard()
-
-
Method Details
-
init
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:
getGroupBoardClassin classOrgBoard
-
getGroupConfig
protected cartago.ArtifactConfig getGroupConfig(java.lang.String type)- Overrides:
getGroupConfigin 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:
getSchemeBoardClassin classOrgBoard
-
getSchemeConfig
protected cartago.ArtifactConfig getSchemeConfig(java.lang.String type)- Overrides:
getSchemeConfigin classOrgBoard
-
getNormativeBoardClass
protected java.lang.String getNormativeBoardClass()- Overrides:
getNormativeBoardClassin classOrgBoard
-