public interface ServerContext<C extends ServerContext> extends Context<C>
| Modifier and Type | Method and Description |
|---|---|
void |
addedToGroup(GroupContext groupContext,
CallerController caller) |
void |
addVisibleChild(java.lang.String path)
Add new visible child to the context.
|
void |
alertActivated(Event alert,
java.lang.Integer type) |
void |
alertDeactivated(Event alert,
java.lang.Integer type) |
boolean |
checkPermissions(Permissions needPermissions,
CallerController caller,
Context accessedContext,
EntityDefinition accessedEntityDefinition) |
void |
createDefaultStatisticsChannels(VariableDefinition vd) |
void |
eventAcknowledged(Event ev,
Acknowledgement acknowledgement) |
void |
eventEnriched(Event ev,
Enrichment en) |
DataTable |
getDefaultValue(VariableDefinition vd)
Returns default value of the variable.
|
default java.util.Collection<Context> |
getDependentContexts(CallerController callerController) |
default java.util.Map<Context,java.util.Collection<java.lang.String>> |
getDependentVariables(CallerController callerController) |
java.util.Set<GroupContext> |
getGroups() |
java.util.Collection<java.lang.String> |
getMembers(boolean includeSubgroups,
boolean detectNestedLoop,
CallerController cc) |
java.util.Collection<java.lang.String> |
getMembers(boolean includeSubgroups,
CallerController cc) |
java.lang.String |
getShortDescription() |
boolean |
hasVisibleChild(java.lang.String path)
Returns true if the context has a visible child with specified path.
|
ActionIdentifier |
initAction(ActionDefinition def,
ServerActionInput actionInput,
ActionExecutionMode mode,
CallerController caller,
java.lang.String customActionId,
boolean asDefault) |
void |
removedFromGroup(GroupContext groupContext,
CallerController caller) |
void |
removeVariableValue(VariableDefinition vd)
Permanently deletes variable value from the database.
|
void |
removeVisibleChild(java.lang.String path)
Remove visible child from the context.
|
void |
setIndex(java.lang.Integer index) |
boolean |
shouldBeHidden(CallerController callerController) |
accept, addActionDefinition, addAlias, addChild, addEventDefinition, addEventListener, addEventListener, addFunctionDefinition, addVariableDefinition, callFunction, callFunction, callFunction, callFunction, callFunction, callFunction, callFunction, destroy, destroyChild, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, get, get, getActionDefinition, getActionDefinition, getActionDefinitions, getActionDefinitions, getActionDefinitions, getChild, getChild, getChildren, getChildren, getChildrenViewPermissions, getContextManager, getDefaultActionDefinition, getDescription, getEventData, getEventDefinition, getEventDefinition, getEventDefinitions, getEventDefinitions, getEventDefinitions, getEventDefinitions, getEventDefinitions, getEventHistory, getFunctionData, getFunctionDefinition, getFunctionDefinition, getFunctionDefinitions, getFunctionDefinitions, getFunctionDefinitions, getFunctionDefinitions, getFunctionDefinitions, getGroup, getIconId, getIndex, getLocalPrimaryRoot, getLocalRoot, getMappedChildren, getMappedChildren, getName, getParent, getPath, getPeerPath, getPeerRoot, getPermissions, getRemotePath, getRemoteRoot, getRoot, getStatus, getType, getVariable, getVariable, getVariable, getVariableClone, getVariableData, getVariableDefinition, getVariableDefinition, getVariableDefinitions, getVariableDefinitions, getVariableDefinitions, getVariableDefinitions, getVariableDefinitions, getVariableObject, getVisibleChildren, getVisibleChildren, hasMappedChild, hasParent, hasVisibleChild, isContainer, isDistributed, isInitializedChildren, isInitializedEvents, isInitializedFunctions, isInitializedInfo, isInitializedStatus, isInitializedVariables, isInstallationAllowed, isMapped, isProxy, isSetupComplete, isStarted, move, removeActionDefinition, removeChild, removeChild, removeEventDefinition, removeEventListener, removeFunctionDefinition, removeVariableDefinition, setParent, setup, setVariable, setVariable, setVariable, setVariable, setVariable, setVariableField, setVariableField, setVariableField, setVariableField, start, stop, teardown, toDetailedString, updateEventDefinitions, updateFunctionDefinitions, updatePrepare, updateVariableDefinitionsisDebuggingEvaluations, processEvaluation, processEvaluationErrorvoid addVisibleChild(java.lang.String path)
path - Full name of the context to add as visible child of the current one.void removeVisibleChild(java.lang.String path)
path - Full name of the visible child to remove.boolean hasVisibleChild(java.lang.String path)
path - Path to check.DataTable getDefaultValue(VariableDefinition vd)
vd - Definition of the variable those default value to returnvoid removeVariableValue(VariableDefinition vd)
vd - Definition of variable those value should be removed.ActionIdentifier initAction(ActionDefinition def, ServerActionInput actionInput, ActionExecutionMode mode, CallerController caller, java.lang.String customActionId, boolean asDefault) throws ContextException
ContextExceptionboolean checkPermissions(Permissions needPermissions, CallerController caller, Context accessedContext, EntityDefinition accessedEntityDefinition)
java.util.Collection<java.lang.String> getMembers(boolean includeSubgroups,
CallerController cc)
java.util.Collection<java.lang.String> getMembers(boolean includeSubgroups,
boolean detectNestedLoop,
CallerController cc)
void addedToGroup(GroupContext groupContext, CallerController caller)
void removedFromGroup(GroupContext groupContext, CallerController caller)
java.util.Set<GroupContext> getGroups()
void alertActivated(Event alert, java.lang.Integer type)
void alertDeactivated(Event alert, java.lang.Integer type)
boolean shouldBeHidden(CallerController callerController)
void setIndex(java.lang.Integer index)
void createDefaultStatisticsChannels(VariableDefinition vd)
java.lang.String getShortDescription()
void eventAcknowledged(Event ev, Acknowledgement acknowledgement) throws ContextException
ContextExceptionvoid eventEnriched(Event ev, Enrichment en) throws ContextException
ContextExceptiondefault java.util.Collection<Context> getDependentContexts(CallerController callerController) throws ContextException
ContextExceptiondefault java.util.Map<Context,java.util.Collection<java.lang.String>> getDependentVariables(CallerController callerController) throws ContextException
ContextException