Package org.ametys.web.rights
Class WebReferenceTableRightAssignmentContext
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.ReferenceTableRightAssignmentContext
org.ametys.web.rights.WebReferenceTableRightAssignmentContext
- All Implemented Interfaces:
RightAssignmentContext,ClientSideElement,LogEnabled,PluginAware,Configurable,Contextualizable,Serviceable
The union between SimpleContentRightAssignmentContext and WebContentTypeRightAssignmentContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile -
Field Summary
Fields inherited from class org.ametys.cms.rights.ReferenceTableRightAssignmentContext
_contentTypeExtensionPoint, _hasAnyReferenceTable, IDFields inherited from class org.ametys.core.right.AbstractStaticRightAssignmentContext
_context, _isPrivate, _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 TypeMethodDescriptionconvertJSContext(Object context) From a JavaScript context object, converts it into a Java objectgetParentContexts(Object context) Get the parent contexts of the object contextMethods inherited from class org.ametys.cms.rights.ReferenceTableRightAssignmentContext
getContextIdentifier, getRootContexts, getScripts, serviceMethods 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
-
Constructor Details
-
WebReferenceTableRightAssignmentContext
-
-
Method Details
-
convertJSContext
Description copied from interface:RightAssignmentContextFrom a JavaScript context object, converts it into a Java object- Specified by:
convertJSContextin interfaceRightAssignmentContext- Overrides:
convertJSContextin classReferenceTableRightAssignmentContext- Parameters:
context- the JS context object- Returns:
- the Java object
-
getParentContexts
Description copied from interface:RightAssignmentContextGet the parent contexts of the object context- Specified by:
getParentContextsin interfaceRightAssignmentContext- Overrides:
getParentContextsin classReferenceTableRightAssignmentContext- Parameters:
context- The object context- Returns:
- The parents if exist or
nullotherwise
-