info.magnolia.security.app.container
Class RoleContainer

java.lang.Object
  extended by info.magnolia.ui.workbench.container.AbstractContainer
      extended by info.magnolia.ui.workbench.container.AbstractJcrContainer
          extended by info.magnolia.ui.workbench.tree.HierarchicalJcrContainer
              extended by info.magnolia.security.app.container.RoleContainer
All Implemented Interfaces:
com.vaadin.data.Container, com.vaadin.data.Container.Hierarchical, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.Sortable, info.magnolia.ui.workbench.container.Refreshable, Serializable

public class RoleContainer
extends info.magnolia.ui.workbench.tree.HierarchicalJcrContainer

Container for the userroles workspace that updates ACLs in role nodes as roles or the folders they're contained in are moved.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class info.magnolia.ui.workbench.container.AbstractContainer
info.magnolia.ui.workbench.container.AbstractContainer.ItemSetChangeEvent, info.magnolia.ui.workbench.container.AbstractContainer.PropertySetChangeEvent
 
Nested classes/interfaces inherited from interface com.vaadin.data.Container
com.vaadin.data.Container.Editor, com.vaadin.data.Container.Filter, com.vaadin.data.Container.Filterable, com.vaadin.data.Container.Hierarchical, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeEvent, com.vaadin.data.Container.ItemSetChangeListener, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.PropertySetChangeEvent, com.vaadin.data.Container.PropertySetChangeListener, com.vaadin.data.Container.PropertySetChangeNotifier, com.vaadin.data.Container.SimpleFilterable, com.vaadin.data.Container.Sortable, com.vaadin.data.Container.Viewer
 
Field Summary
 
Fields inherited from class info.magnolia.ui.workbench.container.AbstractJcrContainer
ASCENDING_KEYWORD, DEFAULT_CACHE_RATIO, DEFAULT_NODE_TYPE, DEFAULT_PAGE_LENGTH, DESCENDING_KEYWORD, JCR_NAME_FUNCTION, ORDER_BY, PROPERTY_NAME_AND_UUID_SEPARATOR, SELECT_TEMPLATE, SELECTOR_NAME, WHERE_TEMPLATE_FOR_PATH
 
Constructor Summary
RoleContainer(info.magnolia.ui.vaadin.integration.contentconnector.JcrContentConnectorDefinition definition)
           
 
Method Summary
 boolean moveItem(javax.jcr.Item source, javax.jcr.Item target)
           
 boolean moveItemAfter(javax.jcr.Item source, javax.jcr.Item target)
           
 boolean moveItemBefore(javax.jcr.Item source, javax.jcr.Item target)
           
 
Methods inherited from class info.magnolia.ui.workbench.tree.HierarchicalJcrContainer
areChildrenAllowed, createContainerIds, getChildren, getChildren, getParent, getRootItemIds, getSortableContainerPropertyIds, hasChildren, isNodeVisible, isRoot, isRoot, refresh, rootItemIds, setChildrenAllowed, setParent
 
Methods inherited from class info.magnolia.ui.workbench.container.AbstractJcrContainer
addItem, addItem, addItemAfter, addItemAfter, addItemAt, addItemAt, addItemSetChangeListener, addListener, addSortableProperty, clearItemIndexes, constructJCRQuery, containsId, executeQuery, findSearchableNodeTypes, fireItemSetChange, firstItemId, getCacheRatio, getConfiguration, getContainerProperty, getCurrentOffset, getDefaultOrderBy, getIdByIndex, getItem, getItemIds, getItemIds, getItemIndexes, getJcrItem, getJcrNameOrderByFunction, getMainNodeType, getPageLength, getQuerySelectStatement, getQueryWhereClause, getQueryWhereClauseNodeTypes, getQueryWhereClauseWorkspacePath, getSearchableNodeTypes, getWorkspace, handleRepositoryException, indexOfId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId, removeAllItems, removeItem, removeItemSetChangeListener, removeListener, resetOffset, setCacheRatio, setPageLength, setSize, size, sort, updateSize
 
Methods inherited from class info.magnolia.ui.workbench.container.AbstractContainer
addContainerProperty, getContainerPropertyIds, getType, removeContainerProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.data.Container.Hierarchical
removeItem
 
Methods inherited from interface com.vaadin.data.Container
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, size
 

Constructor Detail

RoleContainer

public RoleContainer(info.magnolia.ui.vaadin.integration.contentconnector.JcrContentConnectorDefinition definition)
Method Detail

moveItem

public boolean moveItem(javax.jcr.Item source,
                        javax.jcr.Item target)
Overrides:
moveItem in class info.magnolia.ui.workbench.tree.HierarchicalJcrContainer

moveItemBefore

public boolean moveItemBefore(javax.jcr.Item source,
                              javax.jcr.Item target)
Overrides:
moveItemBefore in class info.magnolia.ui.workbench.tree.HierarchicalJcrContainer

moveItemAfter

public boolean moveItemAfter(javax.jcr.Item source,
                             javax.jcr.Item target)
Overrides:
moveItemAfter in class info.magnolia.ui.workbench.tree.HierarchicalJcrContainer


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.