pt.digitalis.dif.dem.managers
Interface ICustomFormManager

All Known Implementing Classes:
CustomFormManagerDummyImpl

public interface ICustomFormManager

This feature manages form configurations by the user, either a general configurations or a specific instance configuration (associated with a business key provided by the developer. i.e. a custom form for each account)

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
29/01/2014

Method Summary
 ICustomFormDefinition getConfiguration(IStageInstance stageInstance, String businessConfigurationID)
          Reads from the underlying repository the current form customized configuration
 ICustomFormDefinition getConfiguration(String stageID, String formName, String businessConfigurationID)
          Reads from the underlying repository the current form customized configuration
 void updateConfiguration(ICustomFormDefinition definition)
          Updates the given form configuration in the underlying repository
 

Method Detail

getConfiguration

ICustomFormDefinition getConfiguration(IStageInstance stageInstance,
                                       String businessConfigurationID)
Reads from the underlying repository the current form customized configuration

Parameters:
stageInstance - the current stage instance from where the form submited will be infered
businessConfigurationID - the business form instance ID
Returns:
the current configuration for the given form

getConfiguration

ICustomFormDefinition getConfiguration(String stageID,
                                       String formName,
                                       String businessConfigurationID)
Reads from the underlying repository the current form customized configuration

Parameters:
stageID - the form stage ID
formName - the form name
businessConfigurationID - the business form instance ID
Returns:
the current configuration for the given form

updateConfiguration

void updateConfiguration(ICustomFormDefinition definition)
Updates the given form configuration in the underlying repository

Parameters:
definition - the form definition to save


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.