| java.lang.Object com.caucho.jcr.base.BaseRepository com.caucho.jcr.file.FileRepository
FileRepository | public class FileRepository extends BaseRepository (Code) | | Represents a repository based on a filesystem.
Configuration looks like:
<resource jndi-name="crm/wiki"
type="com.caucho.cms.file.FileRepository">
<init>
<root>wiki-data</root>
</init>
</resource>
|
Method Summary | |
public String | getDescriptor(String key) Returns the value for Repository feature descriptor keys. | public Path | getRoot() Returns the file root. | public void | init() Initialize the FileRespository. | public Session | login(Credentials credentials, String workspaceName) Opens a new session, specifying the security credentials
and a workspace. | public void | setRoot(Path root) Sets the file root. |
getDescriptor | public String getDescriptor(String key)(Code) | | Returns the value for Repository feature descriptor keys.
|
getRoot | public Path getRoot()(Code) | | Returns the file root.
|
init | public void init() throws ConfigException(Code) | | Initialize the FileRespository.
|
login | public Session login(Credentials credentials, String workspaceName) throws LoginException, NoSuchWorkspaceException, RepositoryException(Code) | | Opens a new session, specifying the security credentials
and a workspace.
Parameters: credentials - the security credentials Parameters: workspaceName - select an optional workspace |
setRoot | public void setRoot(Path root)(Code) | | Sets the file root.
|
|
|