org.filteredpush.client.jsf
Class MapperBean

java.lang.Object
  extended by org.filteredpush.client.jsf.ViewBean
      extended by org.filteredpush.client.jsf.MapperBean
All Implemented Interfaces:
java.io.Serializable

public class MapperBean
extends ViewBean
implements java.io.Serializable

A class responsible for mapping the proposed change in the annotation to the local data source through mapper/adapter/driver. Author: Lei Dou $Id$

See Also:
Serialized Form

Constructor Summary
MapperBean()
           
 
Method Summary
 void fillInByExternalService()
           
 java.lang.String getActiveLocalDatasetTab()
           
 ChooseRecordRequest getChooseRecordRequest()
           
 CorrectParameterRequest getCorrectParameterRequest()
           
 java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> getDef()
           
 boolean getIsLocalDatasetReady()
           
 java.util.List<LocalDataRecord> getLocalData()
           
 java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> getOriginalDef()
           
 java.util.List<java.lang.String> getProposedChangeItemKeys()
           
 java.lang.String[] getSelectedProposedChangeItems()
           
 java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> getSupplementKeys()
           
 SupplementRequest getSupplementRequest()
           
 UserAccessService getUserAccessService()
           
 boolean isSupplementField(java.lang.String fieldName)
           
 void populate()
           
 void prepareMapping(FPAnnotation annotation, FPUser user)
           
 void restore()
           
 void saveToDB()
           
 void setActiveLocalDatasetTab(java.lang.String tab)
           
 void setSelectedProposedChangeItems(java.lang.String[] selectedItems)
           
 void setUserAccessService(UserAccessService userAccessService)
           
 void submitParameterCorrection()
           
 void submitRecordChoice()
           
 void submitSupplement()
           
 
Methods inherited from class org.filteredpush.client.jsf.ViewBean
setMessageLocalizer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapperBean

public MapperBean()
Method Detail

getUserAccessService

public UserAccessService getUserAccessService()

setUserAccessService

public void setUserAccessService(UserAccessService userAccessService)

getProposedChangeItemKeys

public java.util.List<java.lang.String> getProposedChangeItemKeys()

prepareMapping

public void prepareMapping(FPAnnotation annotation,
                           FPUser user)

getSelectedProposedChangeItems

public java.lang.String[] getSelectedProposedChangeItems()

setSelectedProposedChangeItems

public void setSelectedProposedChangeItems(java.lang.String[] selectedItems)

populate

public void populate()

fillInByExternalService

public void fillInByExternalService()

getIsLocalDatasetReady

public boolean getIsLocalDatasetReady()

getLocalData

public java.util.List<LocalDataRecord> getLocalData()

getDef

public java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> getDef()

getOriginalDef

public java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> getOriginalDef()

getActiveLocalDatasetTab

public java.lang.String getActiveLocalDatasetTab()

setActiveLocalDatasetTab

public void setActiveLocalDatasetTab(java.lang.String tab)

restore

public void restore()

saveToDB

public void saveToDB()

getSupplementRequest

public SupplementRequest getSupplementRequest()

getSupplementKeys

public java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> getSupplementKeys()

submitSupplement

public void submitSupplement()

isSupplementField

public boolean isSupplementField(java.lang.String fieldName)

getCorrectParameterRequest

public CorrectParameterRequest getCorrectParameterRequest()

submitParameterCorrection

public void submitParameterCorrection()

getChooseRecordRequest

public ChooseRecordRequest getChooseRecordRequest()

submitRecordChoice

public void submitRecordChoice()