org.jfree.repository

Interface ContentLocation

public interface ContentLocation extends ContentEntity

This represents a container in the repository. If the repository is a filesystem, this will be a directory.

Author: Thomas Morgner

Method Summary
ContentItemcreateItem(String name)
Creates a new data item in the current location.
ContentLocationcreateLocation(String name)
booleanexists(String name)
ContentEntitygetEntry(String name)
ContentEntity[]listContents()

Method Detail

createItem

public ContentItem createItem(String name)
Creates a new data item in the current location. This method must never return null.

Parameters: name

Returns:

Throws: ContentCreationException if the item could not be created.

createLocation

public ContentLocation createLocation(String name)

exists

public boolean exists(String name)

getEntry

public ContentEntity getEntry(String name)

listContents

public ContentEntity[] listContents()