public class Ticket extends StatefulMbo implements TicketRemote
This is a system level object.
The key attributes for this object are TicketId and class.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
ActLabCost | Actual Labor Cost of this ticket. |
ActLabHrs | Actual labor hours of this ticket. |
ActualFinish | Actual finish date of this ticket. |
ActualStart | Actual start date of this ticket. |
AffectedDate | Date and time when user experiences issue |
AffectedEmail | Affected User's Email |
AffectedPerson
| Person Affected by the problem/incident. |
AffectedPhone | Affected User's Phone |
Assetnum
| Asset identifier of this ticket. |
AssetOrgId | Identifier of the organization for the ticket. |
AssetSiteID
| Identifier of the site for the Asset |
ChangeBy | Name of the user who last updated this object. |
ChangeDate | Date of last change. |
InheritStatus | A Boolean field that indicates if a status can be changed on the orinating record. |
Class | Classification of Ticket that can be either a Service Request or Problem or Incident. |
commoditygroup | Commodity Groupd. |
Commodity | Commodity. |
Description | Description of the Ticket. |
Description_LongDescription | Long Description of the Ticket. |
ExternalRecID | Ticket ID for any Ticket external to MAXIMO. |
FailureCode
| Indicates top level failure code of the FailureCode of a failure hierarchy.
|
GLAccount | GLAccount associated with this ticket. |
GlobalTicketClass
| Attribute that indicates Class of the global ticket. |
GlobalTicketId
| Attribute that indicates Global ticket Id. |
HasActivity | A boolean flag that indicates whether this ticket has activities associated with it or not. |
HasChildren | A boolean flag that indicates if this ticket has children. Yes if Ticket has children, No if it has no children. |
HistoryFlag | Indicates if this record is in history. Closed tickets are in history. |
Impact | Specifies the business Impact/severity of the Ticket |
InternalPriority | Attribute that indicates the Priority of an Issue as determined by the Servoce Desk Agent |
IsGlobal
| A Boolean flag that indicates whether this ticket is a global issue or not. |
IsKownError | A Boolean flag that specifies whether this is a known issue or not. |
Location
| Asset location of this ticket. |
OrgId
| Identifier of the organization for this ticket. |
OrigRecordClass
| Attribute that identifies the class of the originating record which can be a ticket or a work order. |
OrigRecordId
| Attribute that identifies the unique indentifier of the originating record which can be a ticket or a work order. |
OrigRecOrgId
| Identifier of the organization for the originating record. |
OrigRecSiteId
| Identifier of the site for the originating record. |
Owner
| Attribute that identifies the Owner for the ticket. |
OwnerGroup
| Attribute that identifies the Owner group for the ticket. |
ProblemCode
| Reason for failure, indicates second level FailureCode of a failure
hierarchy. This value is also the first level of the ticket's failure report.
|
RelatedToGlobal
| A Boolean flag that identifier whether this ticket is related to a global Ticket or not. |
RemarkDesc
| Attribute that specifies the Failure Remark Description. |
RemarkDesc_LongDescription
| Attribute that specifies the Failure Remark Long Description. |
RemarkEnterDate
| Attribute that specifies the Date when the remark was entered. |
ReportDate | Attribute that identifies the Date when the ticket was reported. |
ReportedBy
| Attribute that identifies the Person reporting the Ticket. |
ReportedEmail
| Attribute that identifies the Email address of Person reporting the Ticket. |
ReportedPhone
| Attribute that identifies the Phone number of Person reporting the Ticket. |
ReportedPriority | Attribute that identifies the Priority of the reported ticket. |
SiteId
| Identifier of the site for this Ticket. |
SiteVisit | A Boolean flag that indicates whether a Ticket requires an on-site visit for investigation or not. |
Source | Attribute that indicates the source of ticket generation like email,web etc. |
Status | The status of the Ticket. |
StatusDate | Ticket's Status Date. |
Supervisor
| Identifier of the supervisor of ticket.
|
TargFinishDate | Target Finsh Date. |
TargStartDate | Target Start Date. |
Template | A boolean flag that identifies whether this ticket is a template or not. |
TemplateId | Attribute that identifies Template Identifier. |
TicketId | Unique identifier of a ticket for a given ticket class. |
Urgency | Attribute that identifies reflection of the speed in which a Ticket should be resolved. |
Vendor | Vendor. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CREATEWOMULTI_CHILD |
static java.lang.String |
CREATEWOMULTI_MULTI |
static java.lang.String |
CREATEWOMULTI_NONE |
static java.lang.String |
CREATEWOMULTI_TASK |
static java.lang.String |
CREATEWOMULTI_TOPLEVEL |
static java.lang.String |
MULTIASSET_SITE_ERRORKEY |
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
ADDRESSABLE_SERVICEADDRESS_REL, NPADDRESSCODE_ATTRNAME, NPADDRESSDESC_ATTRNAME, NPADDRESSLONGDESC_ATTRNAME, SERVICEADDRESS_NATIVE_RELATIONSHIPNAME
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 |
---|
Ticket(MboSet ms)
Construct the Ticket object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Sets default values for a new Ticket
|
boolean |
allowSelfServiceSolutionAccess()
Self service solution access only makes sense when this ticket is associated with an SR.
|
void |
applyAssetLoc()
Applys any changes to fields that are affected by changing the asset or location fields.
|
void |
applyAssignedOwnerGroup(java.lang.String ownergroupID)
Apply an assigned owner group to a record.
|
void |
applyOwner(java.lang.String ownerID)
Apply an owner to a record.
|
void |
applyOwnerGroup(java.lang.String ownergroupID)
Apply an ownergroup to a record.
|
void |
applyTemplate(MboRemote templateMbo)
Apply a ticket template to record.
|
void |
appValidate()
appValidate() is overriden.
|
java.lang.String |
calcGLAccount()
Sets the GL Account attribute based on the Asset/Loc attribute values.
|
void |
canDelete()
Method that checks whether a Ticket can be deleted or not.
|
void |
canEditRelatedSet(java.lang.String relationName)
Determines if a related set should be editable or not.
|
boolean |
canPropagateRepairFacility(MboRemote newWorkorder)
Says if the repair facility can be propagated to the non-task generated work orders.
|
void |
canTemplateApply() |
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
This method is overridden to support changing the status of Service Desk Tickets.
|
void |
checkMultiAssetLocCISite(java.lang.String multiAssetSite)
This method will be called from field validation of multi assetnum/locaiton and cinum.
|
void |
checkOrigIsFollowup()
Check to see if originator is a follow up //08-16025, 08-16072
|
void |
clearClassification()
This method clears the classtructureid of the ticket
|
void |
clearLinearAssetFields(MultiAssetLocCIRemote malocMbo)
Clear all the linear asset fields in the passed MultiAssetLocCI object, which should be the one associated with
this ticket...
|
void |
copyAssetsToMultiAsset(AssetSetRemote assetSetRemote)
Copies the selected Asset values to the multiassetlocci.
|
void |
copyCIsToMultiAsset(MboSetRemote ciSetRemote)
Copies the selected CI values to the multiassetlocci.
|
void |
copyCollectDetailsToMultiAsset(MboSetRemote collectionDetailsetRemote)
Copies the selected Collection detail values to the multiassetlocci.
|
void |
copyFailListToReportSet(MboSetRemote failListSet)
Copies the passed FailureList set to Failure Report set.
|
void |
copyLaborToLabTransSet(MboSetRemote laborSet)
Copies the passed labor set to labor trans set.
|
void |
copyLocationsToMultiAsset(MboSetRemote locationSetRemote)
Copies the selected Location values to the multiassetlocci.
|
void |
copyRouteStopsToMultiAsset(MboSetRemote routestopSetRemote)
Copies the selected CI values to the multiassetlocci.
|
void |
copyTicketFieldsToMultiAsset(MultiAssetLocCIRemote multiAssetMbo)
Collect the fields that need to be copied from a ticket to its MultiAssetLocCI record.
|
void |
copyTicketToRelatedRecSet(MboSetRemote TicketSet)
Copies the passed ticket set to related record set.
|
void |
copyWOToRelatedRecSet(MboSetRemote WOSet)
Copies the passed work order set to related record set.
|
java.util.Vector |
createChange()
creates a Change from any other ticket type, PROBLEM, SR or INCIDENT.
|
MboRemote |
createChange(java.lang.String jpnum)
creates a Change from any other ticket type, PROBLEM, SR or INCIDENT.
|
MboRemote |
createIncident()
creates an incident from any other ticket class, PROBLEM, SR OR INCIDENT
|
MboRemote |
createIncident(java.lang.String tickettemplateid)
creates an incident from any other ticket class, PROBLEM, SR OR INCIDENT
|
MboRemote |
createProblem() |
MboRemote |
createProblem(java.lang.String tickettemplateid)
creates a Problem from any other ticket class, INCIDENT, SR or PROBLEM
|
java.util.Vector |
createRelease()
creates a Release from any other ticket type, PROBLEM, SR or INCIDENT.
|
MboRemote |
createRelease(java.lang.String jpnum)
creates a Change from any other ticket type, PROBLEM, SR or INCIDENT.
|
MboRemote |
createServiceRequest()
Action class uses reflection to call this method, delegate to createSR This method added back as delegating
method to solve issue 07-29204
|
MboRemote |
createServiceRequest(java.lang.String tickettemplateid)
Action class uses reflection to call this method, delegate to createSR This method added back as delegating
method to solve issue 07-29204
|
MboRemote |
createSolution()
creates a Solution from any ticket class, INCIDENT, SR or PROBLEM
|
MboRemote |
createSR()
creates a Service Request from any other ticket class, PROBLEM, SR or INCIDENT
|
MboRemote |
createSR(java.lang.String tickettemplateid) |
java.util.Vector |
createWorkorder()
creates a workorder from any other ticket type, PROBLEM, SR or INCIDENT.
|
java.util.Vector |
createWorkorder(MboSetRemote targetSet,
boolean saveSet)
creates a workorder from any other ticket type, PROBLEM, SR or INCIDENT.
|
MboRemote |
createWorkorder(java.lang.String jpnum)
creates a workorder from any other ticket type, PROBLEM, SR or INCIDENT.
|
void |
delete(long accessModifier)
Method that deletes a Ticket
|
void |
doClassificationCreate(MboRemote newMbo,
MboRemote sourceMbo,
java.lang.String keyAttribute)
08-12698: copy ticketspec to ticketspec,workorderspec,solutionspec
|
MboRemote |
duplicate()
Duplicates a Ticket record.
|
void |
editHistory()
method which provides ability to edit certain fields on Tickets while they are in closed status.
|
java.lang.String |
findTkSite()
Finds siteid to be used when creating workorder, change or release from a ticket
|
MboRemote |
getActivityBasedOnWonum(java.lang.String wonum)
get woactivity mbo based on wonum attribute values.
|
java.lang.String |
getAddressString()
Return a string with the address of the current entitty.
|
MboRemote |
getAutoLocateObject()
Returns an autolocate object instance if present.
|
MboRemote |
getAutoLocateObject(AutoLocatable nextInChain)
Returns an autolocate object instance if present.
|
MboSetRemote |
getFailListForReport()
get the next level FailureList set for Failure Report.
|
java.lang.Double |
getLatitudeY()
Return a double value with the the Latitude (or Y) coordinate of the current entitty.
|
void |
getLocForAsset()
Called by the assetnum attribute to set the ticket's location to the Asset's location If the asset has a valid
location for the ticket, that location will be put on the ticket, if the location field is blank.
|
java.lang.Double |
getLongitudeX()
Return a double value with the the Longitude (or X) coordinate of the current entitty.
|
java.lang.String |
getProcess()
Gets the process for tickets.
|
java.lang.String |
getRecordMboName()
Returns the name of the Mbo if this record was in memory as the type is actually is.
|
TKServiceAddressRemote |
getServiceAddress() |
java.lang.String |
getStatusListName()
Gets the name of the value list.
|
TKServiceAddressRemote |
getTKServiceAddress()
Return the Ticket service address for the current Ticket
|
MboRemote |
getTopOriginator()
Get the top in the folloup link
|
java.lang.String[] |
getValidateOrder()
Returns a String[] of field names.
|
java.lang.String |
getWOClassDescription(java.lang.String appname) |
boolean |
hasActuals()
Determines whether this ticket has any actuals.
|
java.lang.Boolean |
hasCoords()
Check if this autolocatable object has coordinates filled (LAT,LONG)
|
boolean |
hasServiceAddress() |
void |
incrActLabCost(double incrAmount)
Adds to the ticket's actual labor cost from outside the object.
|
void |
incrActLabHrs(double incrAmount)
Adds to the ticket's actual labor hours total from outside the object.
|
void |
init()
init()
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo.
|
void |
initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
Called whenever a relationship is initialized or reset from this Mbo to another MboSet.
|
boolean |
isGISDataReadonly()
Indicate if the current GIS entity is editable or not.
|
boolean |
isTicketInEditHist()
returns true/false indicating whether the Ticket is in edit history mode or not.
|
void |
modify()
The first time a field of a Ticket object is modified, the ChangeBy & ChangeDate attributes are updated.
|
boolean |
needPopupOnStopTimer()
Checks for popup in stoptimer return true if need one
|
void |
ownership()
Allows the ability to Take Ownership of a record.
|
void |
propagateRepairFacility(MboRemote newWorkorder)
Regard the repair facility set to the workorder received as a parameter and propagates it to all non-task
generated work orders
|
MboSetRemote |
relateTickets(MboSetRemote tkSet)
Refines the Ticket Set further removing any records that may have already been related.
|
MboSetRemote |
relateWorkorders(MboSetRemote woSet)
Refines the Work Order Set further removing any records that may have already been related.
|
void |
removeFailureReport()
Remove all selected failure reports.
|
void |
saveGISData(java.lang.String address,
java.lang.String lat,
java.lang.String lng)
Implement the logic to save the GIS Data
|
void |
setLinearAssetFieldsReadOnly(MultiAssetLocCIRemote malocMbo,
boolean readonlystate)
Set the linear asset fields as a group to ReadOnly or not for the related MultiAssetLocCI record.
|
void |
setmultiassetrecord()
This method creates an entry in MultiAssetLocCi table when an asset/location/CI or TargetDescription is entered
for a ticket as a primary asset.
|
void |
setRelatedMboEditibility(java.lang.String relationName)
Checks the editability of related tables.
|
MboSetRemote |
similarTickets()
Refines the Similar ticket set to show the tickets that are within the SIMILARTICKETS relationship and that meet
the criteria of the RELATEDRECORD set.
|
void |
startTimer()
Method that will start the timer.
|
void |
stopTimer()
Method that will stop the timer.
|
MboRemote |
stopTimer(java.util.Date finishdatetime,
boolean noStopTimerPopup)
Method that will stop the timer as specified date time.
|
MboRemote |
stopTimer(java.util.Date finishdatetime,
java.util.Date startDateTime,
boolean noStopTimerPopup)
Method that will stop the timer as specified date time.
|
java.lang.String |
ticketStatus() |
void |
tkChangeMaxStatus(java.lang.String maxstatus) |
void |
updateOriginator()
update originate record
|
void |
updateReportedAndAffectedUser(java.lang.String dataAttribute,
MboRemote lookupMbo)
Updates the Reported and Affected users when the user does GoTo the Person record from the details
menu and updates the persons primary phone or primary email.
|
void |
updateServiceAddress() |
void |
updateWorkview()
update crossover fields in workview table .
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, 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, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, 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, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, 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, 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, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public static final java.lang.String MULTIASSET_SITE_ERRORKEY
public static final java.lang.String CREATEWOMULTI_NONE
public static final java.lang.String CREATEWOMULTI_CHILD
public static final java.lang.String CREATEWOMULTI_TASK
public static final java.lang.String CREATEWOMULTI_MULTI
public static final java.lang.String CREATEWOMULTI_TOPLEVEL
public Ticket(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String getProcess()
public void canTemplateApply() throws MXException, java.rmi.RemoteException
canTemplateApply
in interface TicketRemote
MXException
java.rmi.RemoteException
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void init() throws MXException
init
in class Mbo
MXException
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class Mbo
MXException
public void canEditRelatedSet(java.lang.String relationName) throws MXException, java.rmi.RemoteException
relationName
- The relationship name that got the related MboSet.MXException
java.rmi.RemoteException
public void setRelatedMboEditibility(java.lang.String relationName) throws MXException, java.rmi.RemoteException
relationName
- The relationship name of the related MboSet which need to set the read/only flag.MXException
java.rmi.RemoteException
#settings
,
#setEditibilityFlags
public void initRelationship(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
initRelationship
in class Mbo
MXException
java.rmi.RemoteException
setRelatedMboEditibility(java.lang.String)
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
java.rmi.RemoteException
public void changeStatus(java.lang.String status, java.util.Date date, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
changeStatus
in interface StatefulMboRemote
changeStatus
in class StatefulMbo
status
- The new desired status. This is the translated status (that is, the status code as it would have
been entered by a user, or valuelist.value
), not the internal status value (
valuelist.maxvalue
).date
- The effective date of the new status (java.util.Date
). If null the current date/time is
used.memo
- A string briefly describing the circumstances of the change. The memo can be null.accessModifier
- A value of NOACCESSCHECK will cause the method not to call canChangeStatus.
Callers using this flag are responsible for ensuring that they are attempting a valid status change.MXException
- Thrown if there is a problem, or the status cannot be changed, as determined by
canChangeStatus(String)
.java.rmi.RemoteException
Determines whether the Ticket can change status.
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXApplicationException
- With the key "ticket", and one of the "TicketNoDelete" keys:
TicketNoDeleteWorkFlow, TicketNoDeleteStatus, TicketNoDeleteActivity, TicketNoDeleteRelatedRec,
TicketNoDeleteOrigRec, TicketNoDeleteCommLog, TicketNoDeleteWorkLog, TicketNoDeleteGlobal and
TicketNoDeleteActualjava.rmi.RemoteException
MXException
public boolean hasActuals() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
- If ticket is marked as related to global and either globalticketid or globalticketclass is
null, then MXApplicationException("ticket", "RequireGlobalValues")java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException
java.rmi.RemoteException
Mbo.delete(long)
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
public void editHistory() throws MXException, java.rmi.RemoteException
editHistory
in interface TicketRemote
MXException
java.rmi.RemoteException
editHistory()
public boolean isTicketInEditHist() throws MXException, java.rmi.RemoteException
isTicketInEditHist
in interface TicketRemote
MXException
java.rmi.RemoteException
isTicketInEditHist()
public void startTimer() throws MXException, java.rmi.RemoteException
startTimer
in interface TicketRemote
MXException
java.rmi.RemoteException
psdi.app.labor.LabTransSet.startTimer
public void tkChangeMaxStatus(java.lang.String maxstatus) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void stopTimer() throws MXException, java.rmi.RemoteException
stopTimer
in interface TicketRemote
MXException
java.rmi.RemoteException
LabTransSet.stopTimer()
public MboRemote stopTimer(java.util.Date finishdatetime, boolean noStopTimerPopup) throws MXException, java.rmi.RemoteException
stopTimer
in interface TicketRemote
Date
- targetDateTime date and time to set finishDate and finishTime withnoStopTimerPopup
- true no need popup on stop timerMXException
java.rmi.RemoteException
LabTransSet.stopTimer()
public MboRemote stopTimer(java.util.Date finishdatetime, java.util.Date startDateTime, boolean noStopTimerPopup) throws MXException, java.rmi.RemoteException
stopTimer
in interface TicketRemote
Date
- targetDateTime date and time to set finishDate and finishTime withDate
- startDateTime date and time to set startDate and startTime withnoStopTimerPopup
- true no need popup on stop timerMXException
java.rmi.RemoteException
LabTransSet.stopTimer()
public MboRemote createIncident() throws MXException, java.rmi.RemoteException
createIncident
in interface TicketRemote
MXException
java.rmi.RemoteException
createIncident()
public MboRemote createIncident(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createIncident
in interface AppActionInterface
tickettemplateid
- Parameter that refers to a ticket template, based on which the incident is created.MXException
java.rmi.RemoteException
public MboRemote createServiceRequest() throws MXException, java.rmi.RemoteException
createServiceRequest
in interface TicketRemote
MXException
java.rmi.RemoteException
createServiceRequest()
public MboRemote createServiceRequest(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createServiceRequest
in interface AppActionInterface
tickettemplateid
- Parameter that refers to a ticket template, based on which the service request is created.MXException
java.rmi.RemoteException
public MboRemote createSR() throws MXException, java.rmi.RemoteException
createSR
in interface TicketRemote
MXException
java.rmi.RemoteException
createSR()
public MboRemote createSR(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote createProblem() throws MXException, java.rmi.RemoteException
createProblem
in interface TicketRemote
MXException
java.rmi.RemoteException
createProblem()
public MboRemote createProblem(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createProblem
in interface AppActionInterface
tickettemplateid
- Parameter that refers to a ticket template, based on which the problem is created.MXException
java.rmi.RemoteException
public MboSetRemote getFailListForReport() throws MXException, java.rmi.RemoteException
getFailListForReport
in interface TicketRemote
MXException
java.rmi.RemoteException
getFailListForReport()
public void copyFailListToReportSet(MboSetRemote failListSet) throws MXException, java.rmi.RemoteException
copyFailListToReportSet
in interface TicketRemote
failureListSet
- the failurelist set to be copied.MXException
java.rmi.RemoteException
copyFailListToReportSet(psdi.mbo.MboSetRemote)
public void removeFailureReport() throws MXException, java.rmi.RemoteException
removeFailureReport
in interface TicketRemote
MXException
java.rmi.RemoteException
removeFailureReport()
public void applyTemplate(MboRemote templateMbo) throws java.rmi.RemoteException, MXException
applyTemplate
in interface TicketRemote
java.rmi.RemoteException
MXException
psdi.app.ticket.Ticket#applyTemplate()
public java.lang.String ticketStatus() throws java.rmi.RemoteException, MXException
ticketStatus
in interface TicketRemote
java.rmi.RemoteException
MXException
ticketStatus()
public void applyOwner(java.lang.String ownerID) throws java.rmi.RemoteException, MXException
applyOwner
in interface TicketRemote
java.rmi.RemoteException
MXException
psdi.app.ticket.Ticket#applyOwner()
public void applyOwnerGroup(java.lang.String ownergroupID) throws java.rmi.RemoteException, MXException
applyOwnerGroup
in interface TicketRemote
java.rmi.RemoteException
MXException
psdi.app.ticket.Ticket#applyOwnerGroup()
public void applyAssignedOwnerGroup(java.lang.String ownergroupID) throws java.rmi.RemoteException, MXException
applyAssignedOwnerGroup
in interface TicketRemote
java.rmi.RemoteException
MXException
public void ownership() throws java.rmi.RemoteException, MXException
ownership
in interface TicketRemote
java.rmi.RemoteException
MXException
ownership()
public java.util.Vector createWorkorder() throws MXException, java.rmi.RemoteException
createWorkorder
in interface TicketRemote
MXException
java.rmi.RemoteException
createWorkorder()
public java.util.Vector createWorkorder(MboSetRemote targetSet, boolean saveSet) throws MXException, java.rmi.RemoteException
createWorkorder
in interface TicketRemote
targetSet
- saveSet
- MXException
java.rmi.RemoteException
createWorkorder(MboSetRemote, boolean)
public MboRemote createWorkorder(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createWorkorder
in interface AppActionInterface
jpnum
- Parameter that refers to a job plan, based on which the workorder is created.MXException
java.rmi.RemoteException
public java.util.Vector createChange() throws MXException, java.rmi.RemoteException
createChange
in interface TicketRemote
MXException
java.rmi.RemoteException
createChange()
public MboRemote createChange(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createChange
in interface AppActionInterface
jpnum
- Parameter that refers to a job plan, based on which the change is created.MXException
java.rmi.RemoteException
public java.util.Vector createRelease() throws MXException, java.rmi.RemoteException
createRelease
in interface TicketRemote
MXException
java.rmi.RemoteException
createRelease()
public MboRemote createRelease(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createRelease
in interface AppActionInterface
jpnum
- Parameter that refers to a job plan, based on which the release is created.MXException
java.rmi.RemoteException
public void setLinearAssetFieldsReadOnly(MultiAssetLocCIRemote malocMbo, boolean readonlystate) throws MXException, java.rmi.RemoteException
setLinearAssetFieldsReadOnly
in interface TicketRemote
MXException
java.rmi.RemoteException
public void clearLinearAssetFields(MultiAssetLocCIRemote malocMbo) throws MXException, java.rmi.RemoteException
clearLinearAssetFields
in interface TicketRemote
MXException
java.rmi.RemoteException
public MboRemote createSolution() throws MXException, java.rmi.RemoteException
createSolution
in interface TicketRemote
MXException
java.rmi.RemoteException
createSolution()
public java.lang.String findTkSite() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void incrActLabCost(double incrAmount) throws MXException, java.rmi.RemoteException
incrActLabCost
in interface TicketRemote
incrAmount
- The amount to add to ActLabCost.MXApplicationException
- HistoryNoActuals when this workorder is a history record.MXException
java.rmi.RemoteException
WO.incrActLabCost(double incrAmount, boolean isOutsideCost)
public void incrActLabHrs(double incrAmount) throws MXException, java.rmi.RemoteException
incrActLabHrs
in interface TicketRemote
incrAmount
- The amount to add to ActLabHrs.MXApplicationException
- HistoryNoActuals when this ticket is a history record.MXException
java.rmi.RemoteException
psdi.app.workorder.WO#incrActLabHrs(double incrAmount)
public void getLocForAsset() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void applyAssetLoc() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String calcGLAccount() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public MboRemote getActivityBasedOnWonum(java.lang.String wonum) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void copyTicketToRelatedRecSet(MboSetRemote TicketSet) throws MXException, java.rmi.RemoteException
copyTicketToRelatedRecSet
in interface TicketRemote
ticketSet
- the ticket set to be copied.MXException
java.rmi.RemoteException
copyTicketToRelatedRecSet(psdi.mbo.MboSetRemote)
public void copyWOToRelatedRecSet(MboSetRemote WOSet) throws MXException, java.rmi.RemoteException
copyWOToRelatedRecSet
in interface TicketRemote
WOSet
- the work order set to be copied.MXException
java.rmi.RemoteException
copyWOToRelatedRecSet(psdi.mbo.MboSetRemote)
public boolean needPopupOnStopTimer() throws MXException, java.rmi.RemoteException
needPopupOnStopTimer
in interface TicketRemote
MXException
java.rmi.RemoteException
needPopupOnStopTimer()
public void updateWorkview() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearClassification() throws java.rmi.RemoteException, MXException
clearClassification
in interface TicketRemote
java.rmi.RemoteException
MXException
clearClassification()
public MboSetRemote similarTickets() throws java.rmi.RemoteException, MXException
similarTickets
in interface TicketRemote
java.rmi.RemoteException
MXException
similarTickets()
public MboSetRemote relateTickets(MboSetRemote tkSet) throws java.rmi.RemoteException, MXException
relateTickets
in interface TicketRemote
tkSet
- Ticket Set which has been filtered by a criteria such as Affected User, Reportedby User, Commodity,
etc..java.rmi.RemoteException
MXException
psdi.app.ticket.Ticket#relateTickets(MboSet tkSet)
public MboSetRemote relateWorkorders(MboSetRemote woSet) throws java.rmi.RemoteException, MXException
relateWorkorders
in interface TicketRemote
woSet
- Work Order Set which has been filtered by a criteria such as Assetnum,Location, Commodity, etc..java.rmi.RemoteException
MXException
psdi.app.ticket.relateWorkorders(MboSetRemote woSet)
public void copyLaborToLabTransSet(MboSetRemote laborSet) throws MXException, java.rmi.RemoteException
copyLaborToLabTransSet
in interface TicketRemote
laborSet
- the labor set to be copied.MXException
java.rmi.RemoteException
copyLaborToLabTransSet(psdi.mbo.MboSetRemote)
public void updateOriginator() throws MXException, java.rmi.RemoteException
laborSet
- the labor set to be copied.MXException
java.rmi.RemoteException
public java.lang.String[] getValidateOrder()
getValidateOrder
in class Mbo
public java.lang.String getWOClassDescription(java.lang.String appname) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copyAssetsToMultiAsset(AssetSetRemote assetSetRemote) throws MXException, java.rmi.RemoteException
copyAssetsToMultiAsset
in interface TicketRemote
MXException
java.rmi.RemoteException
copyAssetsToMultiAsset(psdi.app.asset.AssetSetRemote)
public void copyLocationsToMultiAsset(MboSetRemote locationSetRemote) throws MXException, java.rmi.RemoteException
copyLocationsToMultiAsset
in interface TicketRemote
MXException
java.rmi.RemoteException
copyLocationsToMultiAsset(psdi.mbo.MboSetRemote)
public void copyCIsToMultiAsset(MboSetRemote ciSetRemote) throws MXException, java.rmi.RemoteException
copyCIsToMultiAsset
in interface TicketRemote
MXException
java.rmi.RemoteException
copyCIsToMultiAsset(psdi.mbo.MboSetRemote)
public void copyRouteStopsToMultiAsset(MboSetRemote routestopSetRemote) throws MXException, java.rmi.RemoteException
copyRouteStopsToMultiAsset
in interface TicketRemote
MXException
java.rmi.RemoteException
copyRouteStopsToMultiAsset(psdi.mbo.MboSetRemote)
public void copyCollectDetailsToMultiAsset(MboSetRemote collectionDetailsetRemote) throws MXException, java.rmi.RemoteException
copyCollectDetailsToMultiAsset
in interface TicketRemote
MXException
java.rmi.RemoteException
copyCollectDetailsToMultiAsset(psdi.mbo.MboSetRemote)
public void checkMultiAssetLocCISite(java.lang.String multiAssetSite) throws MXException, java.rmi.RemoteException
checkMultiAssetLocCISite
in interface TicketRemote
MXApplicationException("ticket","MultiAssetSiteNotSameAsTicket")
- if multiassetlocci records for a given
ticket have different site than the owner ticket.MXException
java.rmi.RemoteException
checkMultiAssetLocCISite()
public void setmultiassetrecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copyTicketFieldsToMultiAsset(MultiAssetLocCIRemote multiAssetMbo) throws MXException, java.rmi.RemoteException
copyTicketFieldsToMultiAsset
in interface TicketRemote
MXException
java.rmi.RemoteException
public MboRemote getTopOriginator() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void doClassificationCreate(MboRemote newMbo, MboRemote sourceMbo, java.lang.String keyAttribute) throws MXException, java.rmi.RemoteException
newMbo
- MXException
java.rmi.RemoteException
public boolean allowSelfServiceSolutionAccess() throws java.rmi.RemoteException, MXException
allowSelfServiceSolutionAccess
in interface TicketRemote
MXException
java.rmi.RemoteException
public void checkOrigIsFollowup() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getRecordMboName() throws java.rmi.RemoteException, MXException
Mbo
getRecordMboName
in class Mbo
java.rmi.RemoteException
MXException
public boolean canPropagateRepairFacility(MboRemote newWorkorder) throws java.rmi.RemoteException, MXException
canPropagateRepairFacility
in interface TicketRemote
newWorkorder
- java.rmi.RemoteException
MXException
canPropagateRepairFacility(MboRemote)
public void propagateRepairFacility(MboRemote newWorkorder) throws java.rmi.RemoteException, MXException
propagateRepairFacility
in interface TicketRemote
newWorkorder
- java.rmi.RemoteException
MXException
propagateRepairFacility(MboRemote)
public TKServiceAddressRemote getTKServiceAddress() throws MXException, java.rmi.RemoteException
TicketRemote
getTKServiceAddress
in interface TicketRemote
MXException
java.rmi.RemoteException
public boolean hasServiceAddress() throws MXException, java.rmi.RemoteException
hasServiceAddress
in interface AddressableMbo
MXException
java.rmi.RemoteException
public TKServiceAddressRemote getServiceAddress() throws MXException, java.rmi.RemoteException
getServiceAddress
in interface AddressableMbo
MXException
java.rmi.RemoteException
public java.lang.Double getLatitudeY() throws MXException, java.rmi.RemoteException
GISable
getLatitudeY
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.Double getLongitudeX() throws MXException, java.rmi.RemoteException
GISable
getLongitudeX
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.String getAddressString() throws MXException, java.rmi.RemoteException
GISable
getAddressString
in interface GISable
MXException
java.rmi.RemoteException
public void saveGISData(java.lang.String address, java.lang.String lat, java.lang.String lng) throws MXException, java.rmi.RemoteException
GISable
saveGISData
in interface GISable
MXException
java.rmi.RemoteException
public boolean isGISDataReadonly() throws MXException, java.rmi.RemoteException
GISable
isGISDataReadonly
in interface GISable
MXException
java.rmi.RemoteException
public void updateServiceAddress() throws MXException, java.rmi.RemoteException
updateServiceAddress
in interface TicketRemote
MXException
java.rmi.RemoteException
public MboRemote getAutoLocateObject(AutoLocatable nextInChain) throws MXException, java.rmi.RemoteException
AutoLocatable
getAutoLocateObject
in interface AutoLocatable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.Boolean hasCoords() throws MXException, java.rmi.RemoteException
GISable
hasCoords
in interface GISable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic MboRemote getAutoLocateObject() throws MXException, java.rmi.RemoteException
AutoLocatable
getAutoLocateObject
in interface AutoLocatable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void updateReportedAndAffectedUser(java.lang.String dataAttribute, MboRemote lookupMbo) throws MXException, java.rmi.RemoteException
updateReportedAndAffectedUser
in interface TicketRemote
MXException
java.rmi.RemoteException
updateReportedAndAffectedUser(java.lang.String, psdi.mbo.MboRemote)