Class SaveDataDocumentResource
java.lang.Object
dev.getelements.elements.rest.savedata.SaveDataDocumentResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSaveDocument
(CreateSaveDataDocumentRequest createSaveDataDocumentRequest) void
deleteSaveDocument
(String saveDataDocumentId) getProfileSaveDataDocumentBySlot
(String profileId, int slot) getSaveDataDocument
(String nameOrId) getSaveDataDocuments
(int offset, int count, String userId, String profileId, String search) getUserSaveDataDocumentBySlot
(String userId, int slot) void
setSaveDataDocumentService
(SaveDataDocumentService saveDataDocumentService) void
setValidationHelper
(ValidationHelper validationHelper) updateSaveDocument
(String saveDataDocumentId, UpdateSaveDataDocumentRequest updateSaveDataDocumentRequest)
-
Constructor Details
-
SaveDataDocumentResource
public SaveDataDocumentResource()
-
-
Method Details
-
getSaveDataDocuments
@GET @Produces("application/json") public Pagination<SaveDataDocument> getSaveDataDocuments(@QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count, @QueryParam("userId") @DefaultValue("") String userId, @QueryParam("profileId") @DefaultValue("") String profileId, @QueryParam("search") @DefaultValue("") String search) -
getSaveDataDocument
@GET @Path("{id}") @Produces("application/json") public SaveDataDocument getSaveDataDocument(@PathParam("id") String nameOrId) -
getUserSaveDataDocumentBySlot
@GET @Path("user/{userId}/{slot}") @Produces("application/json") public SaveDataDocument getUserSaveDataDocumentBySlot(@PathParam("userId") String userId, @PathParam("slot") int slot) -
getProfileSaveDataDocumentBySlot
@GET @Path("profile/{profileId}/{slot}") @Produces("application/json") public SaveDataDocument getProfileSaveDataDocumentBySlot(@PathParam("profileId") String profileId, @PathParam("slot") int slot) -
createSaveDocument
@POST @Consumes("application/json") @Produces("application/json") public SaveDataDocument createSaveDocument(CreateSaveDataDocumentRequest createSaveDataDocumentRequest) -
updateSaveDocument
@PUT @Path("{saveDataDocumentId}") @Consumes("application/json") @Produces("application/json") public SaveDataDocument updateSaveDocument(@PathParam("saveDataDocumentId") String saveDataDocumentId, UpdateSaveDataDocumentRequest updateSaveDataDocumentRequest) -
deleteSaveDocument
@DELETE @Path("{saveDataDocumentId}") public void deleteSaveDocument(@PathParam("saveDataDocumentId") String saveDataDocumentId) -
getValidationHelper
-
setValidationHelper
-
getSaveDataDocumentService
-
setSaveDataDocumentService
-