com.silverpeas.sharing.model
Class NodeAccessControl<R>

java.lang.Object
  extended by com.silverpeas.sharing.security.AbstractShareableAccessControl<NodeTicket,R>
      extended by com.silverpeas.sharing.model.NodeAccessControl<R>
All Implemented Interfaces:
ShareableAccessControl<NodeTicket,R>

public class NodeAccessControl<R>
extends AbstractShareableAccessControl<NodeTicket,R>

Access control to shared nodes and their content.


Method Summary
protected  Collection<NodePK> getNodeDescendants(NodePK pk)
           
protected  Collection<Alias> getPublicationAliases(WAPrimaryKey pk)
           
protected  Collection<NodePK> getPublicationFathers(WAPrimaryKey pk)
           
protected  boolean isReadable(NodeTicket ticket, R accessedObject)
           
 
Methods inherited from class com.silverpeas.sharing.security.AbstractShareableAccessControl
isReadable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isReadable

protected boolean isReadable(NodeTicket ticket,
                             R accessedObject)
                      throws Exception
Specified by:
isReadable in class AbstractShareableAccessControl<NodeTicket,R>
Parameters:
ticket - ticket passed here exists and is valid.
Returns:
Throws:
Exception

getPublicationFathers

protected Collection<NodePK> getPublicationFathers(WAPrimaryKey pk)
                                            throws javax.ejb.CreateException,
                                                   RemoteException
Throws:
javax.ejb.CreateException
RemoteException

getPublicationAliases

protected Collection<Alias> getPublicationAliases(WAPrimaryKey pk)
                                           throws javax.ejb.CreateException,
                                                  RemoteException
Throws:
javax.ejb.CreateException
RemoteException

getNodeDescendants

protected Collection<NodePK> getNodeDescendants(NodePK pk)
                                         throws javax.ejb.CreateException,
                                                RemoteException
Throws:
javax.ejb.CreateException
RemoteException


Copyright © 2016 Silverpeas. All Rights Reserved.