Class UserDirectoryRightAssignmentContext
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.core.ui.StaticClientSideElement
org.ametys.core.right.AbstractStaticRightAssignmentContext
org.ametys.cms.rights.ContentRightAssignmentContext
org.ametys.plugins.userdirectory.rights.UserDirectoryRightAssignmentContext
- All Implemented Interfaces:
RightAssignmentContext,ClientSideElement,LogEnabled,PluginAware,Configurable,Contextualizable,Serviceable
RightAssignmentContext for assign rights to a user directory Content-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentTypesHelperThe content type helperprotected OrganisationChartPageHandlerThe organisation chart page handlerprotected UserDirectoryHelperThe user directory helperstatic final StringThe right assignement context idFields inherited from class org.ametys.cms.rights.ContentRightAssignmentContext
_resolver, _rootContentHelperFields inherited from class org.ametys.core.right.AbstractStaticRightAssignmentContext
_context, _isPrivate, _label, _reverseWorkspaceMather, _workspaceMatcherFields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParentContexts(Object context) Get the parent contexts of the object contextprotected ObjectGets the root of contentsvoidservice(ServiceManager smanager) Methods inherited from class org.ametys.cms.rights.ContentRightAssignmentContext
convertJSContext, getContextIdentifier, getRootContexts, getScriptsMethods inherited from class org.ametys.core.right.AbstractStaticRightAssignmentContext
configure, contextualize, isPrivate, matchWorkspaceMethods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParametersMethods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toStringMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ametys.core.ui.ClientSideElement
getDependencies, getId, getPluginName, getRights, getScripts
-
Field Details
-
ID
The right assignement context id- See Also:
-
_userDirectoryHelper
The user directory helper -
_organisationChartPageHandler
The organisation chart page handler -
_contentTypeHelper
The content type helper
-
-
Constructor Details
-
UserDirectoryRightAssignmentContext
public UserDirectoryRightAssignmentContext()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classContentRightAssignmentContext- Throws:
ServiceException
-
getParentContexts
Description copied from interface:RightAssignmentContextGet the parent contexts of the object context- Specified by:
getParentContextsin interfaceRightAssignmentContext- Overrides:
getParentContextsin classContentRightAssignmentContext- Parameters:
context- The object context- Returns:
- The parents if exist or
nullotherwise
-
getRootContent
Description copied from class:ContentRightAssignmentContextGets the root of contents- Overrides:
getRootContentin classContentRightAssignmentContext- Returns:
- the root of contents
-