org.jfree.repository.file

Class FileContentEntity

Implemented Interfaces:
ContentEntity
Known Direct 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

FileContentEntity(ContentLocation parent, File backend)
FileContentEntity(Repository repository, File backend)

Method Summary

boolean
delete()
Object
getAttribute(String domain, String key)
protected File
getBackend()
Object
getContentId()
String
getName()
ContentLocation
getParent()
Repository
getRepository()
boolean
setAttribute(String domain, String key, Object value)

Constructor Details

FileContentEntity

protected FileContentEntity(ContentLocation parent,
                            File backend)

FileContentEntity

protected FileContentEntity(Repository repository,
                            File backend)

Method Details

delete

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

getAttribute

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

getBackend

protected File getBackend()

getContentId

public Object getContentId()
Specified by:
getContentId in interface ContentEntity

getName

public String getName()
Specified by:
getName in interface ContentEntity

getParent

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

getRepository

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

setAttribute

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