Package org.alfresco.rest.requests
Class CustomTypeManager
- java.lang.Object
-
- org.alfresco.rest.requests.ModelRequest<CustomTypeManager>
-
- org.alfresco.rest.requests.CustomTypeManager
-
public class CustomTypeManager extends ModelRequest<CustomTypeManager>
- Author:
- Bogdan Bocancea
-
-
Field Summary
-
Fields inherited from class org.alfresco.rest.requests.ModelRequest
restWrapper
-
-
Constructor Summary
Constructors Constructor Description CustomTypeManager(org.alfresco.utility.model.CustomContentModel customContentModel, RestCustomTypeModel customTypeModel, RestWrapper restWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel)voidaddPropertyWithListOfValues(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, boolean sorted, java.lang.String... listOfValues)voidaddPropertyWithMinMaxLengthConstraint(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, int minLength, int maxLength)voidaddPropertyWithMinMaxValueConstraint(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, int minValue, int maxValue)voiddeleteCustomType()RestCustomTypeModelgetCustomType()-
Methods inherited from class org.alfresco.rest.requests.ModelRequest
includePath, usingParams
-
-
-
-
Constructor Detail
-
CustomTypeManager
public CustomTypeManager(org.alfresco.utility.model.CustomContentModel customContentModel, RestCustomTypeModel customTypeModel, RestWrapper restWrapper)
-
-
Method Detail
-
getCustomType
public RestCustomTypeModel getCustomType()
-
addProperty
public void addProperty(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel)
-
addPropertyWithMinMaxValueConstraint
public void addPropertyWithMinMaxValueConstraint(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, int minValue, int maxValue)
-
addPropertyWithMinMaxLengthConstraint
public void addPropertyWithMinMaxLengthConstraint(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, int minLength, int maxLength)
-
addPropertyWithListOfValues
public void addPropertyWithListOfValues(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, boolean sorted, java.lang.String... listOfValues)
-
deleteCustomType
public void deleteCustomType()
-
-