public class ODFRightAssignmentContext extends ContentRightAssignmentContext
RightAssignmentContext
for assign rights to a OrgUnit
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private ODFHelper |
_odfHelper |
private RootOrgUnitProvider |
_orgUnitProvider |
_resolver, _rootContentHelper, ID
_context, _isPrivate, _reverseWorkspaceMather, _workspaceMatcher
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
ODFRightAssignmentContext() |
Modifier and Type | Method and Description |
---|---|
Set<Object> |
getParentContexts(Object context)
Get the parent contexts of the object context
|
protected Object |
getRootContent()
Gets the root of contents
|
List<Object> |
getRootContexts(Map<String,Object> contextParameters)
Get the list of root contexts if the current workspace matches the allowed workspace
|
void |
service(ServiceManager smanager) |
convertJSContext, getContextIdentifier, getScripts
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
private RootOrgUnitProvider _orgUnitProvider
private ODFHelper _odfHelper
public ODFRightAssignmentContext()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ContentRightAssignmentContext
ServiceException
public Set<Object> getParentContexts(Object context)
RightAssignmentContext
getParentContexts
in interface RightAssignmentContext
getParentContexts
in class ContentRightAssignmentContext
context
- The object contextnull
otherwisepublic List<Object> getRootContexts(Map<String,Object> contextParameters)
RightAssignmentContext
getRootContexts
in interface RightAssignmentContext
getRootContexts
in class ContentRightAssignmentContext
contextParameters
- The contextual parametersprotected Object getRootContent()
ContentRightAssignmentContext
getRootContent
in class ContentRightAssignmentContext