public class ComponentGroup<T extends Component>
extends java.lang.Object
Constructor and Description |
---|
ComponentGroup(ComponentList<T> components,
Uid uid) |
ComponentGroup(ComponentList<T> components,
Uid uid,
RecurrenceId recurrenceId) |
Modifier and Type | Method and Description |
---|---|
PeriodList |
calculateRecurrenceSet(Period period)
Calculate all recurring periods for the specified date range.
|
T |
getLatestRevision()
Returns the latest component revision based on ascending sequence number and modified date.
|
ComponentList<T> |
getRevisions()
Apply filter to all components to create a subset containing components
matching the specified UID.
|
public ComponentGroup(ComponentList<T> components, Uid uid)
public ComponentGroup(ComponentList<T> components, Uid uid, RecurrenceId recurrenceId)
public ComponentList<T> getRevisions()
public T getLatestRevision()
public PeriodList calculateRecurrenceSet(Period period)
period
- Component.calculateRecurrenceSet(Period)