Class RunSynchronizationAction
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractAction
-
- org.neotropic.kuwaiba.modules.commercial.sync.actions.RunSynchronizationAction
-
@Component public class RunSynchronizationAction extends AbstractAction
Run Synchronization- Author:
- Mauricio Ruiz <mauricio.ruiz@kuwaiba.org>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractAction
AbstractAction.ModuleActionCallback
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_SYNC_DATA_SOURCEParameter, data source configuration.static StringPARAM_SYNC_GROUPParameter, group to be released from data source.static StringPARAM_SYNC_PROVIDERParameter, synchronization provider-
Fields inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractAction
callback, description, displayName, icon, id, order
-
-
Constructor Summary
Constructors Constructor Description RunSynchronizationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetRequiredAccessLevel()Returns the privilege needed to execute the current action.protected voidinit()booleanrequiresConfirmation()Does this action requires confirmation before executing it? This is typically true for actions that will delete or otherwise dispose of some resources.-
Methods inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractAction
getCallback, getDescription, getDisplayName, getIcon, getId, getOrder, setCallback, setDescription, setDisplayName, setIcon, setId, setOrder
-
-
-
-
Field Detail
-
PARAM_SYNC_GROUP
public static String PARAM_SYNC_GROUP
Parameter, group to be released from data source.
-
PARAM_SYNC_PROVIDER
public static String PARAM_SYNC_PROVIDER
Parameter, synchronization provider
-
PARAM_SYNC_DATA_SOURCE
public static String PARAM_SYNC_DATA_SOURCE
Parameter, data source configuration.
-
-
Method Detail
-
init
@Async @PostConstruct protected void init()
-
getRequiredAccessLevel
public int getRequiredAccessLevel()
Description copied from class:AbstractActionReturns the privilege needed to execute the current action. This access level should be matched with the permissions granted to the user and the renderer must decide if it will gray-out the action or simply not show it.- Specified by:
getRequiredAccessLevelin classAbstractAction- Returns:
- The access level needed to execute this action. See
Privilege.ACCESS_LEVEL_XXX for possible values.
-
requiresConfirmation
public boolean requiresConfirmation()
Description copied from class:AbstractActionDoes this action requires confirmation before executing it? This is typically true for actions that will delete or otherwise dispose of some resources. The consumer of the action might ignore this flag and simply execute the action.- Specified by:
requiresConfirmationin classAbstractAction- Returns:
-
-