Interface Action
-
- All Known Implementing Classes:
AddMixin,AddMultiValues,AddPageTagsAction,ChangePrimaryType,CopyPropertyToRelativePath,CopyResourceToRelativePath,CreateResource,CustomAction,DeletePageAction,DeleteProperty,DeleteResource,JoinProperty,MovePropertyToRelativePath,MoveResourceToPathRegex,MoveResourceToRelativePath,PrintJson,PrintPath,PrintProperty,RemoveMixin,RemoveMultiValues,RemovePageTagsAction,RenameProperty,RenameResource,RenderPageAction,ReorderNode,ReplaceMultiValues,ReplaceResourcePropertyValues,ReplaceResourcePropertyValuesRegex,ReplicatePageAction,ReplicateResourceAction,SetPageTagsAction,SetProperty,TreeActivatePageAction
@ProviderType public interface Action- Author:
- Roxana Muresan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringdoAction(org.apache.sling.api.resource.Resource resource)Runs an action.
-
-
-
Method Detail
-
doAction
String doAction(@Nonnull org.apache.sling.api.resource.Resource resource) throws org.apache.sling.api.resource.PersistenceException, de.valtech.aecu.api.service.AecuException
Runs an action.- Parameters:
resource- resource to run action on- Returns:
- output message
- Throws:
org.apache.sling.api.resource.PersistenceException- error saving to JCRde.valtech.aecu.api.service.AecuException- other errors
-
-