File tree Expand file tree Collapse file tree 12 files changed +24
-22
lines changed
src/main/java/org/woehlke/simpleworklist Expand file tree Collapse file tree 12 files changed +24
-22
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ org.woehlke.simpleworklist.task.TaskTime: private static final long serialVer
55org.woehlke.simpleworklist.user.resetpassword.UserPasswordRecoveryStatus: private static final long serialVersionUID = 0L;
66org.woehlke.simpleworklist.user.register.UserRegistrationStatus: private static final long serialVersionUID = 0L;
77org.woehlke.simpleworklist.user.UserRole: private static final long serialVersionUID = 0L;
8- org.woehlke.simpleworklist.oodm.entities.impl .AuditModel: private static final long serialVersionUID = 4399373914714726911L;
8+ org.woehlke.simpleworklist.common .AuditModel: private static final long serialVersionUID = 4399373914714726911L;
99org.woehlke.simpleworklist.context.Context: private static final long serialVersionUID = -5035732370606951871L;
1010org.woehlke.simpleworklist.project.Project: private static final long serialVersionUID = 4566653175832872422L;
1111org.woehlke.simpleworklist.task.Task: private static final long serialVersionUID = 5247710652586269801L;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ serialver org.woehlke.simpleworklist.task.TaskTime >> ..\..\etc\serialversions.t
2222serialver org.woehlke.simpleworklist.user.resetpassword.UserPasswordRecoveryStatus >> ..\..\etc\serialversions.txt
2323serialver org.woehlke.simpleworklist.user.register.UserRegistrationStatus >> ..\..\etc\serialversions.txt
2424serialver org.woehlke.simpleworklist.user.UserRole >> ..\..\etc\serialversions.txt
25- serialver org.woehlke.simpleworklist.oodm.entities.impl .AuditModel >> ..\..\etc\serialversions.txt
25+ serialver org.woehlke.simpleworklist.common .AuditModel >> ..\..\etc\serialversions.txt
2626serialver org.woehlke.simpleworklist.context.Context >> ..\..\etc\serialversions.txt
2727serialver org.woehlke.simpleworklist.project.Project >> ..\..\etc\serialversions.txt
2828serialver org.woehlke.simpleworklist.task.Task >> ..\..\etc\serialversions.txt
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ serialver org.woehlke.simpleworklist.task.TaskTime >> $SERIALVERSIONS_FILE
3434serialver org.woehlke.simpleworklist.user.resetpassword.UserPasswordRecoveryStatus >> $SERIALVERSIONS_FILE
3535serialver org.woehlke.simpleworklist.user.register.UserRegistrationStatus >> $SERIALVERSIONS_FILE
3636serialver org.woehlke.simpleworklist.user.UserRole >> $SERIALVERSIONS_FILE
37- serialver org.woehlke.simpleworklist.oodm.entities.impl .AuditModel >> $SERIALVERSIONS_FILE
37+ serialver org.woehlke.simpleworklist.common .AuditModel >> $SERIALVERSIONS_FILE
3838serialver org.woehlke.simpleworklist.context.Context >> $SERIALVERSIONS_FILE
3939serialver org.woehlke.simpleworklist.project.Project >> $SERIALVERSIONS_FILE
4040serialver org.woehlke.simpleworklist.task.Task >> $SERIALVERSIONS_FILE
Original file line number Diff line number Diff line change 1- package org .woehlke .simpleworklist .oodm . entities . impl ;
1+ package org .woehlke .simpleworklist .common ;
22
33import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
44import org .springframework .data .annotation .CreatedDate ;
Original file line number Diff line number Diff line change 1- package org .woehlke .simpleworklist .oodm .entities .impl ;
2-
3- public interface ComparableById <T extends AuditModel > {
4- boolean equalsById (T otherObject );
5- boolean equalsByUniqueConstraint (T otherObject );
6- boolean equalsByUuid (T otherObject );
7- }
1+ package org .woehlke .simpleworklist .common ;
2+
3+ import org .woehlke .simpleworklist .common .AuditModel ;
4+
5+ public interface ComparableById <T extends AuditModel > {
6+ boolean equalsById (T otherObject );
7+ boolean equalsByUniqueConstraint (T otherObject );
8+ boolean equalsByUuid (T otherObject );
9+ }
Original file line number Diff line number Diff line change 33import org .hibernate .validator .constraints .Length ;
44import javax .validation .constraints .NotBlank ;
55import org .hibernate .validator .constraints .SafeHtml ;
6- import org .woehlke .simpleworklist .oodm . entities . impl .AuditModel ;
7- import org .woehlke .simpleworklist .oodm . entities . impl .ComparableById ;
6+ import org .woehlke .simpleworklist .common .AuditModel ;
7+ import org .woehlke .simpleworklist .common .ComparableById ;
88import org .woehlke .simpleworklist .user .account .UserAccount ;
99
1010import javax .persistence .*;
Original file line number Diff line number Diff line change 1414import javax .validation .constraints .NotBlank ;
1515import org .hibernate .validator .constraints .SafeHtml ;
1616import org .woehlke .simpleworklist .context .Context ;
17- import org .woehlke .simpleworklist .oodm . entities . impl .AuditModel ;
18- import org .woehlke .simpleworklist .oodm . entities . impl .ComparableById ;
17+ import org .woehlke .simpleworklist .common .AuditModel ;
18+ import org .woehlke .simpleworklist .common .ComparableById ;
1919import org .woehlke .simpleworklist .user .account .UserAccount ;
2020
2121@ Entity
Original file line number Diff line number Diff line change 1717import org .woehlke .simpleworklist .context .Context ;
1818import org .woehlke .simpleworklist .project .Project ;
1919import org .woehlke .simpleworklist .user .account .UserAccount ;
20- import org .woehlke .simpleworklist .oodm . entities . impl .AuditModel ;
21- import org .woehlke .simpleworklist .oodm . entities . impl .ComparableById ;
20+ import org .woehlke .simpleworklist .common .AuditModel ;
21+ import org .woehlke .simpleworklist .common .ComparableById ;
2222
2323
2424@ Entity
Original file line number Diff line number Diff line change 33import javax .validation .constraints .Email ;
44import org .hibernate .validator .constraints .SafeHtml ;
55import org .woehlke .simpleworklist .context .Context ;
6- import org .woehlke .simpleworklist .oodm . entities . impl .AuditModel ;
7- import org .woehlke .simpleworklist .oodm . entities . impl .ComparableById ;
6+ import org .woehlke .simpleworklist .common .AuditModel ;
7+ import org .woehlke .simpleworklist .common .ComparableById ;
88import org .woehlke .simpleworklist .language .Language ;
99
1010import java .io .Serializable ;
Original file line number Diff line number Diff line change 33import org .hibernate .validator .constraints .Length ;
44import javax .validation .constraints .NotBlank ;
55import org .hibernate .validator .constraints .SafeHtml ;
6- import org .woehlke .simpleworklist .oodm . entities . impl .AuditModel ;
6+ import org .woehlke .simpleworklist .common .AuditModel ;
77import org .woehlke .simpleworklist .user .account .UserAccount ;
88
99import javax .persistence .*;
You can’t perform that action at this time.
0 commit comments