this.activityPrincipalName = principalName;
}
+ /**
+ * Consctructor with type, user, timestamp and principal name
+ * <p>
+ * @param activityType Type
+ * @param activityUser User instance
+ * @param activityTimestamp imestamp
+ * @param principalName Principal name
+ */
+ public UserActivityLog (final String activityType, final User activityUser, final Calendar activityTimestamp, final String principalName) {
+ // Call other constructor
+ this(activityType, activityUser, activityTimestamp);
+
+ // Set principal name
+ this.activityPrincipalName = principalName;
+ }
+
@Override
public boolean equals (final Object object) {
if (this == object) {