Package org.gbif.api.service.collections
Interface ChangeSuggestionService<T extends CollectionEntity,R extends ChangeSuggestion<T>>
-
public interface ChangeSuggestionService<T extends CollectionEntity,R extends ChangeSuggestion<T>>
Defines the service to suggest changes in GRSciColl entities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UUID
applyChangeSuggestion(int key)
int
createChangeSuggestion(R changeSuggestion)
void
discardChangeSuggestion(int key)
R
getChangeSuggestion(int key)
PagingResponse<R>
list(Status status, Type type, String proposedBy, UUID entityKey, String ihIdentifier, Pageable page)
void
updateChangeSuggestion(R changeSuggestion)
-
-
-
Method Detail
-
createChangeSuggestion
int createChangeSuggestion(@Valid R changeSuggestion)
-
updateChangeSuggestion
void updateChangeSuggestion(@Valid R changeSuggestion)
-
discardChangeSuggestion
void discardChangeSuggestion(int key)
-
applyChangeSuggestion
UUID applyChangeSuggestion(int key)
-
getChangeSuggestion
R getChangeSuggestion(int key)
-
-