org.nuxeo.ecm.core.api.repository
Class Repository
java.lang.Object
org.nuxeo.ecm.core.api.repository.Repository
- All Implemented Interfaces:
- java.io.Serializable
public class Repository
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Repository
public Repository()
Repository
public Repository(java.lang.String name,
java.lang.String label)
Repository
public Repository(java.lang.String name)
getName
public java.lang.String getName()
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperty
public java.lang.String getProperty(java.lang.String name)
getProperty
public java.lang.String getProperty(java.lang.String name,
java.lang.String defValue)
removeProperty
public java.lang.String removeProperty(java.lang.String name)
setProperty
public java.lang.String setProperty(java.lang.String name,
java.lang.String value)
open
public CoreSession open()
throws java.lang.Exception
- Throws:
java.lang.Exception
supportsTags
public boolean supportsTags()
throws java.lang.Exception
- Throws:
java.lang.Exception
isDefault
public boolean isDefault()
setDefault
public void setDefault(boolean value)
open
public CoreSession open(java.util.Map<java.lang.String,java.io.Serializable> context)
throws java.lang.Exception
- Throws:
java.lang.Exception
close
public static void close(CoreSession session)
newRepositoryInstance
public static RepositoryInstance newRepositoryInstance(Repository repository)
newInstance
public RepositoryInstance newInstance()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getRepositoryUri
public java.lang.String getRepositoryUri()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.