public class InMemoryRepositoryService
extends java.lang.Object
implements com.xebialabs.deployit.repository.RepositoryService, java.io.Serializable
| Constructor and Description |
|---|
InMemoryRepositoryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkReferentialIntegrity(com.xebialabs.deployit.repository.ChangeSet batchUpdate) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
copy(java.lang.String id,
java.lang.String newId) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
create(T... entities) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
createOrUpdate(T... entities) |
void |
delete(java.lang.String... ids) |
void |
execute(com.xebialabs.deployit.repository.ChangeSet batchUpdate) |
boolean |
exists(java.lang.String id) |
java.util.List<com.xebialabs.deployit.repository.ConfigurationItemData> |
list(com.xebialabs.deployit.repository.JcrQueryTemplate queryTemplate) |
java.util.List<com.xebialabs.deployit.repository.ConfigurationItemData> |
list(com.xebialabs.deployit.repository.SearchParameters criteria) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
listEntities(com.xebialabs.deployit.repository.JcrQueryTemplate queryTemplate) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
listEntities(com.xebialabs.deployit.repository.SearchParameters criteria)
Limited search capabilities: only searches on type.
|
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
move(java.lang.String id,
java.lang.String newId) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
read(java.lang.String id) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
read(java.lang.String id,
boolean useCache) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
read(java.lang.String id,
int depth) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
read(java.lang.String id,
int depth,
com.xebialabs.deployit.repository.WorkDir workDir,
boolean useCache) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
read(java.lang.String id,
com.xebialabs.deployit.repository.WorkDir workDir) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
read(java.lang.String id,
com.xebialabs.deployit.repository.WorkDir workDir,
boolean useCache) |
void |
rename(java.lang.String id,
java.lang.String newName) |
<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
update(T... entities) |
public boolean exists(java.lang.String id)
exists in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T read(java.lang.String id)
read in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T read(java.lang.String id,
com.xebialabs.deployit.repository.WorkDir workDir)
read in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void create(T... entities)
create in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void update(T... entities)
update in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void move(java.lang.String id,
java.lang.String newId)
move in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void copy(java.lang.String id,
java.lang.String newId)
copy in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void createOrUpdate(T... entities)
createOrUpdate in interface com.xebialabs.deployit.repository.RepositoryServicepublic void rename(java.lang.String id,
java.lang.String newName)
rename in interface com.xebialabs.deployit.repository.RepositoryServicepublic void delete(java.lang.String... ids)
delete in interface com.xebialabs.deployit.repository.RepositoryServicepublic void execute(com.xebialabs.deployit.repository.ChangeSet batchUpdate)
execute in interface com.xebialabs.deployit.repository.RepositoryServicepublic java.util.List<com.xebialabs.deployit.repository.ConfigurationItemData> list(com.xebialabs.deployit.repository.SearchParameters criteria)
list in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> java.util.List<T> listEntities(com.xebialabs.deployit.repository.SearchParameters criteria)
listEntities in interface com.xebialabs.deployit.repository.RepositoryServiceT - criteria - public java.util.List<com.xebialabs.deployit.repository.ConfigurationItemData> list(com.xebialabs.deployit.repository.JcrQueryTemplate queryTemplate)
list in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> java.util.List<T> listEntities(com.xebialabs.deployit.repository.JcrQueryTemplate queryTemplate)
listEntities in interface com.xebialabs.deployit.repository.RepositoryServicepublic void checkReferentialIntegrity(com.xebialabs.deployit.repository.ChangeSet batchUpdate)
throws com.xebialabs.deployit.repository.ItemInUseException
checkReferentialIntegrity in interface com.xebialabs.deployit.repository.RepositoryServicecom.xebialabs.deployit.repository.ItemInUseExceptionpublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T read(java.lang.String id,
boolean useCache)
read in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T read(java.lang.String id,
com.xebialabs.deployit.repository.WorkDir workDir,
boolean useCache)
read in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T read(java.lang.String id,
int depth)
read in interface com.xebialabs.deployit.repository.RepositoryServicepublic <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> T read(java.lang.String id,
int depth,
com.xebialabs.deployit.repository.WorkDir workDir,
boolean useCache)
read in interface com.xebialabs.deployit.repository.RepositoryService