public class ContentPrivacyMenu extends SimpleMenu
SimpleMenu.GalleryGroup, SimpleMenu.GalleryItem, SimpleMenu.UnresolvedItem
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private ObservationManager |
_observationManager |
protected AmetysObjectResolver |
_resolver
Repository content
|
protected UserManager |
_userManager
Runtime users manager
|
_galleryItemManager, _galleryItems, _menuItemManager, _menuItems, _primaryMenuItem, _referencedClientSideElement, _ribbonControlManager, _smanager, _unresolvedMenuItems
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
ContentPrivacyMenu() |
Modifier and Type | Method and Description |
---|---|
void |
service(ServiceManager smanager) |
void |
updatePrivacy(List<String> contentsId,
String level)
Update the privacy level of a list of contents
|
_addDependencies, _configureClass, _configureGalleries, _configureGroupGallery, _configureItemsMenu, _getGalleryItems, _getMenuItems, configure, getReferencedClientSideElements, getRights, getScripts
_configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected UserManager _userManager
protected AmetysObjectResolver _resolver
private ObservationManager _observationManager
public ContentPrivacyMenu()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class SimpleMenu
ServiceException
public void updatePrivacy(List<String> contentsId, String level)
contentsId
- The ids of the contentslevel
- The level of privacy