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<com.stratelia.webactiv.util.node.model.NodePK> getNodeDescendants(com.stratelia.webactiv.util.node.model.NodePK pk)
           
protected  Collection<com.stratelia.webactiv.util.publication.model.Alias> getPublicationAliases(WAPrimaryKey pk)
           
protected  Collection<com.stratelia.webactiv.util.node.model.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<com.stratelia.webactiv.util.node.model.NodePK> getPublicationFathers(WAPrimaryKey pk)
                                                                                   throws javax.ejb.CreateException,
                                                                                          RemoteException
Throws:
javax.ejb.CreateException
RemoteException

getPublicationAliases

protected Collection<com.stratelia.webactiv.util.publication.model.Alias> getPublicationAliases(WAPrimaryKey pk)
                                                                                         throws javax.ejb.CreateException,
                                                                                                RemoteException
Throws:
javax.ejb.CreateException
RemoteException

getNodeDescendants

protected Collection<com.stratelia.webactiv.util.node.model.NodePK> getNodeDescendants(com.stratelia.webactiv.util.node.model.NodePK pk)
                                                                                throws javax.ejb.CreateException,
                                                                                       RemoteException
Throws:
javax.ejb.CreateException
RemoteException


Copyright © 2016 Silverpeas. All Rights Reserved.