public class ReconAssetResult extends Mbo implements ReconAssetResultRemote
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATT_RECON_ID |
static java.lang.String |
ATT_TICKETWO_ORGID |
static java.lang.String |
ATT_TICKETWO_SITEID |
protected MXLogger |
RECONTICKET_ESC_LOGGER |
static java.lang.String |
RECONTICKET_MSG_GROUP |
static java.lang.String |
RECONTICKET_MSG_KEY_SITEID_MISSING |
static int |
TICKET_PRIORITY_DEFAULT |
static java.lang.String |
TICKET_TYPE_INCIDENT |
static java.lang.String |
TICKET_TYPE_PROBLEM |
static java.lang.String |
TICKET_TYPE_SR |
static java.lang.String |
WO_TYPE_CHANGE |
static java.lang.String |
WO_TYPE_RELEASE |
static java.lang.String |
WO_TYPE_WORKORDER |
MULTILANGCOPY, phantomList, phantomQueueALLROWS, 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 |
|---|
ReconAssetResult(MboSet ms)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyTicketTemplate(MboRemote ticketMbo,
java.lang.String tickettemplateid)
Apply ticket template
|
protected java.lang.String |
buildTicketDescription()
Build Ticket Description
|
MboRemote |
createChange(java.lang.String jobPlan)
creates a WorkOrder from Asset Recon Result.
|
MboRemote |
createIncident(java.lang.String ticketTemplateID)
creates a Ticket with Ticket Type = Incident from Asset Recon Result.
|
MboRemote |
createProblem(java.lang.String ticketTemplateID)
creates a Ticket with Ticket Type = Problem from Asset Recon Result.
|
MboRemote |
createRelease(java.lang.String jobPlan)
creates a WorkOrder from Asset Recon Result.
|
MboRemote |
createServiceRequest(java.lang.String ticketTemplateID)
creates a Ticket with Ticket Type = Service Request from Asset Recon Result.
|
void |
createTicket(MboRemote tkMbo)
Sets assetnum, reportedpriority,reportedbyid, orgid and siteid values for the ticket mbo based on asset recon result.
|
protected MboRemote |
createTicket(java.lang.String ticketType,
java.lang.String ticketTemplateID)
creates a Ticket from Asset Recon Result.
|
void |
createWO(MboRemote workorderMbo)
Sets location, wopriority,orgid ,siteid and reportedbyid values for the workorder mbo based on asset.
|
protected MboRemote |
createWO(java.lang.String WOType,
java.lang.String jpnum)
creates a WorkOrder from Asset Recon Result.
|
MboRemote |
createWorkorder(java.lang.String jobPlan)
creates a WorkOrder from Asset Recon Result.
|
void |
init()
Initialized the Mbo
|
protected void |
setTicketDefaultSiteOrg(MboRemote tkMbo)
If SiteID is null or empty, set SITEID and ORGID to default Insert Site ID from user profile.
|
void |
validateWOSiteID(MboRemote workOrderMbo)
Validate required field SiteID for WorkOrder
|
add, addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, deleteDoclinks, 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, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, save, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, 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, sigopGranted, sigOptionAccessAuthorized, skipCopyField, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, 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, getMboValueDataForDownload, 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, select, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic static int TICKET_PRIORITY_DEFAULT
public static java.lang.String TICKET_TYPE_SR
public static java.lang.String TICKET_TYPE_PROBLEM
public static java.lang.String TICKET_TYPE_INCIDENT
public static java.lang.String WO_TYPE_WORKORDER
public static java.lang.String WO_TYPE_RELEASE
public static java.lang.String WO_TYPE_CHANGE
public static java.lang.String ATT_RECON_ID
public static java.lang.String ATT_TICKETWO_SITEID
public static java.lang.String ATT_TICKETWO_ORGID
public static java.lang.String RECONTICKET_MSG_GROUP
public static java.lang.String RECONTICKET_MSG_KEY_SITEID_MISSING
protected MXLogger RECONTICKET_ESC_LOGGER
public ReconAssetResult(MboSet ms) throws java.rmi.RemoteException
ms - java.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionprotected java.lang.String buildTicketDescription()
throws MXException,
java.rmi.RemoteException
None - MXExceptionjava.rmi.RemoteExceptionpublic void createTicket(MboRemote tkMbo) throws MXException, java.rmi.RemoteException
createTicket in interface ReconAssetResultRemoteThe - ticket mbo inserted for this asset.MXExceptionjava.rmi.RemoteExceptionpublic void createWO(MboRemote workorderMbo) throws MXException, java.rmi.RemoteException
createWO in interface ReconAssetResultRemoteThe - workorder mbo inserted for this assetMXExceptionjava.rmi.RemoteExceptionprotected void applyTicketTemplate(MboRemote ticketMbo, java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
Ticket - mbotemplate - IDMXExceptionjava.rmi.RemoteExceptionprotected MboRemote createTicket(java.lang.String ticketType, java.lang.String ticketTemplateID) throws MXException, java.rmi.RemoteException
Ticket - template ID - user select a template in Action application when create an action.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createServiceRequest(java.lang.String ticketTemplateID) throws MXException, java.rmi.RemoteException
createServiceRequest in interface ReconAssetResultRemoteTicket - template ID - user select a template in Action application when create a SR action.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createProblem(java.lang.String ticketTemplateID) throws MXException, java.rmi.RemoteException
createProblem in interface ReconAssetResultRemoteTicket - template ID - user select a template in Action application when create a CREATEPROBLEM action.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createIncident(java.lang.String ticketTemplateID) throws MXException, java.rmi.RemoteException
createIncident in interface ReconAssetResultRemoteTicket - template ID - user select a template in Action application when create a CREATEINCIDENT action.MXExceptionjava.rmi.RemoteExceptionprotected MboRemote createWO(java.lang.String WOType, java.lang.String jpnum) throws MXException, java.rmi.RemoteException
Ticket - template ID - user select a job plan in Action application when create an action.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createWorkorder(java.lang.String jobPlan) throws MXException, java.rmi.RemoteException
createWorkorder in interface ReconAssetResultRemoteJob - Plan ID - user select a job plan in Action application when create an CREATEWO action.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createChange(java.lang.String jobPlan) throws MXException, java.rmi.RemoteException
createChange in interface ReconAssetResultRemoteJob - Plan ID - user select a job plan in Action application when create an CREATEWOCHANGE action.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createRelease(java.lang.String jobPlan) throws MXException, java.rmi.RemoteException
createRelease in interface ReconAssetResultRemoteJob - Plan ID - user select a job plan in Action application when create an CREATEWORELEASE action.MXExceptionjava.rmi.RemoteExceptionprotected void setTicketDefaultSiteOrg(MboRemote tkMbo) throws MXException, java.rmi.RemoteException
Ticket - or WO Mbo- - MXApplicationException("reconresults", "SiteIDIsRequired")MXExceptionjava.rmi.RemoteExceptionpublic void validateWOSiteID(MboRemote workOrderMbo) throws MXException, java.rmi.RemoteException
validateWOSiteID in interface ReconAssetResultRemoteWO - Mbo- - MXApplicationException("reconresults", "SiteIDIsRequired")MXExceptionjava.rmi.RemoteException