public final class AttributableOperations extends Object
| Modifier and Type | Method and Description |
|---|---|
static UserTO |
apply(UserTO userTO,
UserMod userMod) |
static RoleMod |
diff(RoleTO updated,
RoleTO original)
Calculate modifications needed by first in order to be equal to second.
|
static RoleMod |
diff(RoleTO updated,
RoleTO original,
boolean incremental)
Calculate modifications needed by first in order to be equal to second.
|
static UserMod |
diff(UserTO updated,
UserTO original)
Calculate modifications needed by first in order to be equal to second.
|
static UserMod |
diff(UserTO updated,
UserTO original,
boolean incremental)
Calculate modifications needed by first in order to be equal to second.
|
public static UserMod diff(UserTO updated, UserTO original)
updated - updated UserTOoriginal - original UserTOpublic static UserMod diff(UserTO updated, UserTO original, boolean incremental)
updated - updated UserTOoriginal - original UserTOincremental - perform incremental diff (without removing existing info)public static RoleMod diff(RoleTO updated, RoleTO original)
updated - updated RoleTOoriginal - original RoleTOpublic static RoleMod diff(RoleTO updated, RoleTO original, boolean incremental)
updated - updated RoleTOoriginal - original RoleTOincremental - perform incremental diff (without removing existing info)Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.