public class SimpleWebContentRightAssignmentContext extends SimpleContentRightAssignmentContext
ClientSideElement.Script, ClientSideElement.ScriptFile
_contentTypeExtensionPoint, _hasAnySimpleContentType
_context, _isPrivate, _reverseWorkspaceMather, _workspaceMatcher
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
SimpleWebContentRightAssignmentContext() |
Modifier and Type | Method and Description |
---|---|
private String |
_getSiteName() |
Object |
convertJSContext(Object context)
From a JavaScript context object, converts it into a Java object
|
Set<Object> |
getParentContexts(Object context)
Get the parent contexts of the object context
|
getContextIdentifier, getRootContexts, getScripts, service
configure, contextualize, isPrivate, matchWorkspace
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDependencies, getId, getPluginName, getRights, getScripts
public SimpleWebContentRightAssignmentContext()
public Object convertJSContext(Object context)
RightAssignmentContext
convertJSContext
in interface RightAssignmentContext
convertJSContext
in class SimpleContentRightAssignmentContext
context
- the JS context objectprivate String _getSiteName()
public Set<Object> getParentContexts(Object context)
RightAssignmentContext
getParentContexts
in interface RightAssignmentContext
getParentContexts
in class SimpleContentRightAssignmentContext
context
- The object contextnull
otherwise