public class Mbo extends java.lang.Object implements MboRemote, MboConstants, MaxRemoteProxy
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MULTILANGCOPY
Bulletin Board signal to copy all language versions
|
static java.util.Set<MboCounter> |
phantomList |
static java.lang.ref.ReferenceQueue |
phantomQueue |
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Modifier and Type | Method and Description |
---|---|
void |
add()
This is called when a new Mbo is added to the Mboset collection.
|
void |
addMboSetForRequiredCheck(MboSetRemote mboSet)
Adds the related MboSet to a list that will be used to check for required fields without a value
when the top most mboset is saved.
|
void |
addToDeleteForInsertList(java.lang.String mboName)
Add name of child mbo to the DeleteForInsert list.
|
boolean |
andEvaluateConditions(DataRestrictionCache.RestrictionBundle restrictions)
Evaluate a bundle of restrictions.
|
void |
appValidate()
Pre-save validation method.
|
MboRemote |
blindCopy(MboSetRemote mboset)
Adds a new mbo to the set passed in and copies all the information for each
of the fields into the new mbo.
|
void |
canDelete()
Can the object be deleted ?
This is object specific and should be overridden.
|
void |
checkFieldAccess(long accessModifier)
Check field access for the entire object.
|
void |
checkMethodAccess(java.lang.String methodName)
Check if the method name is available.
|
void |
checkMethodAccess(java.lang.String methodName,
long accessModifier)
Check if the method name is available.
|
void |
checkQualifiedRestriction()
Check whether the to be saved record is qualified by the QUALIFIED data restriction
if any.
|
void |
checkSiteOrgAccessForSave()
Checks for access to siteid or orgid, and for conditional sigoption
for optionnames INSERT, DELETE, and/or SAVE.
|
void |
clear()
Clears out any references to other MBOs
|
MboRemote |
copy()
Adds a new mbo to this set and copies the values from the
current record into the new one.
|
MboRemote |
copy(MboSetRemote mboset)
Adds a new mbo to the set passed in and copies the information for each
of the fields into the new mbo from this.
|
MboRemote |
copy(MboSetRemote mboset,
long mboAddFlags)
Adds a new mbo to the set passed in and copies the information for each
of the fields into the new mbo from this.
|
MboRemote |
copyFake(MboSetRemote mboset)
Adds a fake mbo to the set passed in and copies theinformation for each of the fields into
the new mbo from this.
|
void |
copyValue(MboRemote sourceMbo,
java.lang.String[] attrSource,
java.lang.String[] attrTarget,
long flags)
This method will copy the given values of multiple source attributes to
multiple target attributes. 1. |
void |
copyValue(MboRemote sourceMbo,
java.lang.String attrSource,
java.lang.String attrTarget,
long flags)
This method will copy value of source attribute to target attribute
1. |
MboRemote |
createComm()
Create a communication log associated with the current Mbo.
|
void |
delete()
Mark the object to be deleted with all the normal security checks.
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
java.util.List<ERMAttributeError> |
determineRequiredFieldsFromERM(java.util.Collection<ERMAttribute> attributes,
int mboVectorIndex)
Using the passed in list of ERMAttributes, this method will obtain a complete list of required
fields that need a value for this mbo.
|
MboRemote |
duplicate()
Duplicate method only throws exception now
|
void |
enableMethod(java.lang.String methodName,
boolean state)
Enable/disable a certain method name
|
boolean |
evaluateCondition(java.lang.String conditionNum)
Evaluate to true or false the given single condition by the condition number.
|
boolean |
evaluateCondition(java.lang.String conditionNum,
boolean logErrorOnly)
Evaluate to true or false the given single condition by the condition number.
|
java.util.HashMap<java.lang.String,java.util.TreeMap<java.lang.Integer,java.lang.String[]>> |
evaluateCtrlConditions(java.util.HashSet options) |
java.util.HashMap<java.lang.String,java.util.TreeMap<java.lang.Integer,java.lang.String[]>> |
evaluateCtrlConditions(java.util.HashSet options,
java.lang.String app)
Evaluate conditions for a given set of option names.
|
boolean |
evaluateRestriction(DataRestriction restriction)
Evaluate the restriction by its ID.
|
boolean |
excludeObjectForPropagate(java.lang.String name)
Check if the object is exclude from propagation
|
java.util.List<ERMAttributeError> |
findAllNullRequiredFields(java.util.Collection<ERMAttribute> attributes,
int mboIndex)
Returns a list of ERMAttributeError for each required attribute with a null value.
|
void |
fireEvent(java.lang.String type)
fires events for the different types of events for all business objects
The possible different types are - validate, preSaveEventAction, eventAction,
postCommitEventAction
|
void |
generateAutoKey()
This method has the mbo generate a unique identifier for itself.
|
void |
generateContentUID()
Provide the contentuid.
|
BitFlag |
getAlwaysFlags(java.lang.String attr)
Returns the access flag that apply to the attribute of all the records in the set unconditionally.
|
BitFlag |
getAttrRestrictionFlag(java.lang.String attr)
Get the bit flag set by the attribute restriction.
|
DataRestrictionCache.RestrictionBundle |
getAttrRestrictions(int levelRequested,
java.lang.String attr)
Returns an array list of the attribute restrictions of the requested restriction level that applies to the
attribute.
|
boolean |
getBoolean(java.lang.String attributeName)
Retrieves the boolean value of the attribute identified by name
within the current object.
|
byte |
getByte(java.lang.String attributeName)
Retrieves an attribute value identified by name within the current object
|
byte[] |
getBytes(java.lang.String attributeName)
Retrieves an attribute value identified by name within the current object
|
boolean |
getCheckpoint() |
java.util.Locale |
getClientLocale()
Helper to get the locale of the client previously set for collection
|
java.util.TimeZone |
getClientTimeZone()
Helper to get the time zone of the client previously set for collection
|
java.lang.Object[] |
getCommLogOwnerNameAndUniqueId()
Retuns an object array of owner object name and uniqueid so that commlog can set
in the commlog table.
|
MaxCondition |
getCondition(java.lang.String conditionNum)
Get the MaxCondition object by the condition id.
|
java.lang.Object |
getDatabaseValue(java.lang.String attributeName)
Returns the value of the column at the time of databse fetch.
|
java.util.Date |
getDate(java.lang.String attributeName)
Retrieves the date value of the attribute identified by name
within the current object.
|
java.util.Vector<java.lang.String> |
getDeleteForInsertList()
Returns the list of deleteForInsert mbo names.
|
int |
getDocLinksCount()
This method recursively traverse the doclinks tree of an object, and count the total number
of attached documents related to it.
|
java.lang.String |
getDomainFilterWhere(java.lang.String filterKeyword)
Get the domain filter where based on the filter keyword which contains the attribute name.
|
java.lang.String[] |
getDomainIDs(java.lang.String attr)
Returns an array of all domain ids linked to the field.
|
double |
getDouble(java.lang.String attributeName)
Retrieves the double value of the attribute identified by name
within the current object.
|
MboSetRemote |
getExistingMboSet(java.lang.String relationship)
Get a related MboSet for the object using the named relationship only if the the MboSet
already exists.
|
int |
getFetchIndex()
Returns the fetch index.
|
java.util.Hashtable<java.lang.String,MXException> |
getFieldExceptions()
Return the hashtable of field Exceptions
|
long |
getFlags()
Deprecated.
Replaced by isFlagSet(flag)
|
float |
getFloat(java.lang.String attributeName)
Retrieves the float value of the attribute identified by name
within the current object.
|
boolean |
getIgnoreLockCheck() |
MaxType |
getInitialValue(java.lang.String attributeName) |
java.lang.String |
getInsertCompanySetId()
Returns the default company set id to be applied to a new mbo.
|
java.lang.String |
getInsertItemSetId()
Returns the default item set id to be applied to a new mbo.
|
java.lang.String |
getInsertOrganization()
Returns the default orgid to be applied to a new mbo.
|
java.lang.String |
getInsertSite()
Returns the default site to be applied to a new mbo.
|
MboSetRemote |
getInstanciatedMboSet(java.lang.String relationshipName)
Returned a MboSet with the specified relationship name.
|
MboValue |
getInstanciatedMboValue(java.lang.String name)
Return a MboValue object given the name, but only if it has been instanciated
Returns null if no MboValue has been create with that name.
|
int |
getInt(java.lang.String attributeName)
Retrieves the integer value of the attribute identified by name
within the current object.
|
ServiceRemote |
getIntegrationService()
Convenience Method for getting the IntegrationServiceRemote.
|
KeyValue |
getKeyValue()
Get the key value of this object
|
long[] |
getLanguageRecordRowStamp()
Get the array of language rowstamp values.
|
java.lang.String |
getLinesRelationship() |
MboSetRemote |
getList(java.lang.String attribute)
Get the list of valid values for the attribute.
|
java.lang.String |
getLockedByDisplayName()
Returns the display name of the user who has this Mbo locked
|
java.lang.String |
getLockedByUserID()
Returns the userid of the user who has this Mbo locked
|
long |
getLong(java.lang.String attributeName)
Retrieves the long value of the attribute identified by name
within the current object.
|
java.lang.String |
getMatchingAttr(java.lang.String attribute)
Get the attribute in the lookup table which matches the specified
attribute of this MBO.
|
java.lang.String |
getMatchingAttr(java.lang.String sourceObjectName,
java.lang.String attribute)
Get the attribute in the lookup table which matches the specified
attribute of this MBO.
|
java.lang.Object[] |
getMatchingAttrs(java.lang.String sourceName,
java.lang.String targetAttr)
This method retieves the lookup attribute mapping from the lookup source table
to the target table by looking at the MAXLOOKUPMAP table if the mapping is
specified there.
|
MaxMessage |
getMaxMessage(java.lang.String errGrp,
java.lang.String errKey)
Get the MaxMessage object for the specified error group and errorkey.
|
MboData |
getMboData(java.lang.String[] attributes)
Return a MboData object for the specified list of attributes.
|
java.util.Vector<MboRemote> |
getMboDataSet(java.lang.String relationship)
Returns a set of Mbos using the dot notation relationships.
|
MboRemote |
getMboForAttribute(java.lang.String attributeName)
Take a attribute name (which may have a .
|
MboRemote |
getMboForAttributeStatic(java.lang.String attributeName)
Take a attribute name (which may have a .
|
MaxType |
getMboInitialValue(java.lang.String name)
Returns the MaxType (initial value) object given the column name.
|
java.util.List<MboRemote> |
getMboList(java.lang.String mrp) |
MXLogger |
getMboLogger()
Returns a logger to log messages related to this business object.
|
psdi.mbo.MboRecordData |
getMboRecordData()
Returns the mbo record data as obtained from the database
|
MboServerInterface |
getMboServer()
Helper function to return the MboServer of the owning collection
|
MboSetRemote |
getMboSet(java.lang.String name)
Get a related MboSet for the object using the named relationship.
|
MboSetRemote |
getMboSet(java.lang.String name,
java.lang.String objectName)
Create or retrieve an MboSet.
|
MboSetRemote |
getMboSet(java.lang.String name,
java.lang.String objectName,
java.lang.String relationship)
Retrieve the named(1st parameter) Mboset if it has been instanciated
or create a new MboSet using the name(1st parameter) if it has not
been instanciated.
|
MboSetInfo |
getMboSetInfo(java.lang.String mboName)
Return information about the passed object
|
MboValue |
getMboValue(java.lang.String nameInput)
Return a MboValue object given the name.
|
MboValueData |
getMboValueData(java.lang.String attribute)
Returns the MboValueData for the specified attribute.
|
MboValueData[] |
getMboValueData(java.lang.String[] attribute)
Returns an array of MboValue objects for the specified attributes.
|
MboValueData |
getMboValueData(java.lang.String attribute,
boolean ignoreFieldFlags)
Overloaded method of getMboValueData() to take a flag indicating if the logic
of attribute readonlyness can be ignored.
|
MboValueInfoStatic |
getMboValueInfoStatic(java.lang.String attribute)
Get MboValueInfoStatic object of the attribute.
|
MboValueInfoStatic[] |
getMboValueInfoStatic(java.lang.String[] attribute)
Get a list of MboValueInfoStatic for an array of attributes.
|
java.lang.String |
getMessage(MXException ex)
Get the message of the exception in the language specified by this Mbo's userInfo.
|
java.lang.String |
getMessage(java.lang.String errGrp,
java.lang.String errKey)
Get the message in the language specified by this MboSet's userInfo for the
error group and error key.
|
java.lang.String |
getMessage(java.lang.String errGrp,
java.lang.String errKey,
java.lang.Object param)
Get the message for the error group, error key and the parameter in the language of
this Mbo's userInfo.
|
java.lang.String |
getMessage(java.lang.String errGrp,
java.lang.String errKey,
java.lang.Object[] params)
Get the message for the error group, error key and the parameter in the language of
this Mbo's userInfo.
|
MXTransaction |
getMXTransaction()
Return the MXTransaction that this Mbo participates in.
|
java.lang.String |
getName()
Return the name
|
java.lang.String |
getOrgForGL(java.lang.String lookupAttr)
returns OrgId to be used for GL
|
java.lang.String |
getOrgSiteForMaxvar(java.lang.String maxvarName)
Returns org or site for getting maxvar
|
MboRemote |
getOwner()
Return the owner of mbo
|
ProfileRemote |
getProfile()
Return the profile object for this UserInfo.
|
boolean |
getPropagateKeyFlag()
method for getting the propagate key flag
|
java.rmi.Remote |
getProxy() |
java.lang.String |
getRecordIdentifer()
Generate a string text composed of object name, key names and values to identify the
MBO object.
|
java.lang.String |
getRecordMboName()
Returns the name of the Mbo if this record was in memory as the type is actually is.
|
java.lang.String |
getRelatedWhere()
Get the where clause for all the related objects that have had a Qbe set on them.
|
java.lang.String |
getRelatedWhere(java.lang.String alias)
Get the where clause for all the related objects that have had a Qbe set on them.
|
java.lang.String |
getRelationshipNameToLangTable(java.lang.String attributeName) |
BitFlag |
getRowRestrictionFlag()
Get the bit flag set by the attribute restriction.
|
java.lang.String |
getRowStamp()
Returns the string representation of the rowstamp.
|
MXLogger |
getSecurityLogger()
Returns a logger to log security messages related to this business object.
|
java.lang.String[] |
getSiteOrg()
Find the org and site ids of current record.
|
MXLogger |
getSqlLogger()
Returns a logger to log SQL messages related to this business object.
|
java.lang.String |
getString(java.lang.String attributeName)
Retrieves the string value of the attribute identified by name
within the current object.
|
java.lang.String |
getString(java.lang.String attributeName,
java.lang.String langCode)
Get the string of the attribute in the specified language.
|
java.lang.String |
getStringInBaseLanguage(java.lang.String attributeName)
Get the base language of a certain attribute
|
java.lang.String |
getStringInSpecificLocale(java.lang.String attribute,
java.util.Locale l,
java.util.TimeZone tz)
Get the string of the value in a specific locale and timezone.
|
java.lang.String |
getStringTransparent(java.lang.String attributeName,
java.lang.String langCode)
Returns the string in the specified language code if exists.
|
static java.lang.String |
getSynonymValueWhere(java.lang.String filterKeyword)
Get a list of synonym values that can be used in the sql by the keyword.
|
int |
getTenantId(java.lang.String tableName) |
MboSetRemote |
getThisMboSet()
Return the set that owns this Mbo
|
Translate |
getTranslator()
Return the translator object which can be used to convert
locale sensitive strings
|
java.lang.String |
getUniqueIdentifer()
Returns the UniqueIdName and UniqueIdVlaue concaenated as a string and delimited by a space.
|
java.lang.String |
getUniqueIDName()
returns the unique ID name
|
long |
getUniqueIDValue()
Gets the unique ID value
|
UserInfo |
getUserInfo()
Return the user info for the mbo
|
java.lang.String |
getUserName()
Return user name logged into server
|
java.lang.String[] |
getValidateOrder()
Returns a String[] of field names.
|
boolean |
hasFieldAccess(long accessModifier)
Check field access for the entire object.
|
boolean |
hasHierarchyLink()
method for getting if mbo has any hierarchy link or not
|
boolean |
hasLockSaveRights(java.lang.String app) |
boolean |
hasRelatedQbe()
Do t he related MboSets have a Qbe ?
|
boolean |
hasUniqueID()
If this MBO has a UniqueID column or not.
|
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
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 |
isAutoKeyed(java.lang.String attributeName)
Returns whether the given attribute name is autokeyed or not
whenever a new mbo is created.
|
boolean |
isBasedOn(java.lang.String objectName)
Returns true, if this business object is based on the given
business object name.
|
boolean |
isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName,
java.lang.String attributeName)
Indicate whether the changeed by user flag should be set to the attribute when it is set along with other key field
when the lookup attribute is being set on this Mbo.
|
boolean |
isEAuditFieldModified()
Indicates whether any of the fields enabled for electronic audit
are modified by the user.
|
boolean |
isESigFieldModified()
Indicates whether any of the fields enabled for electronic signature
are modified by the user.
|
boolean |
isFlagSet(long flag)
Return the state of the specified mbo flag
|
boolean |
isForDM() |
boolean |
isLocked() |
boolean |
isLocked(boolean cache) |
boolean |
isLockedByMe() |
boolean |
isMasterTenant(java.lang.String tableName) |
boolean |
isMboLockedByMe()
Checks if the current MBO is locked by this Session.
|
boolean |
isModified()
Has the data in the object been changed?
An object is modified if one or more of its attributes have been changed.
|
boolean |
isModified(java.lang.String attribute)
Has the data in the attribute changed?
An attribute is modified if data is changed through one of the setValue methods.
|
boolean |
isNew()
Returns whether the mbo is new or not.
|
boolean |
isNull(java.lang.String attributeName)
Determines whether the attribute value identified by name within the
current object is null.
|
boolean |
isOptionGranted(java.lang.String app,
java.lang.String option)
Is the given option granted for the app
|
boolean |
isSelected()
Returns whether the mbo is marked for selection.
|
boolean |
isSkipCopyField(MboValueInfo mvi) |
boolean |
isValid()
Is this a valid object ?
|
boolean |
isZombie()
Returns whether the Mbo is a Zombie mbo or not.
|
void |
lock(boolean lockNow) |
void |
modify()
This called whenever a change is made to the attributes of a MBO.
|
void |
moveFieldFlagsToMboValue(MboValue mv)
Internal method to move the flags set for the field on the Mbo to the mbovalue.
|
boolean |
needCallInitFieldFlag(java.lang.String attrName)
This method will be called everytime when a field flag is requested for this
attribute after the initial calling to method initFieldFalg(String) on the
MBO.
|
boolean |
orEvaluateConditions(DataRestrictionCache.RestrictionBundle restrictions)
Evaluate the restrictions according to a OR logic.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Method for propagating key value.
|
boolean |
removeRelatedSet(MboSetRemote relatedSet) |
void |
rollbackToCheckpoint()
Reverts to the saved value.
|
void |
select()
Marks the mbo selected.
|
void |
setAppDefaultValue()
method for setting the default app value for a mbo(appfielddefault table)
|
void |
setApplicationError(java.lang.String attribute,
ApplicationError appError)
This method will set the passed in ApplicationError on the MboValue associated
this the passed in attribute.
|
void |
setApplicationRequired(java.lang.String attribute,
boolean required)
This method will set the application required boolen flag on the MboValue associated
this the passed in attribute.
|
void |
setAutokeyFields()
Methods to set the autokey to the autokey fields.
|
void |
setCopyDefaults()
Programmer should override this method a initialize any fields that are not copied correctly by the
copy() method.
|
void |
setDefaultValue()
method for setting the default value for a mbo(screen default)
|
void |
setDefaultValues()
method for setting the jsp field default values for a mbo
|
void |
setDeleted(boolean deleted)
Marks the Mbo as Deleted.
|
void |
setEAuditFieldModified(boolean eAuditFieldModified)
Sets whether any of the fields enabled for electronic audit
are modified by the user.
|
void |
setESigFieldModified(boolean eSigFieldModified)
Sets whether any of the fields enabled for electronic signature
are modified by the user.
|
void |
setFetchIndex(int index)
Sets the fetch index.
|
void |
setFieldFlag(java.lang.String[] names,
boolean inclusive,
long flag,
boolean state)
For the specified fields, set the flag to a state if inclusive
Else set all other fields in this Mbo to a state if exclusive
This does not instanciate a MboValue so should be used whenever possible.
|
void |
setFieldFlag(java.lang.String[] names,
boolean inclusive,
long flag,
boolean state,
MXException mxe)
For the specified fields, set the flag to a state if inclusive
Else set all other fields in this Mbo to a state if exclusive
This does not instanciate a MboValue so should be used whenever possible.
|
void |
setFieldFlag(java.lang.String[] names,
long flag,
boolean state)
For the specified fields, set the flag to a state.
|
void |
setFieldFlag(java.lang.String[] names,
long flag,
boolean state,
MXException mxe)
For the specified fields, set the flag to a state.
|
void |
setFieldFlag(java.lang.String name,
long flag,
boolean state)
For the specified field, set the flag to a state.
|
void |
setFieldFlag(java.lang.String name,
long flag,
boolean state,
MXException mxe)
For the specified field, set the flag to a state.
|
void |
setFieldFlags(java.lang.String name,
long flags)
Deprecated.
Replaced by setFieldFlag(name, flag, state)
|
void |
setFlag(long flag,
boolean state)
Set the Mbo flags to the specified values.
|
void |
setFlag(long flag,
boolean state,
MXException mxe)
Set the Mbo flags to the specified values.
|
void |
setFlags(long flags)
Deprecated.
Replaced by setFlag(flag, state)
|
void |
setForDM(boolean forDM) |
void |
setHierarchyLink(boolean flag)
method for setting the Hierarchy link
|
void |
setIgnoreRecordLockCheck(boolean ignoreRecordLock)
Set to ignore record lock check
|
void |
setLangCodeDefault() |
void |
setMLValue(java.lang.String attributeName,
java.lang.String langCode,
java.lang.String value,
long accessModifier)
Set the values by the specific lang code.
|
void |
setModified(boolean modified)
Marks the Mbo as Modified.
|
void |
setNewMbo(boolean flag)
Turns on a flag to indicate that this is a new Mbo.
|
void |
setPropagateKeyFlag(boolean flag)
method for setting the propagate key flag
|
void |
setPropagateKeyFlag(java.lang.String[] objectName,
boolean flag)
methos to set objectnames to exclude from propagation
|
void |
setProxy(java.rmi.Remote proxy) |
void |
setReadonlyWhenParentIsReadonly(java.lang.String relationshipName,
MboSetRemote mboSet,
boolean flag)
This method should be called in initRelationship() if the passed mbo set is not going to
set to readonly if the parent Mbo is readonly.
|
void |
setReferencedMbo(java.lang.String token,
Mbo refMbo) |
void |
setReferencedMbo(java.lang.String token,
MboRemote refMbo)
We need this methods to keep track of the Process like WorkflowInstance
|
void |
setUniqueIDValue()
Sets the unique column Value
|
void |
setValue(java.lang.String attributeName,
boolean val)
Sets a boolean value to an attribute identified by name within the current
object and access to the value is controlled by the access modifier.
|
void |
setValue(java.lang.String attributeName,
boolean val,
long accessModifier)
Sets a boolean value to an attribute identified by name within the current
object.
|
void |
setValue(java.lang.String attributeName,
byte val)
Sets a byte value to an attribute identified by name within the current
object.
|
void |
setValue(java.lang.String attributeName,
byte[] val)
Sets an array of byte values to an attribute identified by name within
the current object.
|
void |
setValue(java.lang.String attributeName,
byte[] val,
long accessModifier)
Sets an array of byte values to an attribute identified by name within the
current object and access to the value is controlled by the access
modifier.
|
void |
setValue(java.lang.String attributeName,
byte val,
long accessModifier)
Sets a byte value to an attribute identified by name within the current
object and access to the value is controlled by the access modifier.
|
void |
setValue(java.lang.String attributeName,
java.util.Date val)
Sets a date value to an attribute identified by name within the current
object.
|
void |
setValue(java.lang.String attributeName,
java.util.Date val,
long accessModifier)
Sets a java.util.Date value to an attribute identified by name within the
current object and access to the value is controlled by the access modifier.
|
void |
setValue(java.lang.String attributeName,
double val)
Sets a double value to an attribute identified by name within the
current object.
|
void |
setValue(java.lang.String attributeName,
double val,
long accessModifier)
Sets a double value to an attribute identified by name within the current
object and access to the value is controlled by the access modifier.
|
void |
setValue(java.lang.String attributeName,
float val)
Sets a float value to an attribute identified by name within the current
object.
|
void |
setValue(java.lang.String attributeName,
float val,
long accessModifier)
Sets a float value to an attribute identified by name within the current
object and access to the value is controlled by the access modifier.
|
void |
setValue(java.lang.String attributeName,
int val)
Sets an integer value to an attribute identified by name within the current
object.
|
void |
setValue(java.lang.String attributeName,
int val,
long accessModifier)
Sets an integer value to an attribute identified by name within the
current object and access to the value is controlled by the access modifier.
|
void |
setValue(java.lang.String attributeName,
long val)
Sets a long value to an attribute identified by name within the
current object.
|
void |
setValue(java.lang.String attributeName,
long val,
long accessModifier)
Sets a long value to an attribute identified by name within the current
object and access to the value is controlled by the access modifier.
|
void |
setValue(java.lang.String attributeName,
MaxType mboValue,
long accessModifier)
Set the value based on the MaxType object passed in.
|
void |
setValue(java.lang.String targetAttrName,
MboRemote sourceMbo)
This method set the related fields of the current record to the values of
the corresponding key field of the sourceMbo.
|
void |
setValue(java.lang.String targetAttrName,
MboSetRemote sourceMboSet)
This method set the related fields of the current record to the values of
the corresponding key field of the current Mbo of sourceMboSet.
|
void |
setValue(java.lang.String attributeName,
short val)
Sets a short value to an attribute identified by name within the
current object.
|
void |
setValue(java.lang.String attributeName,
short val,
long accessModifier)
Sets a short value to an attribute identified by name within the
current object and access to the value is controlled by the access
modifier.
|
void |
setValue(java.lang.String attributeName,
java.lang.String val)
Sets a string value to an attribute identified by name within the current
object.
|
void |
setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
Sets a string value to an attribute identified by name within the current
object and access to the value is controlled by the access modifier.
|
void |
setValueFromSequence(java.lang.String attributeName)
Sets the attribute value from maxsequence or native sequence (depending on platform).
|
void |
setValueNull(java.lang.String attributeName)
Sets an attribute value identified by name null with no access modifiers.
|
void |
setValueNull(java.lang.String attributeName,
long accessModifier)
Sets an attribute value identified by name within the current object to null using
the specified access modifiers.
|
java.util.HashMap<java.lang.String,java.lang.Boolean> |
sigopGranted(java.util.Set optionnames)
Identify whether sigoptions have been granted,
based on this app, this Mbo's siteid/orgid, and
any conditions that may have been attached to the
applicationauth record.
|
boolean |
sigopGranted(java.lang.String optionname)
Identify whether this sigoption has been granted,
based on this app, this Mbo's siteid/orgid, and
any conditions that may have been attached to the
applicationauth record.
|
boolean |
sigopGranted(java.lang.String app,
java.lang.String optionname)
Identify whether this sigoption has been granted,
based on this app, this Mbo's siteid/orgid, and
any conditions that may have been attached to the
applicationauth record.
|
void |
sigOptionAccessAuthorized(java.lang.String optionname)
Calls
sigopGranted to check for security permission
for the specified optionname. |
MboSetRemote |
smartFill(java.lang.String attribute,
java.lang.String value,
boolean exact)
Similar to getList().
|
MboSetRemote |
smartFind(java.lang.String attribute,
java.lang.String value,
boolean exact)
Similar to getList().
|
MboSetRemote |
smartFind(java.lang.String appName,
java.lang.String attribute,
java.lang.String value,
boolean exact)
Find a set of records of the object of the specified the application
by the specifyed attribute and value of the current record.
|
MboSetRemote |
smartFindByObjectName(java.lang.String sourceObj,
java.lang.String targetAttrName,
java.lang.String value,
boolean exact)
Find a set of records of the object of the specified the application
by the specifyed attribute and values of the current record.
|
MboSetRemote |
smartFindByObjectName(java.lang.String sourceObj,
java.lang.String targetAttrName,
java.lang.String value,
boolean exact,
java.lang.String[][] cachedKeyMap)
Find a set of records of the object of the specified the application
by the specifyed attribute and values of the current record.
|
MboSetRemote |
smartFindByObjectNameDirect(java.lang.String sourceObj,
java.lang.String targetAttrName,
java.lang.String value,
boolean exact)
Find a set of records of the object of the specified the application
by the specifyed attribute and values of the current record.
|
void |
startCheckpoint()
Save the current value for later rollback.
|
boolean |
thisToBeUpdated()
Is the Mbo to be updated in storage ?
|
boolean |
toBeAdded()
Is the Mbo to added to storage ?
|
boolean |
toBeDeleted()
Is the Mbo to be deleted from storage ?
|
boolean |
toBeSaved()
Does the object need to be saved to persistent storage ?
This will also check linked objects.
|
boolean |
toBeUpdated()
Is the Mbo to be updated in storage ?
|
boolean |
toBeValidated()
Does the object need validating ?
This will also check linked objects.
|
void |
undelete()
Unmark the Mbo for deletion.
|
void |
unlock(boolean unlockNow)
Unlocks the current MBO if recordlocking is enabled by the system property
|
void |
unselect()
Marks the mbo unselected
|
boolean |
useDataSecurity(java.lang.String group) |
void |
validate()
Validate the object.
|
java.util.Hashtable<java.lang.String,java.lang.Exception> |
validateAttributes()
Go through the attributes of this Mbo in the order specified by
getValidateOrder().
|
void |
validateKeyUniqueness()
Check whether the combination of primary keys are unique.
|
void |
valueChanged()
A field value has changed.
|
public static final java.lang.String MULTILANGCOPY
public static java.util.Set<MboCounter> phantomList
public static java.lang.ref.ReferenceQueue phantomQueue
public Mbo(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public void setProxy(java.rmi.Remote proxy)
setProxy
in interface MaxRemoteProxy
public java.rmi.Remote getProxy()
getProxy
in interface MaxRemoteProxy
public psdi.mbo.MboRecordData getMboRecordData()
public void setNewMbo(boolean flag) throws java.rmi.RemoteException
public java.lang.String getStringInBaseLanguage(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getStringInBaseLanguage
in interface MboRemote
MXException
java.rmi.RemoteException
getStringInBaseLanguage(java.lang.String)
public java.lang.String getString(java.lang.String attributeName, java.lang.String langCode) throws MXException, java.rmi.RemoteException
getString
in interface MboRemote
attributeName
- langCode
- MXException
java.rmi.RemoteException
getString(String attributeName, String langCode)
public java.lang.String getStringTransparent(java.lang.String attributeName, java.lang.String langCode) throws MXException, java.rmi.RemoteException
getStringTransparent
in interface MboRemote
attributeName
- langCode
- MXException
java.rmi.RemoteException
getStringTransparent(String attributeName, String langCode)
public void setMLValue(java.lang.String attributeName, java.lang.String langCode, java.lang.String value, long accessModifier) throws MXException, java.rmi.RemoteException
setMLValue
in interface MboRemote
attributeName
- langCode
- MXException
java.rmi.RemoteException
setMLValue(String attributeName, String langCode, String value, long accessModifier)
public java.lang.String getRelationshipNameToLangTable(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.Object getDatabaseValue(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getDatabaseValue
in interface MboRemote
MXException
java.rmi.RemoteException
public void setFetchIndex(int index)
public int getFetchIndex()
public void setModified(boolean modified)
setModified
in interface MboRemote
public void setDeleted(boolean deleted)
setDeleted
in interface MboRemote
public java.lang.String getName()
public java.lang.String getRecordMboName() throws java.rmi.RemoteException, MXException
MXException
java.rmi.RemoteException
public MboRemote getOwner()
public MboSetRemote getThisMboSet()
getThisMboSet
in interface MboRemote
public UserInfo getUserInfo() throws java.rmi.RemoteException
getUserInfo
in interface MboRemote
java.rmi.RemoteException
public void init() throws MXException
MXException
public boolean hasUniqueID()
public java.lang.String getUniqueIdentifer() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getLockedByDisplayName() throws java.rmi.RemoteException, MXException
getLockedByDisplayName
in interface MboRemote
java.rmi.RemoteException
MXException
public java.lang.String getLockedByUserID()
public void initRelationship(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setReadonlyWhenParentIsReadonly(java.lang.String relationshipName, MboSetRemote mboSet, boolean flag)
relationshipName
- mboSet
- flag
- true if the child set needs to be set to readonly when parent is, false otherwise.public java.util.Locale getClientLocale()
public java.util.TimeZone getClientTimeZone()
public MboValue getMboValue(java.lang.String nameInput) throws MXException
MXException
getMboValue(String)
public void moveFieldFlagsToMboValue(MboValue mv)
public MboValue getInstanciatedMboValue(java.lang.String name)
public MaxType getMboInitialValue(java.lang.String name) throws MXException, java.rmi.RemoteException
getMboInitialValue
in interface MboRemote
MXException
java.rmi.RemoteException
public MboSetRemote getInstanciatedMboSet(java.lang.String relationshipName)
@TracePrimary public MboValueData getMboValueData(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getMboValueData
in interface MboRemote
attributeName
- The attribute name within the current object.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getMboValueData(String)
@TracePrimary public MboValueData getMboValueData(java.lang.String attribute, boolean ignoreFieldFlags) throws MXException, java.rmi.RemoteException
getMboValueData
in interface MboRemote
attribute
- ignoreFieldFlags
- MXException
java.rmi.RemoteException
@TracePrimary public MboValueData[] getMboValueData(java.lang.String[] attribute) throws MXException, java.rmi.RemoteException
getMboValueData
in interface MboRemote
attributeName
- The array of attribute names within the
current object.MXException
java.rmi.RemoteException
getMboValueData(String[])
public MboData getMboData(java.lang.String[] attributes)
getMboData
in interface MboRemote
@TracePrimary public MboValueInfoStatic getMboValueInfoStatic(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getMboValueInfoStatic
in interface MboRemote
MXException
java.rmi.RemoteException
getMboValueInfoStatic(String)
@TracePrimary public MboValueInfoStatic[] getMboValueInfoStatic(java.lang.String[] attribute) throws MXException, java.rmi.RemoteException
getMboValueInfoStatic
in interface MboRemote
attribute
- arrayMXException
java.rmi.RemoteException
getMboValueInfoStatic(String[])
public MboRemote getMboForAttribute(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getMboForAttributeStatic(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getList(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getList
in interface MboRemote
attributeName
- The attribute name within the current object.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getList(String)
@TracePrimary public MboSetRemote smartFill(java.lang.String attribute, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFill
in interface MboRemote
attribute
- value
- The QBE value to narrow down the lookup.MXException
java.rmi.RemoteException
getList(java.lang.String)
@TracePrimary public MboSetRemote smartFind(java.lang.String attribute, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFind
in interface MboRemote
attribute
- value
- The QBE value to narrow down the lookup.MXException
java.rmi.RemoteException
getList(java.lang.String)
@TracePrimary public MboSetRemote smartFind(java.lang.String appName, java.lang.String attribute, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFind
in interface MboRemote
MXException
java.rmi.RemoteException
smartFind(String, String, String, boolean)
public MboSetRemote smartFindByObjectName(java.lang.String sourceObj, java.lang.String targetAttrName, java.lang.String value, boolean exact, java.lang.String[][] cachedKeyMap) throws MXException, java.rmi.RemoteException
smartFindByObjectName
in interface MboRemote
MXException
java.rmi.RemoteException
public MboSetRemote smartFindByObjectNameDirect(java.lang.String sourceObj, java.lang.String targetAttrName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFindByObjectNameDirect
in interface MboRemote
MXException
java.rmi.RemoteException
public MboSetRemote smartFindByObjectName(java.lang.String sourceObj, java.lang.String targetAttrName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFindByObjectName
in interface MboRemote
MXException
java.rmi.RemoteException
public java.lang.String getString(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getString
in interface MboRemote
attributeName
- The attribute name within the current object.
Valid data types for the attribute include
UPPPER,LOWER,GL,ALN,LONGALN,DURATION,
DATE,DATETIME,TIME,YORN,INTEGER,SMALLINT,BIGINT,
AMOUNT,DECIMAL,and FLOAT.MXException
- "Invalid Data Type" exception will be thrown if
the attribute is of datatype other than
UPPPER,LOWER,GL,ALN,LONGALN,DURATION,
DATE,DATETIME,TIME,YORN,INTEGER,SMALLINT,BIGINT,
AMOUNT,DECIMAL,or FLOAT.
"Attribute {0}" does not exist exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getString(String)
public boolean getBoolean(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getBoolean
in interface MboRemote
attributeName
- The attribute name within the current object.
Valid data types for the attribute should be
YORN.MXException
- "Invalid Data Type" exception will be thrown if
the attribute is of datatype other than YORN.
"Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getBoolean(String)
public byte getByte(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getByte
in interface MboRemote
MXException
java.rmi.RemoteException
public int getInt(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getInt
in interface MboRemote
attributeName
- The attribute name within the current object.
Valid data types for the attribute include
INTEGER,SMALLINT,BIGINT,DECIMAL,FLOAT,DURATION,and
AMOUNT.MXException
- "Invalid Data Type" exception will be thrown if
the attribute is of data type other than
INTEGER,SMALLINT,BIGINT,DECIMAL,FLOAT,DURATION,or
AMOUNT.
"Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getInt(String)
public long getLong(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getLong
in interface MboRemote
attributeName
- The attribute name within the current object.
Valid data types for the attribute include
INTEGER,SMALLINT,BIGINT,DECIMAL,FLOAT,DURATION,and
AMOUNT.MXException
- "Invalid Data Type" exception will be thrown if
the attribute is of datatype other than
INTEGER,SMALLINT,BIGINT,DECIMAL,FLOAT,DURATION,or
AMOUNT.
"Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getLong(String)
public float getFloat(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getFloat
in interface MboRemote
attributeName
- The attribute name within the current object.
Valid data types for the attribute include
DECIMAL,FLOAT,DURATION,AMOUNT,INTEGER,BIGINT,and
SMALLINT.MXException
- Invalid Data Type exception will be thrown if
the attribute is of datatype other than
DECIMAL,FLOAT,DURATION,AMOUNT,INTEGER,BIGINT,or
SMALLINT.
Attribute {0} does not exist exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getFloat(String)
public double getDouble(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getDouble
in interface MboRemote
attributeName
- The attribute name within the current object.
Valid data types for the attribute include
DECIMAL,FLOAT,DURATION,AMOUNT,INTEGER,BIGINT,and
SMALLINT.MXException
- "Invalid Data Type" exception will be thrown if
the attribute is of datatype other than
DECIMAL,FLOAT,DURATION,AMOUNT,INTEGER,BIGINT,and
SMALLINT.
"Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getDouble(String)
public java.util.Date getDate(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getDate
in interface MboRemote
attributeName
- The attribute name within the current object.
Valid data types for the attribute should be
DATETIME,DATE,TIME.MXException
- "Invalid Data Type" exception will be thrown if
the attribute is of datatype other than
DATETIME,DATE,TIME.
"Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
getDate(String)
public byte[] getBytes(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getBytes
in interface MboRemote
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, java.lang.String val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The string value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a string value of characters to an
attribute which has datatype of YORN.java.rmi.RemoteException
setValue(String,String,long)
public void setValue(java.lang.String attributeName, MaxType mboValue, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- mboValue
- accessModifier
- MXException
java.rmi.RemoteException
setValue(String,MaxType,long)
public void setValue(java.lang.String attributeName, java.lang.String val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The string value to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,String,long)
public void setValue(java.lang.String attributeName, boolean val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The boolean value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a boolean value to an
attribute which has datatype of FLOAT.java.rmi.RemoteException
setValue(String,boolean)
public void setValue(java.lang.String attributeName, boolean val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The boolean value to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,boolean,long)
public void setValue(java.lang.String attributeName, byte val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The byte value to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,byte,long)
public void setValue(java.lang.String attributeName, byte val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The byte value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a byte value to an attribute
which has datatype of DATETIME.java.rmi.RemoteException
setValue(String,byte,long)
public void setValue(java.lang.String attributeName, int val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The integer value to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,int,long)
public void setValue(java.lang.String attributeName, int val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The integer value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting an integer value to an
attribute which has datatype of YORN or
DATETIME.java.rmi.RemoteException
setValue(String,int,long)
public void setValue(java.lang.String attributeName, float val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The float value to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,float,long)
@TracePrimary public void setValue(java.lang.String attributeName, float val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The float value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a float value to an
attribute which has data type of YORN or
DATETIME.java.rmi.RemoteException
setValue(String,float,long)
public void setValue(java.lang.String attributeName, byte[] val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The array of byte values to set to the
attribute.MXException
java.rmi.RemoteException
setValue(String,byte[],long)
public void setValue(java.lang.String attributeName, byte[] val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The array of byte values to set to the
attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a byte value to an attribute
which has datatype of DATETIME.java.rmi.RemoteException
setValue(String,byte[],long)
public void setValue(java.lang.String attributeName, java.util.Date val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The date value to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,java.util.Date,long)
public void setValue(java.lang.String attributeName, java.util.Date val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The java.util.Date value to set to the
attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a Date value to an
attribute which has datatype of YORN.java.rmi.RemoteException
setValue(String,java.util.Date,long)
public void setValue(java.lang.String attributeName, short val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The short values to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,short,long)
public void setValue(java.lang.String attributeName, short val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The short value to set to the
attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a short value to an attribute
which has datatype of DATETIME.java.rmi.RemoteException
setValue(String,short,long)
public void setValue(java.lang.String attributeName, long val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The long values to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,long,long)
public void setValue(java.lang.String attributeName, long val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The long value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a long value to an
attribute which has data type of YORN or
DATETIME.java.rmi.RemoteException
setValue(String,long,long)
public void setValue(java.lang.String attributeName, double val) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The double values to set to the attribute.MXException
java.rmi.RemoteException
setValue(String,double,long)
public void setValue(java.lang.String attributeName, double val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
attributeName
- The attribute name within the current object.val
- The double value to set to the attribute.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a double value to an
attribute which has data type of YORN or
DATETIME.java.rmi.RemoteException
setValue(String,double,long)
public boolean isNull(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
isNull
in interface MboRemote
attributeName
- The attribute name within the current object.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteException
isNull(String)
public void setValueNull(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
setValueNull
in interface MboRemote
attributeName
- The attribute name within the current object.MXException
java.rmi.RemoteException
setValueNull(String,long)
public void setValueNull(java.lang.String attributeName, long accessModifier) throws MXException, java.rmi.RemoteException
setValueNull
in interface MboRemote
attributeName
- The attribute name within the current object.accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.java.rmi.RemoteException
setValueNull(String,long)
public KeyValue getKeyValue() throws MXException, java.rmi.RemoteException
getKeyValue
in interface MboRemote
MXException
java.rmi.RemoteException
public java.lang.String getRecordIdentifer() throws MXException, java.rmi.RemoteException
getRecordIdentifer
in interface MboRemote
MXException
java.rmi.RemoteException
psdi.mbo.Mbo#getRecordIdentifier(String attributeName, String langCode, String value, long accessModifier)
public boolean isAutoKeyed(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
isAutoKeyed
in interface MboRemote
MXException
java.rmi.RemoteException
public MboSetRemote getMboSet(java.lang.String name, java.lang.String objectName) throws MXException, java.rmi.RemoteException
getMboSet
in interface MboRemote
name
- The name caller would like to associate with
the MboSet about to be retrieved/created.objectName
- The database object which should be queried
using any provided where clause.MXException
- "Unknown Object" exception will be thrown
if the passed object does not exist.java.rmi.RemoteException
getMboSet(String,String)
@TracePrimary public MboSetRemote getMboSet(java.lang.String name, java.lang.String objectName, java.lang.String relationship) throws MXException, java.rmi.RemoteException
getMboSet
in interface MboRemote
name
- The name caller would like to associate with
the MboSet about to be retrieved/created.objectName
- The database object which should be queried
using any provided where clause.relationship
- The where clause to be applied to reset the
mboSet of interest.MXException
- "Unknown Object" exception will be thrown
if the passed object does not exist.java.rmi.RemoteException
getMboSet(String,String,String)
public MboSetRemote getMboSet(java.lang.String name) throws MXException, java.rmi.RemoteException
getMboSet
in interface MboRemote
name
- 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.RemoteException
getMboSet(String)
public java.util.Vector<MboRemote> getMboDataSet(java.lang.String relationship) throws java.rmi.RemoteException, MXException
getMboDataSet
in interface MboRemote
mbo
- The mbo to fetch the related MboSet from.relationship
- The dot notation relationships.java.rmi.RemoteException
MXException
psdi.mbo.Mbo#getMboDataSet(MboRemote, String)
public boolean isValid()
public boolean isZombie()
public void setForDM(boolean forDM) throws java.rmi.RemoteException
public boolean isForDM() throws java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
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
delete(long)
public void delete() throws MXException, java.rmi.RemoteException
Please note that if you need to apply application specific rules when an object is being deleted, please overwrite method delete(long) instead of this one in the derived class.
delete
in interface MboRemote
MXException
java.rmi.RemoteException
delete(long)
public void canDelete() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void undelete() throws MXException, java.rmi.RemoteException
undelete
in interface MboRemote
MXException
java.rmi.RemoteException
public boolean toBeDeleted()
toBeDeleted
in interface MboRemote
public boolean toBeAdded()
public boolean isNew() throws java.rmi.RemoteException
public boolean toBeUpdated() throws java.rmi.RemoteException
toBeUpdated
in interface MboRemote
java.rmi.RemoteException
public boolean thisToBeUpdated() throws java.rmi.RemoteException
thisToBeUpdated
in interface MboRemote
java.rmi.RemoteException
public boolean isModified()
isModified
in interface MboRemote
isModified()
public boolean isModified(java.lang.String attribute) throws MXException, java.rmi.RemoteException
isModified
in interface MboRemote
MXException
java.rmi.RemoteException
public void setESigFieldModified(boolean eSigFieldModified) throws java.rmi.RemoteException
setESigFieldModified
in interface MboRemote
java.rmi.RemoteException
public boolean isESigFieldModified()
public void setEAuditFieldModified(boolean eAuditFieldModified) throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean isEAuditFieldModified()
public boolean toBeValidated() throws java.rmi.RemoteException
toBeValidated
in interface MboRemote
java.rmi.RemoteException
public boolean toBeSaved() throws java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public final void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboRemote
MXException
java.rmi.RemoteException
validateAttributes()
,
getValidateOrder()
,
throwRequiredException(psdi.util.MXException, psdi.mbo.MboValueInfo, psdi.mbo.MboValue)
,
appValidate()
public void checkQualifiedRestriction() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean orEvaluateConditions(DataRestrictionCache.RestrictionBundle restrictions) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean useDataSecurity(java.lang.String group) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean andEvaluateConditions(DataRestrictionCache.RestrictionBundle restrictions) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Hashtable<java.lang.String,java.lang.Exception> validateAttributes() throws java.rmi.RemoteException
validateAttributes
in interface MboRemote
java.rmi.RemoteException
public java.lang.String[] getValidateOrder()
public java.lang.String getInsertItemSetId() throws MXException, java.rmi.RemoteException
getInsertItemSetId
in interface MboRemote
MXException
java.rmi.RemoteException
public java.lang.String getInsertCompanySetId() throws MXException, java.rmi.RemoteException
getInsertCompanySetId
in interface MboRemote
MXException
java.rmi.RemoteException
public java.lang.String getInsertSite() throws MXException, java.rmi.RemoteException
getInsertSite
in interface MboRemote
MXException
java.rmi.RemoteException
public java.lang.String getInsertOrganization() throws MXException, java.rmi.RemoteException
getInsertOrganization
in interface MboRemote
MXException
java.rmi.RemoteException
public java.lang.String getOrgSiteForMaxvar(java.lang.String maxvarName) throws MXException, java.rmi.RemoteException
getOrgSiteForMaxvar
in interface MboRemote
maxvarName
- MXException
java.rmi.RemoteException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
MXException
java.rmi.RemoteException
public void modify() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void valueChanged() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboServerInterface getMboServer()
public MboSetInfo getMboSetInfo(java.lang.String mboName)
public Translate getTranslator()
public void setFlags(long flags)
setFlags
in interface MboRemote
setFlag(long, boolean)
public long getFlags()
getFlags
in interface MboRemote
isFlagSet(long)
public void setFlag(long flag, boolean state)
public void setFlag(long flag, boolean state, MXException mxe)
public boolean isFlagSet(long flag)
public boolean evaluateRestriction(DataRestriction restriction) throws MXException, java.rmi.RemoteException
restrictionID
- MXException
java.rmi.RemoteException
public BitFlag getAttrRestrictionFlag(java.lang.String attr)
public BitFlag getRowRestrictionFlag()
public java.util.Hashtable<java.lang.String,MXException> getFieldExceptions()
public void setFieldFlags(java.lang.String name, long flags)
setFieldFlags
in interface MboRemote
setFieldFlag(String, long, boolean)
public void setFieldFlag(java.lang.String name, long flag, boolean state)
setFieldFlag
in interface MboRemote
public void setFieldFlag(java.lang.String name, long flag, boolean state, MXException mxe)
setFieldFlag
in interface MboRemote
public void setFieldFlag(java.lang.String[] names, long flag, boolean state)
setFieldFlag
in interface MboRemote
public void setFieldFlag(java.lang.String[] names, long flag, boolean state, MXException mxe)
setFieldFlag
in interface MboRemote
public void setFieldFlag(java.lang.String[] names, boolean inclusive, long flag, boolean state)
setFieldFlag
in interface MboRemote
public void setFieldFlag(java.lang.String[] names, boolean inclusive, long flag, boolean state, MXException mxe)
setFieldFlag
in interface MboRemote
public void checkFieldAccess(long accessModifier) throws MXException
MXException
public boolean hasFieldAccess(long accessModifier) throws MXException
MXException
public void enableMethod(java.lang.String methodName, boolean state)
public void checkMethodAccess(java.lang.String methodName, long accessModifier) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
Profile.getUserStatus()
,
sigopGranted(String)
public final void checkMethodAccess(java.lang.String methodName) throws MXException, java.rmi.RemoteException
checkMethodAccess
in interface MboRemote
MXException
java.rmi.RemoteException
public java.lang.String getUserName() throws MXException, java.rmi.RemoteException
getUserName
in interface MboRemote
MXException
java.rmi.RemoteException
public void fireEvent(java.lang.String type) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public ProfileRemote getProfile() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
MboSet.getProfile()
public MboRemote copy() throws MXException, java.rmi.RemoteException
copy
in interface MboRemote
MXException
java.rmi.RemoteException
copy(MboSetRemote)
public MboRemote copy(MboSetRemote mboset) throws MXException, java.rmi.RemoteException
copy
in interface MboRemote
mboset
- The set into which the new mbo will be added.MXException
java.rmi.RemoteException
copy(MboSetRemote, long)
public MboRemote copy(MboSetRemote mboset, long mboAddFlags) throws MXException, java.rmi.RemoteException
copy
in interface MboRemote
mboset
- The set into which the new mbo will be added.mboAddFlags
- Flags to use when adding the new Mbo.
Values on the attribute are always set with NOACCESSCHECK|NOVALIDATION_AND_NOACTION.MXException
java.rmi.RemoteException
public MboRemote copyFake(MboSetRemote mboset) throws MXException, java.rmi.RemoteException
copyFake
in interface MboRemote
mboset
- The set into which the new mbo will be added.MXException
java.rmi.RemoteException
public void setAutokeyFields() throws MXException, java.rmi.RemoteException
setAutokeyFields
in interface MboRemote
MXException
java.rmi.RemoteException
public MboRemote blindCopy(MboSetRemote mboset) throws MXException, java.rmi.RemoteException
blindCopy
in interface MboRemote
MXException
java.rmi.RemoteException
blindCopy( MboSetRemote)
public boolean isSkipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setCopyDefaults() throws MXException, java.rmi.RemoteException
setCopyDefaults
in interface MboRemote
MXException
java.rmi.RemoteException
public MXTransaction getMXTransaction() throws java.rmi.RemoteException
getMXTransaction
in interface MboRemote
java.rmi.RemoteException
public java.lang.String getRelatedWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getRelatedWhere(java.lang.String alias) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasRelatedQbe() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public ServiceRemote getIntegrationService() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void generateAutoKey() throws java.rmi.RemoteException, MXException
For example, an override often takes the following form
(with the appropriate conditions and exception handling):
or in other cases (no entry in autokey table), it could take the following:
generateAutoKey
in interface MboRemote
java.rmi.RemoteException
MXException
MboValue.autoKey()
,
MboValue.generateUniqueID()
public boolean getCheckpoint()
public void startCheckpoint() throws MXException, java.rmi.RemoteException
startCheckpoint
in interface MboRemote
MXException
java.rmi.RemoteException
rollbackToCheckpoint()
public void rollbackToCheckpoint() throws MXException, java.rmi.RemoteException
rollbackToCheckpoint
in interface MboRemote
MXException
java.rmi.RemoteException
startCheckpoint()
public void select() throws MXException, java.rmi.RemoteException
select
in interface MboRemote
MXException
java.rmi.RemoteException
select()
public void unselect() throws MXException, java.rmi.RemoteException
unselect
in interface MboRemote
MXException
java.rmi.RemoteException
public boolean isSelected() throws MXException, java.rmi.RemoteException
isSelected
in interface MboRemote
MXException
java.rmi.RemoteException
public void copyValue(MboRemote sourceMbo, java.lang.String attrSource, java.lang.String attrTarget, long flags) throws MXException, java.rmi.RemoteException
copyValue
in interface MboRemote
sourceMbo
- the Mbo to copy the values from. This Mbo maybe a member
of another package.attrSource
- the name of the attribute to copyattrTarget
- the name of the attribute in this Mbo to copy the value to.flags
- NOACCESSCHECK, NONE, NOVALIDATION_AND_NOACTION, etc..MXException
java.rmi.RemoteException
public void copyValue(MboRemote sourceMbo, java.lang.String[] attrSource, java.lang.String[] attrTarget, long flags) throws MXException, java.rmi.RemoteException
copyValue
in interface MboRemote
sourceMbo
- the Mbo to copy the values from. This Mbo maybe a member
of another package.attrSource
- the name of the attribute to copyattrTarget
- the name of the attribute in this Mbo to copy the value to.flags
- NOACCESSCHECK, NONE, NOVALIDATION_AND_NOACTION, etc..MXException
java.rmi.RemoteException
copyValue(MboRemote sourceMbo, String attrSource, String attrTarget, long flags)
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate
in interface MboRemote
MXException
java.rmi.RemoteException
public void setPropagateKeyFlag(boolean flag) throws MXException, java.rmi.RemoteException
setPropagateKeyFlag
in interface MboRemote
boolean
- flagMXException
java.rmi.RemoteException
public void setPropagateKeyFlag(java.lang.String[] objectName, boolean flag) throws MXException, java.rmi.RemoteException
setPropagateKeyFlag
in interface MboRemote
objectname
- arrayflag
- for true and falseMXException
java.rmi.RemoteException
public boolean excludeObjectForPropagate(java.lang.String name) throws MXException, java.rmi.RemoteException
excludeObjectForPropagate
in interface MboRemote
object
- nameMXException
java.rmi.RemoteException
public boolean getPropagateKeyFlag() throws MXException, java.rmi.RemoteException
getPropagateKeyFlag
in interface MboRemote
MXException
java.rmi.RemoteException
public void propagateKeyValue(java.lang.String keyName, java.lang.String keyValue) throws MXException, java.rmi.RemoteException
propagateKeyValue
in interface MboRemote
Key
- nameKey
- ValueMXException
java.rmi.RemoteException
public void setHierarchyLink(boolean flag)
boolean
- flagpublic boolean hasHierarchyLink() throws MXException, java.rmi.RemoteException
hasHierarchyLink
in interface MboRemote
MXException
java.rmi.RemoteException
public void setDefaultValue()
public void setDefaultValues()
public void setAppDefaultValue() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isBasedOn(java.lang.String objectName) throws java.rmi.RemoteException
public void clear() throws MXException, java.rmi.RemoteException
clear
in interface MboRemote
MXException
java.rmi.RemoteException
public MXLogger getMboLogger()
public MXLogger getSecurityLogger()
public MXLogger getSqlLogger()
public java.lang.String getOrgForGL(java.lang.String lookupAttr) throws MXException, java.rmi.RemoteException
getOrgForGL
in interface MboRemote
attributeName
- MXException
java.rmi.RemoteException
public java.lang.String[] getSiteOrg() throws MXException, java.rmi.RemoteException
getSiteOrg
in interface MboRemote
MXException
java.rmi.RemoteException
Mbo.getOrgSite()
public void setValue(java.lang.String targetAttrName, MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
sourceMbo
- The Mbo whose key values will be crossed over to the current
MboMXException
java.rmi.RemoteException
Mbo.setValue(String, MboRemote)
public void setValue(java.lang.String targetAttrName, MboSetRemote sourceMboSet) throws MXException, java.rmi.RemoteException
setValue
in interface MboRemote
sourceMboSet
- The Mbo Set whose current Mbo's key values will be crossed over to the current
MboMXException
java.rmi.RemoteException
Mbo.setValue(String, MboSetRemote)
public final void setLangCodeDefault() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getUniqueIDName() throws java.rmi.RemoteException, MXException
getUniqueIDName
in interface MboRemote
java.rmi.RemoteException
MXException
psdi.mbo.getUniqueIDName
public long getUniqueIDValue() throws java.rmi.RemoteException, MXException
getUniqueIDValue
in interface MboRemote
tableName
- java.rmi.RemoteException
MXException
psdi.mbo.getUniqueIDValue
public void setUniqueIDValue() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
setValueFromSequence(java.lang.String)
public void setValueFromSequence(java.lang.String attributeName) throws MXException
attributeName
- The name of the attribute to get the next sequence value.MXException
psdi.mbo.MaxSequence#generateUniqueID
public int getDocLinksCount() throws MXException, java.rmi.RemoteException
getDocLinksCount
in interface MboRemote
MXException
java.rmi.RemoteException
getDocLinksCount()
public java.lang.String getLinesRelationship() throws MXException, java.rmi.RemoteException
getLinesRelationship
in interface MboRemote
MXException
java.rmi.RemoteException
getLinesRelationship()
public java.lang.String getMessage(java.lang.String errGrp, java.lang.String errKey) throws java.rmi.RemoteException
getMessage
in interface MboRemote
errGrp
- errKey
- java.rmi.RemoteException
public java.lang.String getMessage(java.lang.String errGrp, java.lang.String errKey, java.lang.Object[] params) throws java.rmi.RemoteException
getMessage
in interface MboRemote
java.rmi.RemoteException
getMessage(String errGrp, String errKey, Object[] params)
public java.lang.String getMessage(java.lang.String errGrp, java.lang.String errKey, java.lang.Object param) throws java.rmi.RemoteException
getMessage
in interface MboRemote
java.rmi.RemoteException
getMessage(String errGrp, String errKey, Object param)
public java.lang.String getMessage(MXException ex) throws java.rmi.RemoteException
getMessage
in interface MboRemote
errGrp
- errKey
- java.rmi.RemoteException
public MaxMessage getMaxMessage(java.lang.String errGrp, java.lang.String errKey) throws MXException, java.rmi.RemoteException
getMaxMessage
in interface MboRemote
errGrp
- errKey
- MXException
java.rmi.RemoteException
public MboRemote createComm() throws MXException, java.rmi.RemoteException
createComm
in interface MboRemote
MXException
java.rmi.RemoteException
createComm()
public java.lang.String getMatchingAttr(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getMatchingAttr
in interface MboRemote
MXException
java.rmi.RemoteException
getMatchingAttr(String)
public java.lang.String getMatchingAttr(java.lang.String sourceObjectName, java.lang.String attribute) throws MXException, java.rmi.RemoteException
getMatchingAttr
in interface MboRemote
MXException
java.rmi.RemoteException
getMatchingAttr(String,String)
public java.lang.String getStringInSpecificLocale(java.lang.String attribute, java.util.Locale l, java.util.TimeZone tz) throws MXException, java.rmi.RemoteException
getStringInSpecificLocale
in interface MboRemote
MXException
java.rmi.RemoteException
public java.lang.Object[] getMatchingAttrs(java.lang.String sourceName, java.lang.String targetAttr) throws MXException, java.rmi.RemoteException
getMatchingAttrs
in interface MboRemote
sourceMbo
- the Mbo which is selected by the lookup.targetAttrName
- the attribute is being looked up or examined.MXException
java.rmi.RemoteException
getMatchingAttrs(String, String)
public void sigOptionAccessAuthorized(java.lang.String optionname) throws MXException, java.rmi.RemoteException
sigopGranted
to check for security permission
for the specified optionname. Throws an error if option is not granted.sigOptionAccessAuthorized
in interface MboRemote
optionname
- Sigoption optionnameMXException
java.rmi.RemoteException
sigopGranted(String)
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
MXException
public boolean needCallInitFieldFlag(java.lang.String attrName)
attrName
- public void checkSiteOrgAccessForSave() throws MXException, java.rmi.RemoteException
saveTransaction
.MXException
java.rmi.RemoteException
MboSet.getApp()
,
sigopGranted(String, String)
public boolean sigopGranted(java.lang.String optionname) throws MXException, java.rmi.RemoteException
A method for evaluating a set of optionnames is provided
in sigopGranted
.
sigopGranted
in interface MboRemote
optionname
- Option nameMXException
java.rmi.RemoteException
MboSet.getParentApp()
,
sigopGranted(String, String)
public boolean sigopGranted(java.lang.String app, java.lang.String optionname) throws MXException, java.rmi.RemoteException
sigopGranted
in interface MboRemote
app
- Application nameoptionname
- Option nameMXException
java.rmi.RemoteException
Profile.getAppLevel(java.lang.String)
,
MboSetInfo.getSiteOrgType()
,
Profile.getAppOptionAuth(java.lang.String, java.lang.String, java.lang.String)
,
Profile.getNonStandardAppOptionAuth(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
Profile.getConditions(java.lang.String, java.lang.String, java.lang.String)
,
evaluateCondition(String)
public java.util.HashMap<java.lang.String,java.lang.Boolean> sigopGranted(java.util.Set optionnames) throws MXException, java.rmi.RemoteException
A method for evaluating a single optionnames is provided
in sigopGranted
.
sigopGranted
in interface MboRemote
optionnames
- MXException
java.rmi.RemoteException
MboSet.getParentApp()
,
sigopGranted(String, String)
public java.util.HashMap<java.lang.String,java.util.TreeMap<java.lang.Integer,java.lang.String[]>> evaluateCtrlConditions(java.util.HashSet options) throws MXException, java.rmi.RemoteException
evaluateCtrlConditions
in interface MboRemote
MXException
java.rmi.RemoteException
evaluateCtrlConditions(HashSet, String)
public java.util.HashMap<java.lang.String,java.util.TreeMap<java.lang.Integer,java.lang.String[]>> evaluateCtrlConditions(java.util.HashSet options, java.lang.String app) throws MXException, java.rmi.RemoteException
CtrlCondPropCache
.
Return a HashMap structured as follows.
Key | Value | |||
---|---|---|---|---|
OptionName | TreeMap | |||
Key | Value | |||
Integer (to iterate in sequence) | String array [0] = CtrlConditionID, [1] = "1" (true) or "0" (false) |
evaluateCtrlConditions
in interface MboRemote
options
- Set of sigoption.optionname. The app has
been set on this MboSet or one of its parents by setApp
.MXException
java.rmi.RemoteException
MboSet.getParentApp()
,
CtrlCondPropCache.getCtrlConditions(java.lang.String, java.lang.String, java.util.HashSet)
,
evaluateCondition(java.lang.String, boolean)
public MaxCondition getCondition(java.lang.String conditionNum) throws java.rmi.RemoteException
conditionNum
- java.rmi.RemoteException
public boolean evaluateCondition(java.lang.String conditionNum, boolean logErrorOnly) throws MXException, java.rmi.RemoteException
condition
- numberlogErrorOnly
- when it is true, the error will be only logged without throwing exceptionMXException
java.rmi.RemoteException
public boolean evaluateCondition(java.lang.String conditionNum) throws MXException, java.rmi.RemoteException
evaluateCondition
in interface MboRemote
MXException
java.rmi.RemoteException
evaluateCondition(String)
public BitFlag getAlwaysFlags(java.lang.String attr)
public DataRestrictionCache.RestrictionBundle getAttrRestrictions(int levelRequested, java.lang.String attr) throws MXException, java.rmi.RemoteException
levelRequested
- attr
- MXException
java.rmi.RemoteException
public java.lang.String[] getDomainIDs(java.lang.String attr) throws MXException, java.rmi.RemoteException
getDomainIDs
in interface MboRemote
attr
- MXException
java.rmi.RemoteException
psdi.mbo.Mbo#getDomainIDs()
public void addToDeleteForInsertList(java.lang.String mboName) throws java.rmi.RemoteException
addToDeleteForInsertList
in interface MboRemote
mboName
- java.rmi.RemoteException
public java.util.Vector<java.lang.String> getDeleteForInsertList() throws java.rmi.RemoteException
getDeleteForInsertList
in interface MboRemote
java.rmi.RemoteException
public MaxType getInitialValue(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getInitialValue
in interface MboRemote
MXException
java.rmi.RemoteException
getInitialValue(String)
public java.lang.Object[] getCommLogOwnerNameAndUniqueId() throws MXException, java.rmi.RemoteException
getCommLogOwnerNameAndUniqueId
in interface MboRemote
MXException
java.rmi.RemoteException
getCommLogOwnerNameAndUniqueId()
public boolean isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName, java.lang.String attributeName)
attributeName
- the attribute that is not the lookup attribute.lookupAttrName
- the attribute whose lookup is being called.public void validateKeyUniqueness() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateContentUID() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getDomainFilterWhere(java.lang.String filterKeyword) throws MXException, java.rmi.RemoteException
filterKeyword
- MXException
java.rmi.RemoteException
public boolean removeRelatedSet(MboSetRemote relatedSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List<ERMAttributeError> determineRequiredFieldsFromERM(java.util.Collection<ERMAttribute> attributes, int mboVectorIndex) throws MXException, java.rmi.RemoteException
MXException
- Throws the possible MXException that can be thrown when trying to get MboValue for attributesjava.rmi.RemoteException
- Throws the possible MXException that can be thrown when trying to get MboValue for attributespublic java.util.List<ERMAttributeError> findAllNullRequiredFields(java.util.Collection<ERMAttribute> attributes, int mboIndex) throws MXException, java.rmi.RemoteException
attributes
- The list of required attributes to perform the null check onmboIndex
- The index of this mbo in the MboSet's mbo vectorMXException
java.rmi.RemoteException
public MboSetRemote getExistingMboSet(java.lang.String relationship) throws java.rmi.RemoteException
getExistingMboSet
in interface MboRemote
name
- The relationship provided to retrieve a
related mboSet.java.rmi.RemoteException
public void addMboSetForRequiredCheck(MboSetRemote mboSet) throws java.rmi.RemoteException
addMboSetForRequiredCheck
in interface MboRemote
java.rmi.RemoteException
public java.util.List<MboRemote> getMboList(java.lang.String mrp) throws MXException, java.rmi.RemoteException
getMboList
in interface MboRemote
MXException
java.rmi.RemoteException
public void setApplicationError(java.lang.String attribute, ApplicationError appError) throws MXException, java.rmi.RemoteException
setApplicationError
in interface MboRemote
attribute
- The attribute whos MboValue will receive the ApplicationErrorappError
- The ApplicationError to be set on the attribute's MboValueMXException,
- RemoteExceptionMXException
java.rmi.RemoteException
public void setApplicationRequired(java.lang.String attribute, boolean required) throws MXException, java.rmi.RemoteException
setApplicationRequired
in interface MboRemote
attribute
- The attribute whos MboValue will receive the ApplicationErrorrequired
- whether the field is required or notjava.rmi.RemoteException
MXException
public static java.lang.String getSynonymValueWhere(java.lang.String filterKeyword) throws MXException, java.rmi.RemoteException
mbo
- filterKeyword
- MXException
java.rmi.RemoteException
public final java.lang.String getRowStamp() throws MXApplicationException
MXApplicationException
public final int getTenantId(java.lang.String tableName) throws MXApplicationException
MXApplicationException
public boolean isMasterTenant(java.lang.String tableName) throws MXException, java.rmi.RemoteException
isMasterTenant
in interface MboRemote
MXException
java.rmi.RemoteException
isMasterTenant(String tableName)
public void setReferencedMbo(java.lang.String token, MboRemote refMbo) throws MXException, java.rmi.RemoteException
setReferencedMbo
in interface MboRemote
refMbo
- MXException
java.rmi.RemoteException
public void setReferencedMbo(java.lang.String token, Mbo refMbo) throws MXException, java.rmi.RemoteException
setReferencedMbo
in interface MboRemote
MXException
java.rmi.RemoteException
public long[] getLanguageRecordRowStamp() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isLocked() throws java.rmi.RemoteException, MXException
isLocked
in interface MboRemote
java.rmi.RemoteException
MXException
public boolean isLocked(boolean cache) throws java.rmi.RemoteException, MXException
isLocked
in interface MboRemote
java.rmi.RemoteException
MXException
public boolean isLockedByMe() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isMboLockedByMe() throws java.rmi.RemoteException, MXException
isMboLockedByMe
in interface MboRemote
java.rmi.RemoteException
MXException
public void lock(boolean lockNow) throws MXException, java.rmi.RemoteException
lock
in interface MboRemote
MXException
java.rmi.RemoteException
public void unlock(boolean unlockNow) throws java.rmi.RemoteException, MXException
unlock
in interface MboRemote
java.rmi.RemoteException
MXException
public void setIgnoreRecordLockCheck(boolean ignoreRecordLock) throws java.rmi.RemoteException, MXException
setIgnoreRecordLockCheck
in interface MboRemote
java.rmi.RemoteException
MXException
public boolean getIgnoreLockCheck() throws java.rmi.RemoteException, MXException
getIgnoreLockCheck
in interface MboRemote
java.rmi.RemoteException
MXException
public boolean isOptionGranted(java.lang.String app, java.lang.String option) throws java.rmi.RemoteException, MXException
isOptionGranted
in interface MboRemote
java.rmi.RemoteException
MXException
public boolean hasLockSaveRights(java.lang.String app) throws java.rmi.RemoteException, MXException
hasLockSaveRights
in interface MboRemote
java.rmi.RemoteException
MXException