Package org.alfresco.rest.requests
Class CustomTypeManager
java.lang.Object
org.alfresco.rest.requests.ModelRequest<CustomTypeManager>
org.alfresco.rest.requests.CustomTypeManager
- Author:
- Bogdan Bocancea
-
Field Summary
Fields inherited from class org.alfresco.rest.requests.ModelRequest
restWrapper -
Constructor Summary
ConstructorsConstructorDescriptionCustomTypeManager(org.alfresco.utility.model.CustomContentModel customContentModel, RestCustomTypeModel customTypeModel, RestWrapper restWrapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel) voidaddPropertyWithListOfValues(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, boolean sorted, String... listOfValues) voidaddPropertyWithMinMaxLengthConstraint(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, int minLength, int maxLength) voidaddPropertyWithMinMaxValueConstraint(org.alfresco.utility.model.CustomAspectPropertiesModel propertyModel, int minValue, int maxValue) voidMethods inherited from class org.alfresco.rest.requests.ModelRequest
include, includePath, usingParams
-
Constructor Details
-
CustomTypeManager
public CustomTypeManager(org.alfresco.utility.model.CustomContentModel customContentModel, RestCustomTypeModel customTypeModel, RestWrapper restWrapper)
-
-
Method Details
-
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, String... listOfValues) -
deleteCustomType
public void deleteCustomType()
-