public class Repository extends Object implements Serializable
Constructor and Description |
---|
Repository() |
Repository(String name) |
Repository(String name,
String label) |
Modifier and Type | Method and Description |
---|---|
static void |
close(CoreSession session) |
String |
getLabel() |
String |
getName() |
Map<String,String> |
getProperties() |
String |
getProperty(String name) |
String |
getProperty(String name,
String defValue) |
String |
getRepositoryUri() |
boolean |
isDefault() |
CoreSession |
open() |
CoreSession |
open(Map<String,Serializable> context) |
String |
removeProperty(String name) |
void |
setDefault(boolean value) |
void |
setLabel(String label) |
String |
setProperty(String name,
String value) |
String |
toString() |
public Repository()
public Repository(String name)
public String getName()
public String getLabel()
public void setLabel(String label)
public CoreSession open() throws Exception
Exception
public boolean isDefault()
public void setDefault(boolean value)
public CoreSession open(Map<String,Serializable> context) throws Exception
Exception
public static void close(CoreSession session)
public String getRepositoryUri()
Copyright © 2013 Nuxeo SA. All Rights Reserved.