org.jfree.repository.file
Class FileContentEntity

java.lang.Object
  extended by org.jfree.repository.file.FileContentEntity
All Implemented Interfaces:
ContentEntity
Direct Known Subclasses:
FileContentItem, FileContentLocation

public abstract class FileContentEntity
extends java.lang.Object
implements ContentEntity

Creation-Date: 13.11.2006, 12:01:47

Author:
Thomas Morgner

Constructor Summary
protected FileContentEntity(ContentLocation parent, java.io.File backend)
           
protected FileContentEntity(Repository repository, java.io.File backend)
           
 
Method Summary
 boolean delete()
           
 java.lang.Object getAttribute(java.lang.String domain, java.lang.String key)
           
protected  java.io.File getBackend()
           
 java.lang.Object getContentId()
           
 java.lang.String getName()
           
 ContentLocation getParent()
           
 Repository getRepository()
           
 boolean setAttribute(java.lang.String domain, java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileContentEntity

protected FileContentEntity(ContentLocation parent,
                            java.io.File backend)

FileContentEntity

protected FileContentEntity(Repository repository,
                            java.io.File backend)
Method Detail

getRepository

public Repository getRepository()
Specified by:
getRepository in interface ContentEntity

getName

public java.lang.String getName()
Specified by:
getName in interface ContentEntity

getBackend

protected java.io.File getBackend()

getContentId

public java.lang.Object getContentId()
Specified by:
getContentId in interface ContentEntity

getAttribute

public java.lang.Object getAttribute(java.lang.String domain,
                                     java.lang.String key)
Specified by:
getAttribute in interface ContentEntity

setAttribute

public boolean setAttribute(java.lang.String domain,
                            java.lang.String key,
                            java.lang.Object value)
Specified by:
setAttribute in interface ContentEntity

getParent

public ContentLocation getParent()
Specified by:
getParent in interface ContentEntity

delete

public boolean delete()
Specified by:
delete in interface ContentEntity