public class SequenceUtils extends Object
| Constructor and Description |
|---|
SequenceUtils() |
| Modifier and Type | Method and Description |
|---|---|
<T extends SeparatelySequenceableAssociate> |
sequence(List<T> oldAssociates)
This method sequences a SequenceOwner and a of SeparatelySequenceableAssociates to a new version.
|
<T extends SeparatelySequenceableAssociate> |
sequence(T oldAssociate)
This method sequences a SeparatelySequenceableAssociate a new version.
|
<T extends SequenceOwner<?>> |
sequence(T oldVersion)
This method sequences a SequenceOwner to a new version.
|
public <T extends SequenceOwner<?>> T sequence(T oldVersion) throws VersionException
T - the type of SequenceOwner to sequence.oldVersion - the old sequence ownerVersionException - if versioning failspublic <T extends SeparatelySequenceableAssociate> T sequence(T oldAssociate) throws VersionException
T - the type of SeparatelySequenceableAssociate to sequence.oldAssociate - the old SeparatelySequenceableAssociate to sequenceVersionException - if versioning failspublic <T extends SeparatelySequenceableAssociate> List<T> sequence(List<T> oldAssociates) throws VersionException
T - the type of SeparatelySequenceableAssociate to sequence.oldAssociates - the list of old associatesVersionException - if versioning failsCopyright © 2013 The Kuali Foundation. All Rights Reserved.