com.xebialabs.deployit.upgrade
Class RawRepositoryImpl

java.lang.Object
  extended by com.xebialabs.deployit.upgrade.RawRepositoryImpl
All Implemented Interfaces:
com.xebialabs.deployit.server.api.repository.RawRepository

public class RawRepositoryImpl
extends java.lang.Object
implements com.xebialabs.deployit.server.api.repository.RawRepository


Nested Class Summary
static class RawRepositoryImpl.RuntimeRepositoryException
           
 
Field Summary
static java.lang.String QUERY_PREFIX
           
 
Constructor Summary
RawRepositoryImpl(javax.jcr.Session session)
           
 
Method Summary
 javax.jcr.Node create(java.lang.String nodeId)
           
 void delete(java.lang.String nodeId)
           
 java.util.List<javax.jcr.Node> findNodesByType(com.xebialabs.deployit.plugin.api.reflect.Type type)
           
 javax.jcr.Session getSession()
           
 javax.jcr.Node read(java.lang.String nodeId)
           
 void renameType(java.lang.String oldTypeName, java.lang.String newTypeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUERY_PREFIX

public static final java.lang.String QUERY_PREFIX
See Also:
Constant Field Values
Constructor Detail

RawRepositoryImpl

public RawRepositoryImpl(javax.jcr.Session session)
Method Detail

renameType

public void renameType(java.lang.String oldTypeName,
                       java.lang.String newTypeName)
Specified by:
renameType in interface com.xebialabs.deployit.server.api.repository.RawRepository

read

public javax.jcr.Node read(java.lang.String nodeId)
Specified by:
read in interface com.xebialabs.deployit.server.api.repository.RawRepository

create

public javax.jcr.Node create(java.lang.String nodeId)
Specified by:
create in interface com.xebialabs.deployit.server.api.repository.RawRepository

delete

public void delete(java.lang.String nodeId)
Specified by:
delete in interface com.xebialabs.deployit.server.api.repository.RawRepository

findNodesByType

public java.util.List<javax.jcr.Node> findNodesByType(com.xebialabs.deployit.plugin.api.reflect.Type type)
Specified by:
findNodesByType in interface com.xebialabs.deployit.server.api.repository.RawRepository

getSession

public javax.jcr.Session getSession()