Package org.alfresco.repo.jscript.app
Class IgnorePropertyDecorator
- java.lang.Object
-
- org.alfresco.repo.jscript.app.BasePropertyDecorator
-
- org.alfresco.repo.jscript.app.IgnorePropertyDecorator
-
- All Implemented Interfaces:
PropertyDecorator
public class IgnorePropertyDecorator extends BasePropertyDecorator
Ignores a given property and doesn't output anything in the decoration. This means the property will not appear in the resulting JSON.- Author:
- Roy Wetherall
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.jscript.app.BasePropertyDecorator
jsonConversionComponent, namespaceService, nodeService, permissionService, propertyNames
-
-
Constructor Summary
Constructors Constructor Description IgnorePropertyDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.json.simple.JSONAwaredecorate(QName propertyName, NodeRef nodeRef, Serializable value)-
Methods inherited from class org.alfresco.repo.jscript.app.BasePropertyDecorator
getPropertyNames, init, setJsonConversionComponent, setNamespaceService, setNodeService, setPermissionService, setPropertyName, setPropertyNames
-
-
-
-
Method Detail
-
decorate
public org.json.simple.JSONAware decorate(QName propertyName, NodeRef nodeRef, Serializable value)
-
-