public class PersonMediator extends AbstractMemberMediator
Constructor and Description |
---|
PersonMediator() |
Modifier and Type | Method and Description |
---|---|
protected void | clearUniqueID()
This method will clear the unique ID in the noun managed by the mediator.
|
void | close()
This method will perform cleanup on the business object mediator.
|
void | init()
This method performs initialization for the member mediator.
|
protected boolean | isPhysicalObjectSortRequired()
Check if the list of physical objects need to be sorted before passed to the data writer.
|
protected boolean | isValidateLogonIdEnable()
Whether or not to validate the logon id syntax.
|
protected boolean | isValidLogonId(java.lang.String logonId)
Answers whether or not the logon id has valid syntax
|
protected java.lang.Long | populateADDRBOOK(java.lang.String userId, boolean deleteFlag)
Populates the physical object of ADDRBOOK table from the person logical object.
|
protected java.util.List<TableDataObject> | populateADDRESS(PersonType person, java.lang.String userId, java.lang.Long addrBookId, boolean deleteFlag)
Deprecated.
|
protected java.util.List<TableDataObject> | populateADDRESS(PersonType person, java.lang.String userId, java.lang.Long addrBookId, java.lang.String selfNickname, boolean deleteFlag)
Populates the physical object of ADDRESS table from the person logical object.
|
protected TableDataObject | populateBUSPROF(PersonType person, java.lang.String userId, boolean deleteFlag)
Populates the physical object of BUSPROF table from the person logical object.
|
protected java.util.Collection<TableDataObject> | populateEMLUSRRECV(PersonType person, java.lang.String userId, boolean deleteFlag)
Populates the physical object of EMLUSRRECV table from the person logical object.
|
protected java.util.List<TableDataObject> | populateMBRREL(PersonType person, java.lang.String userId, boolean deleteFlag)
Populates the physical object of MBRREL table from the person logical object.
|
protected java.util.List<TableDataObject> | populateMBRROLE(PersonType person, java.lang.String userId, boolean deleteFlag)
Deprecated.
|
protected java.util.List<TableDataObject> | populateMBRROLE(PersonType person, java.lang.String userId, java.util.List<java.lang.Long> storeOwnerIdList, boolean deleteFlag)
Populates the physical object of MBRROLE table from the person logical object.
|
protected TableDataObject | populateMEMBER(PersonType person, java.lang.String userId, boolean deleteFlag)
Populates the physical object of MEMBER table from the person logical object.
|
protected TableDataObject | populateUSERDEMO(PersonType person, java.lang.String userId, boolean deleteFlag)
Populates the physical object of USERDEMO table from the person logical object.
|
protected TableDataObject | populateUSERPROF(PersonType person, java.lang.String userId, boolean deleteFlag)
Populates the physical object of USERPROF table from the person logical object.
|
protected TableDataObject | populateUSERREG(PersonType person, java.lang.String userId, boolean deleteFlag)
Deprecated.
|
protected TableDataObject | populateUSERREG(PersonType person, java.lang.String userId, java.lang.String logonId, boolean deleteFlag)
Populates the physical object of USERREG table from the person logical object.
|
protected TableDataObject | populateUSERS(PersonType person, boolean deleteFlag)
Deprecated.
|
protected TableDataObject | populateUSERS(PersonType person, java.lang.String logonId, boolean deleteFlag)
Populates the physical object of USERS table from the person logical object.
|
protected void | transform(java.lang.Object personNoun, boolean deleteFlag)
Transform the logical noun to list of physical objects.
|
protected boolean isPhysicalObjectSortRequired()
public void init() throws DataLoadException
protected void transform(java.lang.Object personNoun, boolean deleteFlag) throws DataLoadException
protected void clearUniqueID()
protected TableDataObject populateMEMBER(PersonType person, java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected java.util.List<TableDataObject> populateMBRROLE(PersonType person, java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected java.util.List<TableDataObject> populateMBRROLE(PersonType person, java.lang.String userId, java.util.List<java.lang.Long> storeOwnerIdList, boolean deleteFlag) throws DataLoadException
protected java.util.List<TableDataObject> populateMBRREL(PersonType person, java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateUSERS(PersonType person, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateUSERS(PersonType person, java.lang.String logonId, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateUSERREG(PersonType person, java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateUSERREG(PersonType person, java.lang.String userId, java.lang.String logonId, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateUSERDEMO(PersonType person, java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateUSERPROF(PersonType person, java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateBUSPROF(PersonType person, java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected java.util.Collection<TableDataObject> populateEMLUSRRECV(PersonType person, java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected java.lang.Long populateADDRBOOK(java.lang.String userId, boolean deleteFlag) throws DataLoadException
protected java.util.List<TableDataObject> populateADDRESS(PersonType person, java.lang.String userId, java.lang.Long addrBookId, boolean deleteFlag) throws DataLoadException
protected java.util.List<TableDataObject> populateADDRESS(PersonType person, java.lang.String userId, java.lang.Long addrBookId, java.lang.String selfNickname, boolean deleteFlag) throws DataLoadException
public void close() throws DataLoadException
This method will perform cleanup on the business object mediator. It will attempt to close all of the data writers configured for this business object mediator.
This method will flush and commit any data waiting to be persisted in the batch as well as clear the ID resolver cache.
protected boolean isValidateLogonIdEnable()
protected boolean isValidLogonId(java.lang.String logonId)