public class OrganizationMediator extends AbstractMemberMediator
Constructor and Description |
---|
OrganizationMediator() |
Modifier and Type | Method and Description |
---|---|
protected void | clearUniqueID()
This method will clear the unique ID in the noun managed by the 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 | isValidateOrgNameEnable()
Whether or not to validate the organization name syntax.
|
protected boolean | isValidOrgName(java.lang.String orgName)
Answers whether or not the organization name has valid syntax
|
protected java.lang.Long | populateADDRBOOK(java.lang.String orgEntityId, boolean deleteFlag)
Populates the physical object of ADDRBOOK table from the organization logical object.
|
protected java.util.List<TableDataObject> | populateADDRESS(OrganizationType organization, java.lang.String orgEntityId, java.lang.Long addrBookId, boolean deleteFlag)
Populates the physical object of ADDRESS table from the organization logical object.
|
protected java.util.List<TableDataObject> | populateMBRREL(OrganizationType organization, java.lang.String orgEntityId, boolean deleteFlag)
Populates the physical object of MBRREL table from the organization logical object.
|
protected TableDataObject | populateMEMBER(OrganizationType organization, java.lang.String orgEntityId, boolean deleteFlag)
Populates the physical object of MEMBER table from the organization logical object.
|
protected TableDataObject | populateORGENTITY(OrganizationType organization, boolean deleteFlag)
Populates the physical object of ORGENTITY table from the organization logical object.
|
protected void | transform(java.lang.Object organizationNoun, 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 organizationNoun, boolean deleteFlag) throws DataLoadException
protected void clearUniqueID()
protected TableDataObject populateMEMBER(OrganizationType organization, java.lang.String orgEntityId, boolean deleteFlag) throws DataLoadException
protected java.util.List<TableDataObject> populateMBRREL(OrganizationType organization, java.lang.String orgEntityId, boolean deleteFlag) throws DataLoadException
protected TableDataObject populateORGENTITY(OrganizationType organization, boolean deleteFlag) throws DataLoadException
protected java.lang.Long populateADDRBOOK(java.lang.String orgEntityId, boolean deleteFlag) throws DataLoadException
protected java.util.List<TableDataObject> populateADDRESS(OrganizationType organization, java.lang.String orgEntityId, java.lang.Long addrBookId, boolean deleteFlag) throws DataLoadException
protected boolean isValidateOrgNameEnable()
protected boolean isValidOrgName(java.lang.String orgName)