public class CI extends StatefulMbo implements CIRemote
This is a system level object.
The key attribute for this object is: CINum.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
| CIID | Unique ID |
| CINum | Authorized CI Identifier |
| Description | Description of the Authorized CI |
| Assetnum | Identifier of Asset which is the CI. |
| Location | Identifier of Location which is the CI. |
| Itemnum | Identifier of Item which is the CI. |
| Service | Identifier of Service which is the CI. |
| AssetLocOrgId | The Organization to which the CI belongs to if the CI is Asset or Location. |
| AssetLocSiteId | The Site to which the CI belongs to if the CI is Asset or Location. |
| ItemSetId | The setid to which the CI belongs to if the CI is Item or Service. |
| ClassStructureId | Classification of the CI. |
| CILocation | Location where the CI is physically located. |
| Status | Current life cycle state of the CI. |
| StatusDate | Date the CI status was last changed. |
| ACTCIID | Actual CI Identifier. |
| ChangeBy | Name of the user who last modified this CI object. This attribute defaults to the current user unless another value is provided. |
| ChangeDate | Date this CI object was last modified.This attribute defaults to the MXServer date/time unless another value is provided. |
Calnum | Calendar used to specify when this CI object is normally in operation.
|
ShiftNum | Shift Shift that is associated with the CI's calendar.
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
changeStatus
Boolean flag which indicates if CI has gone through change status functionality
Used in modify method, if gone through changestatus - there is no need to modify
changedate and changeby for parent CI
|
protected static TenantLevelObj |
changeStatusForCIs |
protected static java.lang.String |
CHANGESTATUSFORCIS_KEY |
protected java.lang.String |
sessionKey |
protected static java.util.HashSet |
skipFieldCopy
This is a static HashSet that contains the names of the fields whose values
need not be copied from the source Mbo to the target Mbo and is used only for
duplication the CI Mbo.
|
onListTab, statusChangeButtonSigoption, targetStatusOptionMULTILANGCOPY, 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 |
|---|
CI(MboSet ms)
Constructs the CI object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionOnAssetNumFld(MboRemote asset)
Handle business logic for Asset mbo when Assetnum is set on CI object.
|
void |
add()
Adds a new CI object.
|
void |
addCIToCollectDetails(java.lang.String collectionNum)
Adds CIs to Collections, on a selected list of CI's or a single CI.
|
void |
canDelete()
CI cannot be deleted for many reasons.
|
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo)
This method is overridden to add a wrapper to exceptions thrown during change status
and to write warnings whether or not the status change is successful
|
protected void |
checkAssetUniqueRule()
Check if asset is associated with any CI
|
protected void |
checkLocationUniqueRule()
Check if location is associated with any CI
|
protected void |
checkOtherApplications()
Check if the CI is refered in other applications and throw exception
|
void |
clearChangeStatusCacheForCIs() |
void |
clearChangeStatusForAllSessions() |
void |
clearClassification()
This method clears the classtructureid of the CI.
|
void |
clearStatusChangeFields()
11-17451
This method clears data that is maintained for the user that is
changing the status of a CI.
|
void |
copyCollectionToCollectDetailsSet(MboSetRemote collectionSet)
Adds CIs to one or more Collections, on a selected list of CI's or a single CI.
|
MboRemote |
createChange(java.lang.String jpnum)
creates a Workorder with WOCLASS=CHANGE from CI.
|
MboRemote |
createIncident(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Incident from CI.
|
MboRemote |
createProblem(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Problem from CI.
|
MboRemote |
createRelease(java.lang.String jpnum)
creates a Workorder with WOCLASS=RELEASE from CI.
|
MboRemote |
createServiceRequest(java.lang.String tickettemplateid)
creates a Ticket with Ticket Type = Service Request from CI.
|
void |
createTicket(MboRemote tkMbo)
Sets cinum, reportedbyid, orgid and siteid values for the ticket mbo based on CI.
|
void |
createWO(MboRemote workorderMbo)
Sets cinum, orgid ,siteid and reportedbyid values for the workorder mbo based on CI.
|
MboRemote |
createWorkorder(java.lang.String jpnum)
creates a Workorder with WOCLASS=WORKORDER from CI.
|
void |
delete(long accessModifier)
Override delete to delete this and records associated with CI
If CI is part of collections, throw warning before deleting CI and related records
|
protected void |
delete(long accessModifier,
java.util.Hashtable cisToBeDeleted,
java.util.Hashtable relationsToBeDeleted)
Delete this and records associated with CI using the ToBeDeleted hashtables.
|
protected void |
deleteAssociatedRecords(java.util.Hashtable relationsToBeDeleted)
Delete records associated with this CI
|
protected void |
deleteIfNotMarkedForDelete(MboSetRemote relatedCISet,
java.util.Hashtable relationsToBeDeleted,
java.lang.String identifier)
Delete records if not deleted by the parent ci
|
MboRemote |
duplicate()
Duplicates CI and related objects.
|
void |
generateAutoKey()
Generates an autokey value for a new CI object
|
protected void |
getChildCIsAndChangeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo)
Get immediate Child CIs for a given CI and Change status for them
|
protected void |
getChildCIsAndDelete(long accessModifier)
Get immediate Child CIs for a given CI and delete them
|
protected void |
getChildCIsAndDelete(long accessModifier,
java.util.Hashtable cisToBeDeleted,
java.util.Hashtable relationsToBeDeleted)
Get immediate Child CIs for a given CI and delete them
|
protected void |
getChildCIsAndUndelete()
Get immediate Child CIs for a given CI and delete them
|
protected void |
getChildCIsAndUndelete(java.util.Hashtable cisToBeUndeleted) |
java.lang.String |
getKeyForSession(UserInfo userInfo)
11-14751
Generates a key that is unique for this user and session.
|
MboSetRemote |
getMboSet(java.lang.String name)
Get a related MboSet for the object using the named relationship.
|
protected void |
getParentCIsAndModify(java.util.Date changedate,
java.lang.String changeby)
Get immediate Parent CIs for a given CI and modify changedate and changeby, if propagatechange flag is set for the relationrule
|
protected StatusHandler |
getStatusHandler()
Gets a status handler to change the work order status.
|
protected MboSetRemote |
getStatusHistory()
Return the cistatus object.
|
java.lang.String |
getStatusListName()
Gets the name of the value list that contains all the status's.
|
void |
init()
Initialization routine.
|
protected boolean |
isParentInSelection(CI parent) |
protected static void |
loadSkipFieldCopyHashSet()
Loads the static HashSet with the names of the fields whose values
need not be copied from the source Mbo to the duplicated Mbo when a duplicate operation
is performed.
|
protected void |
mboDelete(long accessModifier)
Only delete this CI.
|
void |
modify()
called whenever a field is modified to update the changedate and changeby attributes
|
protected java.lang.String |
partOfCollection()
Checks if ci is part of collection
Return the empty string if the ci is not part of collection , else return string of all the collections
|
protected void |
refMultiAssetLocCITables(MboSetRemote refMboSet,
java.lang.StringBuffer otherApps)
Loop through the MultiAssetLocCI table and get the uniquesid's of the tables
|
void |
save()
Saves a CI object.
|
protected void |
setCIAttributesForWO(AutoAttrUpdateRemote autoAttrUpdate)
For a given multiasset sets the ci attributes from the given autoattrupdate table
|
void |
setCIAttributesForWO(MboSetRemote autoAttrUpdateSet)
For a given multiassetlocci sets the ci attributes from the autoattrupdate table
|
void |
setLinkToActualCI(java.lang.String actcinum,
long accessModifier)
Sets the actcinum field on the CI to the specified value, using the specified access flags.
|
protected boolean |
skipCopyField(MboValueInfo mvi)
Overrides the skipCopyField() in the Mbo.
|
boolean |
statusAllowsChange()
Returns whether the business rules allow the CI to be updated in its current status.
|
void |
undelete()
Unmark the Mbo for deletion.
|
void |
undelete(java.util.Hashtable cisToBeUndeleted) |
protected void |
undeleteAssociatedRecords()
Delete records associated with this CI
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption, statusToOptionNameaddMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, 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, 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, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, 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, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, 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, 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, unlock, unselect, validate, validateAttributesprotected boolean changeStatus
protected static TenantLevelObj changeStatusForCIs
protected static final java.lang.String CHANGESTATUSFORCIS_KEY
protected java.lang.String sessionKey
protected static java.util.HashSet skipFieldCopy
CI.loadSkipFieldCopyHashSet(),
CI.skipFieldCopypublic CI(MboSet ms) throws MXException, java.rmi.RemoteException
ms - MboSetnoneMXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
init in class Mbonone - noneMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
add in interface MboRemoteadd in class Mbonone - noneMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getMboSet(java.lang.String name) throws MXException, java.rmi.RemoteException
MbogetMboSet in interface MboRemotegetMboSet in class Mboname - The relationship provided to retrieve a
related mboSet, usually using foreign keys.
For example,
"psdi.app.workorder.WOSetRemote.ASSET" is
a relationship for the work order object to
access the asset Set where
"workorder.assetnum=asset.assetnum". The relationship can
also be chained. Such as ASSET.ASSETSTATUS.MXException - "A relationship called {0} does not exist
for the {1} business object" exception
will be thrown if the relationship was not
found.
"Unknown Object" exception will be thrown
if the database object can not be
found through the relationship.java.rmi.RemoteExceptionMbo.getMboSet(String)public void save()
throws MXException,
java.rmi.RemoteException
save in class StatefulMbonone - noneMXExceptionjava.rmi.RemoteExceptionprotected boolean isParentInSelection(CI parent) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void getParentCIsAndModify(java.util.Date changedate,
java.lang.String changeby)
throws MXException,
java.rmi.RemoteException
changedate - The date the change was madechangeby - User who made the changeMXExceptionjava.rmi.RemoteExceptionpublic void modify()
throws MXException,
java.rmi.RemoteException
modify in class MboMXExceptionjava.rmi.RemoteExceptionprotected MboSetRemote getStatusHistory() throws MXException, java.rmi.RemoteException
getStatusHistory in class StatefulMboMXExceptionjava.rmi.RemoteExceptionprotected StatusHandler getStatusHandler()
getStatusHandler in class StatefulMbopublic java.lang.String getStatusListName()
getStatusListName in interface StatefulMboRemotegetStatusListName in class StatefulMboprotected static void loadSkipFieldCopyHashSet()
throws MXException,
java.rmi.RemoteException
skipFieldCopy.add("CHANGEDATE")
The following is the list of fields that are not copied from the source CI
to the duplicated CI.
These are the field names that are loaded into the HashSet.
MXExceptionjava.rmi.RemoteExceptionMbo.skipCopyField(psdi.mbo.MboValueInfo),
CI.skipCopyField(psdi.mbo.MboValueInfo),
CI.duplicate()protected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class MboThe - MboValueInfo object of the MboValue that needs to be copied.java.rmi.RemoteExceptionMXExceptionCI.loadSkipFieldCopyHashSet()public MboRemote duplicate() throws MXException, java.rmi.RemoteException
Related objects that will also be duplicated are:
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpsdi.mbo.Mbo#isAutoKeyed.protected void getChildCIsAndDelete(long accessModifier)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void getChildCIsAndDelete(long accessModifier,
java.util.Hashtable cisToBeDeleted,
java.util.Hashtable relationsToBeDeleted)
throws MXException,
java.rmi.RemoteException
accessModifier - cisToBeDeleted - List of CI that have been marked for deletionrelationsToBeDeleted - List of CIRelations that have been marked for deletionMXExceptionjava.rmi.RemoteExceptionprotected java.lang.String partOfCollection()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void refMultiAssetLocCITables(MboSetRemote refMboSet, java.lang.StringBuffer otherApps) throws MXException, java.rmi.RemoteException
refMboSet - referenced Mbo SetotherApps - StringBuffer to store the strings of the tablesMXExceptionjava.rmi.RemoteExceptionprotected void checkOtherApplications()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class MboaccessModifier - 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.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)protected void delete(long accessModifier,
java.util.Hashtable cisToBeDeleted,
java.util.Hashtable relationsToBeDeleted)
throws MXException,
java.rmi.RemoteException
accessModifier - cisToBeDeleted - List of CI that have been marked for deletionrelationsToBeDeleted - List of CIRelations that have been marked for deletionMXExceptionjava.rmi.RemoteExceptionprotected void mboDelete(long accessModifier)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void deleteIfNotMarkedForDelete(MboSetRemote relatedCISet, java.util.Hashtable relationsToBeDeleted, java.lang.String identifier) throws MXException, java.rmi.RemoteException
relatedCISet - MboSet to be deletedrelationsToBeDeleted - Hashtable that helps to not delete relations more than onceidentifier - String that identify if CIRelations or CIRelationHis will be deletedMXExceptionjava.rmi.RemoteExceptionprotected void deleteAssociatedRecords(java.util.Hashtable relationsToBeDeleted)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void getChildCIsAndChangeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo)
throws MXException,
java.rmi.RemoteException
status - The new desired status.date - The effective date of the new status.memo - A string briefly describing the circumstances of the change. The memo can be null.MXExceptionjava.rmi.RemoteExceptionpublic void changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo)
throws MXException,
java.rmi.RemoteException
changeStatus in interface CIRemotechangeStatus in interface StatefulMboRemotechangeStatus in class StatefulMbostatus - The new desired status. This is the translated status.date - The effective date of the new status.memo - A string briefly describing the circumstances of the change. The memo can be null.MXException - Thrown if there is a problem.java.rmi.RemoteExceptionStatefulMbo.changeStatus(String,java.util.Date,String,long)public void generateAutoKey()
throws java.rmi.RemoteException,
MXException
generateAutoKey in interface MboRemotegenerateAutoKey in class MboMXAccessException - CantGenAutoKey when this CI is not a newly created onejava.rmi.RemoteExceptionMXExceptionMboValue.autoKey(),
MboValue.generateUniqueID()protected void checkAssetUniqueRule()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void checkLocationUniqueRule()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void clearClassification()
throws java.rmi.RemoteException,
MXException
clearClassification in interface CIRemotejava.rmi.RemoteExceptionMXExceptionCI.clearClassification()public void copyCollectionToCollectDetailsSet(MboSetRemote collectionSet) throws MXException, java.rmi.RemoteException
copyCollectionToCollectDetailsSet in interface CIRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.ci.CI#copyCollectionsToCollectDetailsSetpublic void createTicket(MboRemote tkMbo) throws MXException, java.rmi.RemoteException
createTicket in interface CIRemoteThe - ticket mbo inserted for this location.MXExceptionjava.rmi.RemoteExceptionCI.createTicket(psdi.mbo.MboRemote)public void createWO(MboRemote workorderMbo) throws MXException, java.rmi.RemoteException
createWO in interface CIRemoteThe - workorder mbo inserted for this locationMXExceptionjava.rmi.RemoteExceptionCI.createWO(psdi.mbo.MboRemote)public void setCIAttributesForWO(MboSetRemote autoAttrUpdateSet) throws MXException, java.rmi.RemoteException
setCIAttributesForWO in interface CIRemoteautoAttrUpdateSet - autoattrupdateSet for a given workorder and assetMXExceptionjava.rmi.RemoteExceptionCI.setCIAttributesForWO(MboSetRemote)protected void setCIAttributesForWO(AutoAttrUpdateRemote autoAttrUpdate) throws MXException, java.rmi.RemoteException
autoAttrUpdate - autoattrupdate record for a attribute changeMXExceptionjava.rmi.RemoteExceptionpublic void addCIToCollectDetails(java.lang.String collectionNum)
throws MXException,
java.rmi.RemoteException
addCIToCollectDetails in interface CIRemoteMXExceptionjava.rmi.RemoteExceptionCI.addCIToCollectDetails(String collectionNum)public MboRemote createWorkorder(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createWorkorder in interface AppActionInterfacejpnum - -job plan need be apply to the new work orderMXExceptionjava.rmi.RemoteExceptionpublic MboRemote createChange(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createChange in interface AppActionInterfacejpnum - -job plan need be apply to the new work orderMXExceptionjava.rmi.RemoteExceptionpublic MboRemote createRelease(java.lang.String jpnum) throws MXException, java.rmi.RemoteException
createRelease in interface AppActionInterfacejpnum - -job plan need be apply to the new work orderMXExceptionjava.rmi.RemoteExceptionpublic MboRemote createServiceRequest(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createServiceRequest in interface AppActionInterfacetickettemplateid - - Ticket Template ID to be applied when this ticket is created.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createProblem(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createProblem in interface AppActionInterfacetickettemplateid - - Ticket Template ID to be applied when this ticket is created.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createIncident(java.lang.String tickettemplateid) throws MXException, java.rmi.RemoteException
createIncident in interface AppActionInterfacetickettemplateid - - Ticket Template ID to be applied when this ticket is created.MXExceptionjava.rmi.RemoteExceptionpublic void undelete()
throws MXException,
java.rmi.RemoteException
Mboundelete in interface MboRemoteundelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic void undelete(java.util.Hashtable cisToBeUndeleted)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void undeleteAssociatedRecords()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void getChildCIsAndUndelete()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void getChildCIsAndUndelete(java.util.Hashtable cisToBeUndeleted)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void clearChangeStatusCacheForCIs()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void clearChangeStatusForAllSessions()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void actionOnAssetNumFld(MboRemote asset) throws java.rmi.RemoteException, MXException
actionOnAssetNumFld in interface CIRemoteasset - java.rmi.RemoteExceptionMXExceptionpublic void setLinkToActualCI(java.lang.String actcinum,
long accessModifier)
throws java.rmi.RemoteException,
MXException
setLinkToActualCI in interface CIRemoteactcinum - The actcinum of the Actual CI to link the CI to.accessModifier - The access flags to use when setting the value. These are the same
flags used on Mbo.setValue(String, String, long) and are defined in psdi.mbo.MboConstants.
For no flags, specify MboConstants.NONE.java.rmi.RemoteExceptionMXException - "Field is read only" exception will be thrown
if the actcinum attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.public boolean statusAllowsChange()
throws java.rmi.RemoteException,
MXException
statusAllowsChange in interface CIRemotejava.rmi.RemoteExceptionMXExceptionpublic java.lang.String getKeyForSession(UserInfo userInfo) throws java.rmi.RemoteException, MXException
userInfo - The UserInfo for the logged in user.java.rmi.RemoteExceptionMXExceptionpublic void clearStatusChangeFields()
throws java.rmi.RemoteException,
MXException
clearStatusChangeFields in interface CIRemotejava.rmi.RemoteExceptionMXException