Dekoh platform API

dekoh.portal.fwk.share
Class ShareQueryInterface

java.lang.Object
  extended by dekoh.portal.fwk.share.ShareQueryInterface

public class ShareQueryInterface
extends Object

Since:
Nov 17, 2006

Field Summary
protected  String contextPath
           
protected  AccessPath currentAccessPath
           
protected  DIOEntityManager em
           
protected  boolean isRemote
           
static PLogger logger
           
 
Constructor Summary
ShareQueryInterface(DIOEntityManager em, AccessPath accessPath, boolean isRemote, Set buddies, String contextPath)
           
 
Method Summary
 Set getAccessibleShares()
           
 Set getAccessibleShares(AccessPath accessPath)
           
 DioCollection getAccessingDioCollection()
           
 List getAllCollections(AccessPath accessPath)
           
 DigitalObject getDitialObject(Class dioEntityClass, Integer dioId)
           
 DigitalObject getDitialObject(Integer dioId)
           
protected  Set getLocalView()
           
 int getNumberOfViews(Share share)
           
 List getRecentShares(int numShares)
           
protected  Set getRemoteView(AccessPath accessPath)
           
 Share getShare()
           
 Share getShare(AccessPath accessPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final PLogger logger

em

protected final DIOEntityManager em

currentAccessPath

protected AccessPath currentAccessPath

isRemote

protected final boolean isRemote

contextPath

protected final String contextPath
Constructor Detail

ShareQueryInterface

public ShareQueryInterface(DIOEntityManager em,
                           AccessPath accessPath,
                           boolean isRemote,
                           Set buddies,
                           String contextPath)
Method Detail

getShare

public Share getShare()

getShare

public Share getShare(AccessPath accessPath)

getNumberOfViews

public int getNumberOfViews(Share share)

getAccessibleShares

public Set getAccessibleShares()

getAccessibleShares

public Set getAccessibleShares(AccessPath accessPath)

getRemoteView

protected Set getRemoteView(AccessPath accessPath)

getLocalView

protected Set getLocalView()

getRecentShares

public List getRecentShares(int numShares)

getDitialObject

public DigitalObject getDitialObject(Integer dioId)

getDitialObject

public DigitalObject getDitialObject(Class dioEntityClass,
                                     Integer dioId)

getAllCollections

public List getAllCollections(AccessPath accessPath)

getAccessingDioCollection

public DioCollection getAccessingDioCollection()

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers