public class PlusCDS extends StatefulMbo implements PlusCDSRemote
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CANDELETEPOINTAPPR
The Constant CANDELETEPOINTAPPR.
|
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 |
|---|
PlusCDS(MboSet ms)
Instantiates a new plus cds.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
This is called when a new Mbo is added to the Mboset collection.
|
void |
addPlusCDSConfig()
Adds the plus cds config.
|
void |
appValidate()
Pre-save validation method.
|
java.lang.String[] |
bulkCopyAcrossSite(java.util.Vector selectedDS,
java.lang.String toSiteId)
Bulk copy across site.
|
void |
canDelete()
Can the object be deleted ?
This is object specific and should be overridden.
|
void |
canReviseDataSheet()
Checks if a new revison can be created from the current data sheet.
|
void |
changeStatus(java.lang.String newStatus,
java.util.Date date,
java.lang.String memo)
Change status.
|
void |
checkStatus()
Check the status of the DataSheet before any row is add to it's set obejct.
|
void |
childHasChanged()
Child has changed.
|
MboRemote |
copyAcrossSite(MboSetRemote mboset,
java.lang.String toSiteId)
TODO:.
|
void |
copyAssets(MboSetRemote assetset)
Copy asset set to datasheet work asset.
|
MboRemote |
copyDSInstrAndPoints(MboRemote newDS)
Copy ds instr and points.
|
void |
copyItems(MboSetRemote itemset)
Copy item set to datasheet work asset.
|
void |
copyLocations(MboSetRemote locationset)
Copy location set to datasheet work asset.
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
MboRemote |
duplicate()
Duplicate method only throws exception now
|
MboRemote |
duplicateforRevise(boolean isRevising)
Duplicatefor revise.
|
java.lang.String |
getStatusListName()
Return the name of the value list which contains the list of status's.
|
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
void |
initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
Called whenever a relationship is initialized or reset from this Mbo to another MboSet.
|
MboRemote |
reviseDataSheet(java.lang.String revDescription)
Diego Moreira - Issue #14574
Creates a new revision of the current Data Sheet.
|
void |
save()
Overrides the save of Mbo so that a row is added to the status history
table when a new object is saved.
|
void |
undelete()
Unmark the Mbo for deletion.
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, 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, 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, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, 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, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, 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, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, 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, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, 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, 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, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributespublic static final java.lang.String CANDELETEPOINTAPPR
public PlusCDS(MboSet ms) throws MXException, java.rmi.RemoteException
ms - the msMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic void addPlusCDSConfig()
throws java.rmi.RemoteException,
MXException
PlusCDSRemoteaddPlusCDSConfig in interface PlusCDSRemotejava.rmi.RemoteException - the remote exceptionMXException - the mX exceptionpublic void init()
throws MXException
Mboinit in class MboMXExceptionpublic void initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
throws MXException,
java.rmi.RemoteException
MboinitRelationship in class MboMXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
Mboadd in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
MbocanDelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
Mbodelete 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)public void undelete()
throws MXException,
java.rmi.RemoteException
Mboundelete in interface MboRemoteundelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic MboRemote duplicate() throws MXException, java.rmi.RemoteException
Mboduplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpublic MboRemote duplicateforRevise(boolean isRevising) throws MXException, java.rmi.RemoteException
isRevising - the is revisingMXException - the mX exceptionjava.rmi.RemoteException - Duplicate a DS, depending on isRevising variable, it will apply or not a revision on the duplicated DS.public MboRemote copyDSInstrAndPoints(MboRemote newDS) throws MXException, java.rmi.RemoteException
newDS - the new dsMXException - the mX exceptionjava.rmi.RemoteException - Copies the AF and CalPoints to a DS passed as parameter.public java.lang.String getStatusListName()
StatefulMbogetStatusListName in interface StatefulMboRemotegetStatusListName in class StatefulMbopublic void copyLocations(MboSetRemote locationset) throws java.rmi.RemoteException, MXException
copyLocations in interface PlusCDSRemotelocationset - locationset will copy to datasheet work assetjava.rmi.RemoteException - the remote exceptionMXException - the mX exceptioncopyLocations(psdi.mbo.MboSetRemote)public void copyAssets(MboSetRemote assetset) throws java.rmi.RemoteException, MXException
copyAssets in interface PlusCDSRemoteassetset - assetset will copy to datasheet work assetjava.rmi.RemoteException - the remote exceptionMXException - the mX exceptioncopyAssets(psdi.mbo.MboSetRemote)public void copyItems(MboSetRemote itemset) throws java.rmi.RemoteException, MXException
copyItems in interface PlusCDSRemoteitemset - itemset will copy to datasheet work assetjava.rmi.RemoteException - the remote exceptionMXException - the mX exceptioncopyItems(psdi.mbo.MboSetRemote)public MboRemote copyAcrossSite(MboSetRemote mboset, java.lang.String toSiteId) throws MXException, java.rmi.RemoteException
copyAcrossSite in interface PlusCDSRemotemboset - TODO:toSiteId - TODO:MXException - TODO:java.rmi.RemoteException - TODO:copyAcrossSite(psdi.mbo.MboSetRemote, java.lang.String)public java.lang.String[] bulkCopyAcrossSite(java.util.Vector selectedDS,
java.lang.String toSiteId)
throws MXException,
java.rmi.RemoteException
bulkCopyAcrossSite in interface PlusCDSRemoteselectedDS - TODO:toSiteId - TODO:MXException - TODO:java.rmi.RemoteException - TODO:bulkCopyAcrossSite(java.util.Vector, java.lang.String)public void changeStatus(java.lang.String newStatus,
java.util.Date date,
java.lang.String memo)
throws MXException,
java.rmi.RemoteException
changeStatus in interface StatefulMboRemotechangeStatus in class StatefulMbonewStatus - the new statusdate - the datememo - the memoMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpsdi.plusc.app.pluscds.PlusCDSStatusHandler.approvepublic MboRemote reviseDataSheet(java.lang.String revDescription) throws MXException, java.rmi.RemoteException
reviseDataSheet in interface PlusCDSRemoterevDescription - the rev descriptionMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptioncanReviseDataSheetpublic void canReviseDataSheet()
throws MXException,
java.rmi.RemoteException
MXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic void save()
throws MXException,
java.rmi.RemoteException
StatefulMboMXExceptionjava.rmi.RemoteExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
MboappValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic void checkStatus()
throws MXException,
java.rmi.RemoteException
checkStatus in interface PlusCDSRemoteMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic void childHasChanged()
throws MXException,
java.rmi.RemoteException
PlusCDSRemotechildHasChanged in interface PlusCDSRemoteMXException - the mX exceptionjava.rmi.RemoteException - the remote exception