Package ch.ivyteam.ivy.workflow
Class PropertyOrder<T extends IProperty>
java.lang.Object
ch.ivyteam.ivy.workflow.PropertyOrder<T>
- Type Parameters:
T
- the type of the property to use
Defines how to order a workflow object after a certain property
- Since:
- 19.07.2007
- API:
- This is a public API.
-
Constructor Summary
ConstructorDescriptionPropertyOrder
(T property) ConstructorPropertyOrder
(T property, OrderDirection orderDirection) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends IProperty>
List<PropertyOrder<T>>create
(T property) Creates a PropertyOrder list with one propertystatic <T extends IProperty>
List<PropertyOrder<T>>create
(T... properties) Creates a PropertyOrder liststatic <T extends IProperty>
List<PropertyOrder<T>>create
(T property, OrderDirection orderDirection) Creates a PropertyOrder list with one propertystatic <T extends IProperty>
List<PropertyOrder<T>>create
(T property1, OrderDirection orderDirection1, T property2, OrderDirection orderDirection2) Creates a PropertyOrder liststatic <T extends IProperty>
List<PropertyOrder<T>>create
(T property1, OrderDirection orderDirection1, T property2, OrderDirection orderDirection2, T property3, OrderDirection orderDirection3) Creates a PropertyOrder listGets the order directionGets the property
-
Constructor Details
-
PropertyOrder
Constructor- Parameters:
property
- the property to order after- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
PropertyOrder
Constructor- Parameters:
property
- the property to order afterorderDirection
- the order direction- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-
Method Details
-
create
Creates a PropertyOrder list with one property- Type Parameters:
T
- Type of the properties- Parameters:
property
- Property- Returns:
- List of
PropertyOrder
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
create
public static <T extends IProperty> List<PropertyOrder<T>> create(T property, OrderDirection orderDirection) Creates a PropertyOrder list with one property- Type Parameters:
T
- Type of the properties- Parameters:
property
- PropertyorderDirection
- The order diection- Returns:
- List of
PropertyOrder
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
create
Creates a PropertyOrder list- Type Parameters:
T
- Type of the properties- Parameters:
properties
- The properties- Returns:
- List of
PropertyOrder
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
create
public static <T extends IProperty> List<PropertyOrder<T>> create(T property1, OrderDirection orderDirection1, T property2, OrderDirection orderDirection2) Creates a PropertyOrder list- Type Parameters:
T
- Type of the properties- Parameters:
property1
- First propertyorderDirection1
- Order direction forproperty1
property2
- Second propertyorderDirection2
- Order direction forproperty2
- Returns:
- List of
PropertyOrder
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
create
public static <T extends IProperty> List<PropertyOrder<T>> create(T property1, OrderDirection orderDirection1, T property2, OrderDirection orderDirection2, T property3, OrderDirection orderDirection3) Creates a PropertyOrder list- Type Parameters:
T
- Type of the properties- Parameters:
property1
- First propertyorderDirection1
- Order direction forproperty1
property2
- Second propertyorderDirection2
- Order direction forproperty2
property3
- Third propertyorderDirection3
- Order direction forproperty3
- Returns:
- List of
PropertyOrder
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getProperty
Gets the property- Returns:
- the property
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getOrderDirection
Gets the order direction- Returns:
- the orderDirection
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-