public class WebContentTypeRightAssignmentContext extends ContentTypeRightAssignmentContext
ContentTypeRightAssignmentContext
for webClientSideElement.Script, ClientSideElement.ScriptFile
_contentTypeExtensionPoint
_context, _isPrivate, _reverseWorkspaceMather, _workspaceMatcher
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
WebContentTypeRightAssignmentContext() |
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
|
List<Object> |
getRootContexts(Map<String,Object> contextParameters)
Get the list of root contexts if the current workspace matches the allowed workspace
|
service
getContextIdentifier
configure, contextualize, getScripts, 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 WebContentTypeRightAssignmentContext()
public Object convertJSContext(Object context)
RightAssignmentContext
convertJSContext
in interface RightAssignmentContext
convertJSContext
in class StringRightAssignmentContext
context
- the JS context objectpublic List<Object> getRootContexts(Map<String,Object> contextParameters)
RightAssignmentContext
getRootContexts
in interface RightAssignmentContext
getRootContexts
in class StringRightAssignmentContext
contextParameters
- The contextual parametersprivate String _getSiteName()
public Set<Object> getParentContexts(Object context)
RightAssignmentContext
getParentContexts
in interface RightAssignmentContext
getParentContexts
in class ContentTypeRightAssignmentContext
context
- The object contextnull
otherwise