com.xebialabs.deployit.repository
Class JcrRepositoryService
java.lang.Object
com.xebialabs.deployit.repository.JcrRepositoryService
- All Implemented Interfaces:
- RepositoryService
@Component
public class JcrRepositoryService
- extends java.lang.Object
- implements RepositoryService
|
Method Summary |
boolean |
checkNodeExists(java.lang.String id)
|
void |
checkReferentialIntegrity(ChangeSet changeset)
|
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
void |
|
create(T... entities)
|
void |
delete(java.lang.String... ids)
|
void |
execute(ChangeSet changeset)
|
java.util.List<java.lang.String> |
list(SearchParameters parameters)
|
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
java.util.List<T> |
|
listEntities(SearchParameters parameters)
|
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
T |
|
read(java.lang.String id)
|
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
T |
|
read(java.lang.String id,
WorkDir workDir)
|
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
void |
|
update(T... cis)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JcrRepositoryService
public JcrRepositoryService(JcrTemplate jcrTemplate)
execute
public void execute(ChangeSet changeset)
- Specified by:
execute in interface RepositoryService
checkReferentialIntegrity
public void checkReferentialIntegrity(ChangeSet changeset)
throws ItemInUseException,
ItemAlreadyExistsException
- Specified by:
checkReferentialIntegrity in interface RepositoryService
- Throws:
ItemInUseException
ItemAlreadyExistsException
create
public <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void create(T... entities)
- Specified by:
create in interface RepositoryService
read
public <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T read(java.lang.String id)
- Specified by:
read in interface RepositoryService
read
public <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T read(java.lang.String id,
WorkDir workDir)
- Specified by:
read in interface RepositoryService
update
public <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void update(T... cis)
- Specified by:
update in interface RepositoryService
delete
public void delete(java.lang.String... ids)
- Specified by:
delete in interface RepositoryService
list
public java.util.List<java.lang.String> list(SearchParameters parameters)
- Specified by:
list in interface RepositoryService
listEntities
public <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> java.util.List<T> listEntities(SearchParameters parameters)
- Specified by:
listEntities in interface RepositoryService
checkNodeExists
public boolean checkNodeExists(java.lang.String id)
- Specified by:
checkNodeExists in interface RepositoryService