Package ru.i_novus.ms.rdm.api.service
Interface RefBookService
@Path("/refBook")
@Produces("application/json")
@Consumes("application/json")
public interface RefBookService
-
Method Summary
Modifier and Type Method Description voidchangeData(RdmChangeDataRequest request)Draftcreate(FileModel fileModel)RefBookcreate(RefBookCreateRequest refBookCreateRequest)voiddelete(int refBookId)voidfromArchive(int refBookId)RefBookgetByVersionId(java.lang.Integer versionId)java.lang.StringgetCode(java.lang.Integer refBookId)java.lang.IntegergetId(java.lang.String refBookCode)org.springframework.data.domain.Page<RefBook>search(RefBookCriteria criteria)org.springframework.data.domain.Page<RefBook>searchVersions(RefBookCriteria criteria)voidtoArchive(int refBookId)RefBookupdate(RefBookUpdateRequest refBookUpdateRequest)
-
Method Details
-
search
-
searchVersions
@GET @Path("/versions") org.springframework.data.domain.Page<RefBook> searchVersions(@BeanParam RefBookCriteria criteria) -
getByVersionId
-
getCode
@GET @Path("/{id}") java.lang.String getCode(@PathParam("id") java.lang.Integer refBookId) -
getId
@GET @Path("/code/{refBookCode}") java.lang.Integer getId(@PathParam("refBookCode") java.lang.String refBookCode) -
create
-
create
-
update
-
delete
@DELETE void delete(@QueryParam("refBookId") int refBookId) -
toArchive
@POST @Path("/{refBookId}/toArchive") void toArchive(@PathParam("refBookId") int refBookId) -
fromArchive
@POST @Path("/{refBookId}/fromArchive") void fromArchive(@PathParam("refBookId") int refBookId) -
changeData
-