Class ExecutionResult
java.lang.Object
org.alfresco.rest.framework.jacksonextensions.ExecutionResult
Represents the result of 1 or more executions. This object will be rendered as JSON
- Author:
- Gethin James
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmbedded(Map<String, Object> embedded) Adds embeddeds object to the enclosing root objectvoidaddRelated(Map<String, Object> related) Adds related object to the enclosing root objectReturns the Map of embedded objectsReturns the Map of related objectsgetRoot()booleanIs this object and embedded entityvoidsetAnEmbeddedEntity(boolean anEmbeddedEntity) Is this object and embedded entitytoString()
-
Constructor Details
-
ExecutionResult
-
-
Method Details
-
getFilter
- Returns:
- the filter
-
getRoot
-
addEmbedded
Adds embeddeds object to the enclosing root object- Parameters:
embedded- objects to add
-
addRelated
Adds related object to the enclosing root object- Parameters:
related- objects to add
-
isAnEmbeddedEntity
public boolean isAnEmbeddedEntity()Is this object and embedded entity- Returns:
- boolean - true if it is embedded, defaults to false
-
setAnEmbeddedEntity
public void setAnEmbeddedEntity(boolean anEmbeddedEntity) Is this object and embedded entity- Parameters:
anEmbeddedEntity- - true if it is embedded, defaults to false
-
getRelated
Returns the Map of related objects- Returns:
- Map
-
getEmbedded
Returns the Map of embedded objects- Returns:
- Map
-
toString
-