Dekoh platform API

dekoh.portal.fwk.share
Class ShareMetadata

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

public abstract class ShareMetadata
extends Object

ShareMetadata represents the information about the Share.

Since:
26 Dec, 2007

Field Summary
protected  AccessPath accesspath
           
protected  String description
           
protected  DigitalObject dio
           
protected  RequestContext requestContext
           
protected  Share share
           
protected  String title
           
 
Constructor Summary
protected ShareMetadata(Share share, RequestContext requestContext)
           
 
Method Summary
abstract  String getAccessURL()
           
 String getAccessUrlWithContextPath()
           
 String getDescription()
           
 int getNumberOfVisits()
           
protected  DioCollectionQueryInterface.DioWithAccessPath getPreviewDioWithAccessPath(Share share)
           
abstract  String getPreviewImageUrl()
           
 File getPreviewThumbnail()
           
protected abstract  File getPreviewThumbnail(DigitalObject dio)
           
 RequestContext getRequestContext()
           
 Share getShare()
           
 String getTitle()
           
 boolean isPublicShare()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

share

protected final Share share

requestContext

protected final RequestContext requestContext

title

protected String title

description

protected String description

dio

protected DigitalObject dio

accesspath

protected AccessPath accesspath
Constructor Detail

ShareMetadata

protected ShareMetadata(Share share,
                        RequestContext requestContext)
Method Detail

getRequestContext

public RequestContext getRequestContext()

getShare

public Share getShare()

getTitle

public String getTitle()

getDescription

public String getDescription()

isPublicShare

public boolean isPublicShare()

getNumberOfVisits

public int getNumberOfVisits()

getPreviewImageUrl

public abstract String getPreviewImageUrl()

getAccessURL

public abstract String getAccessURL()
Returns:
Link to access the share.

getPreviewThumbnail

public File getPreviewThumbnail()
                         throws IOException
Throws:
IOException

getAccessUrlWithContextPath

public String getAccessUrlWithContextPath()

getPreviewThumbnail

protected abstract File getPreviewThumbnail(DigitalObject dio)
                                     throws IOException
Throws:
IOException

getPreviewDioWithAccessPath

protected DioCollectionQueryInterface.DioWithAccessPath getPreviewDioWithAccessPath(Share share)

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers