Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.repository
Class Repository

java.lang.Object
  extended by org.nuxeo.ecm.core.api.repository.Repository
All Implemented Interfaces:
Serializable

public class Repository
extends Object
implements Serializable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
Repository()
           
Repository(String name)
           
Repository(String name, String label)
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Repository

public Repository()

Repository

public Repository(String name,
                  String label)

Repository

public Repository(String name)
Method Detail

getName

public String getName()

getLabel

public String getLabel()

setLabel

public void setLabel(String label)

getProperties

public Map<String,String> getProperties()

getProperty

public String getProperty(String name)

getProperty

public String getProperty(String name,
                          String defValue)

removeProperty

public String removeProperty(String name)

setProperty

public String setProperty(String name,
                          String value)

open

public CoreSession open()
                 throws Exception
Throws:
Exception

supportsTags

public boolean supportsTags()
                     throws Exception
Throws:
Exception

isDefault

public boolean isDefault()

setDefault

public void setDefault(boolean value)

open

public CoreSession open(Map<String,Serializable> context)
                 throws Exception
Throws:
Exception

close

public static void close(CoreSession session)

newRepositoryInstance

public static RepositoryInstance newRepositoryInstance(Repository repository)

newInstance

public RepositoryInstance newInstance()

toString

public String toString()
Overrides:
toString in class Object

getRepositoryUri

public String getRepositoryUri()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.