public class DeleteChangeMessage extends RetryingRestModifyView<ChangeMessageResource,DeleteChangeMessageInput,Response<ChangeMessageInfo>>
Modifier and Type | Class and Description |
---|---|
static class |
DeleteChangeMessage.DefaultDeleteChangeMessage |
Constructor and Description |
---|
DeleteChangeMessage(com.google.inject.Provider<CurrentUser> userProvider,
PermissionBackend permissionBackend,
ChangeMessagesUtil changeMessagesUtil,
AccountLoader.Factory accountLoaderFactory,
ChangeNotes.Factory notesFactory,
RetryHelper retryHelper) |
Modifier and Type | Method and Description |
---|---|
Response<ChangeMessageInfo> |
applyImpl(BatchUpdate.Factory updateFactory,
ChangeMessageResource resource,
DeleteChangeMessageInput input) |
static String |
createNewChangeMessage(String deletedBy) |
static String |
createNewChangeMessage(String deletedBy,
String deletedReason) |
apply
@Inject public DeleteChangeMessage(com.google.inject.Provider<CurrentUser> userProvider, PermissionBackend permissionBackend, ChangeMessagesUtil changeMessagesUtil, AccountLoader.Factory accountLoaderFactory, ChangeNotes.Factory notesFactory, RetryHelper retryHelper)
public Response<ChangeMessageInfo> applyImpl(BatchUpdate.Factory updateFactory, ChangeMessageResource resource, DeleteChangeMessageInput input) throws RestApiException, PermissionBackendException, UpdateException, IOException
public static String createNewChangeMessage(String deletedBy, String deletedReason)