org.jfree.repository.dummy
Class DummyContentItem
java.lang.Object
org.jfree.repository.dummy.DummyContentItem
- All Implemented Interfaces:
- ContentEntity, ContentItem
public class DummyContentItem
- extends java.lang.Object
- implements ContentItem
Creation-Date: 13.11.2006, 17:16:02
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyContentItem
public DummyContentItem(ContentLocation parent,
java.lang.String name)
getMimeType
public java.lang.String getMimeType()
throws ContentIOException
- Specified by:
getMimeType
in interface ContentItem
- Throws:
ContentIOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws ContentIOException,
java.io.IOException
- Specified by:
getOutputStream
in interface ContentItem
- Throws:
ContentIOException
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
throws ContentIOException,
java.io.IOException
- Specified by:
getInputStream
in interface ContentItem
- Throws:
ContentIOException
java.io.IOException
isReadable
public boolean isReadable()
- Specified by:
isReadable
in interface ContentItem
isWriteable
public boolean isWriteable()
- Specified by:
isWriteable
in interface ContentItem
getName
public java.lang.String getName()
- Specified by:
getName
in interface ContentEntity
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
getRepository
public Repository getRepository()
- Specified by:
getRepository
in interface ContentEntity
delete
public boolean delete()
- Specified by:
delete
in interface ContentEntity