Package com.adobe.aem.dermis.model
Interface IOperation
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIOperation.MethodType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHref()Gets the href of this OperationIOperation.MethodTypegetMethod()gets the method type of operationjava.lang.StringgetRel()Gets the rel of this OperationIPropertygetSchema()gets the lists of input argumentsjava.lang.StringgetSource()Gets the source of OperationIPropertygetTargetSchema()gets the type of the returned objectbooleanhasMultipleArguments()Utility method to check if operation have multiple argumentsbooleanisGenericOperation()Represent if operation is generic in nature, which means it allow FDM author to add/remove argument of operation.voidsetSource(java.lang.String source)sets the source of Operation-
Methods inherited from interface com.adobe.aem.dermis.model.IAsset
getDescription, getId, getName, getTitle
-
-
-
-
Method Detail
-
getSource
java.lang.String getSource()
Gets the source of Operation- Returns:
- the source
-
setSource
void setSource(java.lang.String source)
sets the source of Operation
-
getRel
java.lang.String getRel()
Gets the rel of this Operation- Returns:
- the rel of this Operation
-
getHref
java.lang.String getHref()
Gets the href of this Operation- Returns:
- the href of this Operation
-
getMethod
IOperation.MethodType getMethod()
gets the method type of operation- Returns:
IOperation.MethodType
-
getTargetSchema
IProperty getTargetSchema()
gets the type of the returned object- Returns:
- type of returned object
-
getSchema
IProperty getSchema()
gets the lists of input arguments
-
hasMultipleArguments
boolean hasMultipleArguments()
Utility method to check if operation have multiple arguments- Returns:
- - Returns true if operation takes more than one argument.
-
isGenericOperation
boolean isGenericOperation()
Represent if operation is generic in nature, which means it allow FDM author to add/remove argument of operation.- Returns:
- - Returns true if operation is generic.
-
-