public final class AnyOperations extends Object
| Modifier and Type | Method and Description |
|---|---|
static AnyObjectPatch |
diff(AnyObjectTO updated,
AnyObjectTO original,
boolean incremental)
Calculate modifications needed by first in order to be equal to second.
|
static GroupPatch |
diff(GroupTO updated,
GroupTO original,
boolean incremental)
Calculate modifications needed by first in order to be equal to second.
|
static <TO extends AnyTO,P extends AnyPatch> |
diff(TO updated,
TO original,
boolean incremental) |
static UserPatch |
diff(UserTO updated,
UserTO original,
boolean incremental)
Calculate modifications needed by first in order to be equal to second.
|
static AnyObjectTO |
patch(AnyObjectTO anyObjectTO,
AnyObjectPatch anyObjectPatch) |
static GroupTO |
patch(GroupTO groupTO,
GroupPatch groupPatch) |
static UserTO |
patch(UserTO userTO,
UserPatch userPatch) |
public static AnyObjectPatch diff(AnyObjectTO updated, AnyObjectTO original, boolean incremental)
updated - updated AnyObjectTOoriginal - original AnyObjectTOincremental - perform incremental diff (without removing existing info)public static UserPatch diff(UserTO updated, UserTO original, boolean incremental)
updated - updated UserTOoriginal - original UserTOincremental - perform incremental diff (without removing existing info)public static GroupPatch diff(GroupTO updated, GroupTO original, boolean incremental)
updated - updated GroupTOoriginal - original GroupTOincremental - perform incremental diff (without removing existing info)public static <TO extends AnyTO,P extends AnyPatch> P diff(TO updated, TO original, boolean incremental)
public static GroupTO patch(GroupTO groupTO, GroupPatch groupPatch)
public static AnyObjectTO patch(AnyObjectTO anyObjectTO, AnyObjectPatch anyObjectPatch)
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.