public class ODFRightAssignmentContext extends ContentRightAssignmentContext
RightAssignmentContext for assign rights to a OrgUnitClientSideElement.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, getScriptsconfigure, contextualize, isPrivate, matchWorkspace_configureClass, _configureParameters, _configureScript, configureInitialParameters_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toStringgetLogger, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependencies, getId, getPluginName, getRights, getScriptsprivate RootOrgUnitProvider _orgUnitProvider
private ODFHelper _odfHelper
public ODFRightAssignmentContext()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ContentRightAssignmentContextServiceExceptionpublic Set<Object> getParentContexts(Object context)
RightAssignmentContextgetParentContexts in interface RightAssignmentContextgetParentContexts in class ContentRightAssignmentContextcontext - The object contextnull otherwisepublic List<Object> getRootContexts(Map<String,Object> contextParameters)
RightAssignmentContextgetRootContexts in interface RightAssignmentContextgetRootContexts in class ContentRightAssignmentContextcontextParameters - The contextual parametersprotected Object getRootContent()
ContentRightAssignmentContextgetRootContent in class ContentRightAssignmentContext