Package com.adobe.aem.dermis.model
Interface IOperation
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IOperation.MethodType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getHref()
Gets the href of this OperationIOperation.MethodType
getMethod()
gets the method type of operationjava.lang.String
getRel()
Gets the rel of this OperationIProperty
getSchema()
gets the lists of input argumentsjava.lang.String
getSource()
Gets the source of OperationIProperty
getTargetSchema()
gets the type of the returned objectboolean
hasMultipleArguments()
Utility method to check if operation have multiple argumentsboolean
isGenericOperation()
Represent if operation is generic in nature, which means it allow FDM author to add/remove argument of operation.void
setSource(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.
-
-