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() |
RepositoryInstance |
newInstance() |
static RepositoryInstance |
newRepositoryInstance(Repository repository) |
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) |
boolean |
supportsTags() |
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 static RepositoryInstance newRepositoryInstance(Repository repository)
public RepositoryInstance newInstance()
public String getRepositoryUri()
Copyright © 2011 Nuxeo SA. All Rights Reserved.