public class IntGenerator extends NonPersistentMbo implements IntGeneratorRemote
Modifier and Type | Field and Description |
---|---|
static MXLogger |
INTERACTIONLOGGER
Interaction logger for logging messages related to Interaction.
|
WSIO |
optimizedRequest |
WSIO |
optimizedResponse |
MULTILANGCOPY, phantomList, phantomQueue
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Constructor and Description |
---|
IntGenerator(MboSet ms)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Add new IntGenerator.
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
addRemoveID(java.lang.String id)
Add id of removed node to the map
|
void |
appValidate()
Overwitten for IntGenerator MBO.
|
void |
checkMappingObject(java.lang.String colsRelation)
Will check mapping object when it changed
param colsRelation relationship from mapping to attributes
|
java.lang.String |
createIntegrationArtifacts(java.lang.String label,
byte[] presentataion)
Create all intgration artifcts
|
MboSetRemote |
fillAttributes(MboRemote parent,
MboRemote thisMbo,
boolean removeExisting)
Return map of all attributes.
|
void |
fillObjStrUi(boolean isReq) |
java.util.Map<java.lang.String,java.lang.String> |
getExistingAttributes(MboSetRemote set,
MboRemote thisMbo)
Return map of all attributes existsing in a given set.
|
OBPGenerator |
getOBPGenerator()
Get OBP Generator object
|
OBPInfo |
getOBPInfo()
Get OBP Info object
|
java.lang.String |
getParentTbName(java.lang.String hierPath)
Get parent table name
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getRemoveMap()
Get Map with all removed id's
|
WSIO |
getWSIO()
Return WSIO object.
|
WSIOAttribute |
getWSIOAttribute()
Return WSIOAttribute object.
|
void |
init()
Initialize rountine.
|
void |
logCancel()
Log Cancel Interaction.
|
void |
logMappingStep(boolean isReq,
java.lang.String label,
java.lang.String wsioObjectName,
java.lang.String objectName,
java.lang.String objectRelationName,
java.lang.String attributeName,
java.lang.String locationPath,
java.lang.String value)
Log Mapping Steps.
|
void |
logStep(int step,
java.lang.String label)
Log Wizard Steps.
|
void |
logUISelectionStep(boolean isReq,
java.lang.String label)
Log UI generation Steps.
|
void |
logWSIOStep(boolean isReq,
java.lang.String label)
Log WSIO Steps.
|
void |
parseWSDL()
Parse WSDL to show all services ports and operations of WSDL.
|
void |
processnode(WSIOTreeSetRemote treeSet,
java.util.LinkedHashMap<java.lang.String,java.lang.String> removeMap,
boolean isRequest)
Process Individual note.
|
void |
select()
Select method for intgenerator.
|
boolean |
setPortAndOperation()
Set selected service, port and operation to the top level Mbo.
|
void |
setRequestArtifacts()
Fill all request artifacts to show on UI.
|
void |
setResponseArtifacts()
Fill all response artifacts to show on UI.
|
void |
setWSIO(WSIO in)
Sets WSIO object.
|
void |
setWSIOAttribute(WSIOAttribute inAttr)
Sets WSIOAttribute object.
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
undoAllRemove()
Undo remove of all nodes
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
undoRemove(java.lang.String id)
Undo remove of the node by id
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
undoRemoveLast()
Undo remove of the last node
|
void |
unselect()
Unselect method for intgenerator.
|
java.lang.String |
validateMappings(boolean isResponse)
Validate all mappings.
|
void |
viewOptimizedSchemaRequest(boolean fill)
Optimize schema request.
|
void |
viewOptimizedSchemaResponse(boolean fill)
Optimize schema response.
|
void |
viewSchema()
Get all schema information for selected service, port and operation.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, validate, validateAttributes
public WSIO optimizedRequest
public WSIO optimizedResponse
public static final MXLogger INTERACTIONLOGGER
public IntGenerator(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- The IntGenerator MboSet.MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void init() throws MXException
init
in class Mbo
MXException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public void parseWSDL() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean setPortAndOperation() throws MXException, java.rmi.RemoteException
setPortAndOperation
in interface IntGeneratorRemote
MXException
java.rmi.RemoteException
public void viewSchema() throws MXException, java.rmi.RemoteException
viewSchema
in interface IntGeneratorRemote
MXException
java.rmi.RemoteException
public void viewOptimizedSchemaRequest(boolean fill) throws MXException, java.rmi.RemoteException
viewOptimizedSchemaRequest
in interface IntGeneratorRemote
fill
- is UI optimized request tree need to be filledMXException
java.rmi.RemoteException
public void viewOptimizedSchemaResponse(boolean fill) throws MXException, java.rmi.RemoteException
viewOptimizedSchemaResponse
in interface IntGeneratorRemote
fill
- is UI optimized response tree need to be filledMXException
java.rmi.RemoteException
public void setRequestArtifacts() throws MXException, java.rmi.RemoteException
setRequestArtifacts
in interface IntGeneratorRemote
MXException
java.rmi.RemoteException
public void setResponseArtifacts() throws MXException, java.rmi.RemoteException
setResponseArtifacts
in interface IntGeneratorRemote
MXException
java.rmi.RemoteException
public void fillObjStrUi(boolean isReq) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void processnode(WSIOTreeSetRemote treeSet, java.util.LinkedHashMap<java.lang.String,java.lang.String> removeMap, boolean isRequest) throws MXException, java.rmi.RemoteException
processnode
in interface IntGeneratorRemote
treeSet
- WSIO tree setremoveMap
- Map of id's which need to be deletedisRequest
- request/response identifier.MXException
java.rmi.RemoteException
public void select() throws MXException, java.rmi.RemoteException
select
in interface MboRemote
select
in class Mbo
MXException
java.rmi.RemoteException
Mbo.select()
public void unselect() throws MXException, java.rmi.RemoteException
unselect
in interface MboRemote
unselect
in class Mbo
MXException
java.rmi.RemoteException
public java.lang.String validateMappings(boolean isResponse) throws MXException, java.rmi.RemoteException
validateMappings
in interface IntGeneratorRemote
isResponse
- request/Response indicatorMXException
java.rmi.RemoteException
public java.lang.String createIntegrationArtifacts(java.lang.String label, byte[] presentataion) throws MXException, java.rmi.RemoteException
createIntegrationArtifacts
in interface IntGeneratorRemote
label
- Last step label will be used for loggingMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.util.LinkedHashMap<java.lang.String,java.lang.String> addRemoveID(java.lang.String id) throws MXException, java.rmi.RemoteException
addRemoveID
in interface IntGeneratorRemote
id
- id of the node to removeMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.util.LinkedHashMap<java.lang.String,java.lang.String> undoRemove(java.lang.String id) throws MXException, java.rmi.RemoteException
undoRemove
in interface IntGeneratorRemote
id
- id of the node to removeMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.util.LinkedHashMap<java.lang.String,java.lang.String> undoAllRemove() throws MXException, java.rmi.RemoteException
undoAllRemove
in interface IntGeneratorRemote
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.util.LinkedHashMap<java.lang.String,java.lang.String> undoRemoveLast() throws MXException, java.rmi.RemoteException
undoRemoveLast
in interface IntGeneratorRemote
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.util.LinkedHashMap<java.lang.String,java.lang.String> getRemoveMap() throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic OBPInfo getOBPInfo() throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic OBPGenerator getOBPGenerator() throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.lang.String getParentTbName(java.lang.String hierPath) throws MXException, java.rmi.RemoteException
hierPath
- hierarachy pathMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void checkMappingObject(java.lang.String colsRelation) throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void setWSIO(WSIO in) throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void setWSIOAttribute(WSIOAttribute inAttr) throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic WSIO getWSIO() throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic WSIOAttribute getWSIOAttribute() throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic MboSetRemote fillAttributes(MboRemote parent, MboRemote thisMbo, boolean removeExisting) throws MXException, java.rmi.RemoteException
fillAttributes
in interface IntGeneratorRemote
parent
- Set with all attributes.thisMbo
- Target Mbo to lookup attributes.removeExisting
- remove exissting attributes.MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.util.Map<java.lang.String,java.lang.String> getExistingAttributes(MboSetRemote set, MboRemote thisMbo) throws MXException, java.rmi.RemoteException
set
- Set with all attributes.thisMbo
- Target Mbo to lookup attributes.MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void logStep(int step, java.lang.String label) throws MXException, java.rmi.RemoteException
logStep
in interface IntGeneratorRemote
step
- step level.label
- Step LabelMXException
java.rmi.RemoteException
public void logWSIOStep(boolean isReq, java.lang.String label) throws MXException, java.rmi.RemoteException
logWSIOStep
in interface IntGeneratorRemote
step
- step level.label
- Step LabelMXException
java.rmi.RemoteException
public void logMappingStep(boolean isReq, java.lang.String label, java.lang.String wsioObjectName, java.lang.String objectName, java.lang.String objectRelationName, java.lang.String attributeName, java.lang.String locationPath, java.lang.String value) throws MXException, java.rmi.RemoteException
logMappingStep
in interface IntGeneratorRemote
isReq
- request/response identifier.label
- Step LabelwsioObjectName
- WSIO Object Name LabelobjectName
- Object name LabelobjectRelationName
- Object relation LabelattributeName
- Attribute Name LabellocationPath
- Location Path Labelvalue
- Value LabelMXException
java.rmi.RemoteException
public void logCancel() throws MXException, java.rmi.RemoteException
logCancel
in interface IntGeneratorRemote
MXException
java.rmi.RemoteException
public void logUISelectionStep(boolean isReq, java.lang.String label) throws MXException, java.rmi.RemoteException
logUISelectionStep
in interface IntGeneratorRemote
isReq
- request/response identifier.label
- Step LabelMXException
java.rmi.RemoteException