com.xebialabs.deployit.core.rest.api
Class RepositoryResource

java.lang.Object
  extended by com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
      extended by com.xebialabs.deployit.core.rest.api.RepositoryResource
All Implemented Interfaces:
com.xebialabs.deployit.core.api.RepositoryProxy

@Controller
public class RepositoryResource
extends AbstractSecuredResource
implements com.xebialabs.deployit.core.api.RepositoryProxy


Constructor Summary
RepositoryResource()
           
 
Method Summary
 javax.ws.rs.core.Response create(java.lang.String id, com.xebialabs.deployit.core.api.dto.ArtifactAndData dto)
           
 javax.ws.rs.core.Response create(java.lang.String id, com.xebialabs.deployit.core.api.dto.ConfigurationItemDto dto)
           
 javax.ws.rs.core.Response createMultiple(com.xebialabs.deployit.core.api.dto.ConfigurationItemDtos dto)
           
 javax.ws.rs.core.Response delete(java.lang.String id)
           
 javax.ws.rs.core.Response exists(java.lang.String id)
           
 javax.ws.rs.core.Response move(java.lang.String id, java.lang.String newLocation)
           
 javax.ws.rs.core.Response read(java.lang.String id)
           
 javax.ws.rs.core.Response rename(java.lang.String id, java.lang.String newName)
           
 javax.ws.rs.core.Response update(java.lang.String id, com.xebialabs.deployit.core.api.dto.ArtifactAndData dto)
           
 javax.ws.rs.core.Response update(java.lang.String id, com.xebialabs.deployit.core.api.dto.ConfigurationItemDto dto)
           
 
Methods inherited from class com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
checkPermission, checkPermission, hasPermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryResource

public RepositoryResource()
Method Detail

create

public javax.ws.rs.core.Response create(java.lang.String id,
                                        com.xebialabs.deployit.core.api.dto.ConfigurationItemDto dto)
Specified by:
create in interface com.xebialabs.deployit.core.api.RepositoryProxy

create

public javax.ws.rs.core.Response create(java.lang.String id,
                                        com.xebialabs.deployit.core.api.dto.ArtifactAndData dto)
Specified by:
create in interface com.xebialabs.deployit.core.api.RepositoryProxy

createMultiple

public javax.ws.rs.core.Response createMultiple(com.xebialabs.deployit.core.api.dto.ConfigurationItemDtos dto)
Specified by:
createMultiple in interface com.xebialabs.deployit.core.api.RepositoryProxy

read

public javax.ws.rs.core.Response read(java.lang.String id)
Specified by:
read in interface com.xebialabs.deployit.core.api.RepositoryProxy

move

public javax.ws.rs.core.Response move(java.lang.String id,
                                      java.lang.String newLocation)
Specified by:
move in interface com.xebialabs.deployit.core.api.RepositoryProxy

rename

public javax.ws.rs.core.Response rename(java.lang.String id,
                                        java.lang.String newName)
Specified by:
rename in interface com.xebialabs.deployit.core.api.RepositoryProxy

update

public javax.ws.rs.core.Response update(java.lang.String id,
                                        com.xebialabs.deployit.core.api.dto.ConfigurationItemDto dto)
Specified by:
update in interface com.xebialabs.deployit.core.api.RepositoryProxy

update

public javax.ws.rs.core.Response update(java.lang.String id,
                                        com.xebialabs.deployit.core.api.dto.ArtifactAndData dto)
Specified by:
update in interface com.xebialabs.deployit.core.api.RepositoryProxy

delete

public javax.ws.rs.core.Response delete(java.lang.String id)
Specified by:
delete in interface com.xebialabs.deployit.core.api.RepositoryProxy

exists

public javax.ws.rs.core.Response exists(java.lang.String id)
Specified by:
exists in interface com.xebialabs.deployit.core.api.RepositoryProxy