Class PeriodDataTypeParameters
java.lang.Object
org.alfresco.repo.forms.processor.node.PeriodDataTypeParameters
- All Implemented Interfaces:
Serializable,DataTypeParameters
Represents the parameters for the period data type.
- Author:
- Gavin Cornwell
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a PeriodProviderReturns the valid period options as a JSONArray of JSONObject's.Retrieves a List of PeriodProvider objects representing the valid period options for the property
-
Field Details
-
providers
-
-
Constructor Details
-
PeriodDataTypeParameters
public PeriodDataTypeParameters()Default constructor
-
-
Method Details
-
addPeriodProvider
Adds a PeriodProvider- Parameters:
pp- The PeriodProvider to add
-
getAsObject
Retrieves a List of PeriodProvider objects representing the valid period options for the property- Specified by:
getAsObjectin interfaceDataTypeParameters- Returns:
- List of PeriodProvider objects
- See Also:
-
getAsJSON
Returns the valid period options as a JSONArray of JSONObject's.- Specified by:
getAsJSONin interfaceDataTypeParameters- Returns:
- A JSONArray object holding JSONObject's representing the period definitions
- See Also:
-