Skip to content

Commit

Permalink
allowed override of onCaseCreated
Browse files Browse the repository at this point in the history
  • Loading branch information
manos committed Jun 21, 2017
1 parent abd6a8a commit c8c39a1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

import java.util.Set;

import com.restdude.domain.cases.model.ActivityLog;
import com.restdude.domain.cases.model.BaseCase;
import com.restdude.domain.cases.model.BaseCaseComment;
import com.restdude.domain.cases.model.ActivityLog;
import com.restdude.domain.cases.model.BaseContext;
import com.restdude.domain.cases.model.Membership;
import com.restdude.domain.cases.model.Space;
Expand Down Expand Up @@ -187,6 +187,9 @@ public void onCaseUpdated(EntityUpdatedEvent<BaseCase> event) {
}

@EventListener
public void onCaseCommentCreatedListener(EntityCreatedEvent<BaseCaseComment> event) {
this.onCaseCommentCreated(event);
}
public void onCaseCommentCreated(EntityCreatedEvent<BaseCaseComment> event) {

BaseCaseComment model = event.getModel();
Expand Down

0 comments on commit c8c39a1

Please sign in to comment.