public abstract class MboSet extends java.lang.Object implements MboSetRemote, MboConstants, FixedLoggers, MaxRemoteProxy
Modifier and Type | Field and Description |
---|---|
protected boolean |
dmDeploySet
boolean to indicate that set is created during Deploy action of Deployment Manager
If set to true , both field validations and appvalidate will be skipped
|
protected boolean |
dmDeploySkipFieldValidation
boolean to indicate that set is created during Deploy action of Deployment Manager
If set to true , both field validations and appvalidate will be skipped
|
static boolean |
fetchStopLimitEnabled
True when fetch stop limit is enabled, default to false.
|
static int |
LOOKUPMAXROW
Maximum number of rows a look up query will fetch from the database
|
int |
maxSorterSize |
static java.util.Set |
mboCountCleanuplist |
protected java.util.Vector |
mboVec
List of instanciated Mbos for the set.
|
protected java.util.Vector |
mrdVec
List of MboRecordData that have not yet been instanciated into Mbos.
|
static java.lang.ThreadLocal |
perfStats
Holds performance gathering statistics
|
static java.lang.String |
strNoBaseLangValueEntered |
protected boolean |
toBeSaved |
INSERTONLY, INSERTORUPDATE, UPDATEONLY
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
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
MboSet(MboServerInterface ms)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
abortSql()
Abort the sql query currently in process.
|
MboRemote |
add()
Adds a new Mbo to this set at the beginning, and sets the current Mbo position to
the Mbo just added.
|
MboRemote |
add(long accessModifier)
Adds a new object to the collection.
|
protected java.lang.String |
addAliasForML(java.lang.String where) |
protected static java.lang.String |
addAliasForML(java.lang.String where,
java.lang.String entityName)
Scan through the where clause to add alias to the ownerid field.
|
MboRemote |
addAtEnd()
Adds a new Mbo to this set at end, and sets the current Mbo position to
the Mbo just added.
|
MboRemote |
addAtEnd(long accessModifier)
Adds a new object to the collection at the end.
|
MboRemote |
addAtIndex(int ind)
Adds a new Mbo to this set at the index, and sets the current Mbo position to
the Mbo just added.
|
MboRemote |
addAtIndex(long accessModifier,
int ind)
Adds a new object to the collection at the index specified.
|
MboRemote |
addFakeAtEnd()
Adds a new object to the collection at the end.
|
void |
addFederatedMboToSorter(MboRemote mbo)
This method is used to add a federated mbo into the sorter.
|
void |
addJoinedAttribute(java.lang.String alias,
java.lang.String qualifiedAttr)
add a joined attribute - alias is the alias and qualifiedAttr is the db attribute name.
|
protected void |
addMbo(Mbo mbo)
Add a new instance of a Mbo at the end of the collection.
|
protected void |
addMbo(Mbo mbo,
int i)
Add a new instance of a Mbo at the specified index.
|
void |
addSubQbe(java.lang.String name,
java.lang.String[] attrs,
java.lang.String operator)
Specify a list of attribute that when their QBE are set, the AND/OR operator will
be the one specified,which is different than the general QBE.
|
void |
addSubQbe(java.lang.String name,
java.lang.String[] attrs,
java.lang.String operator,
boolean exactMatch)
Specify a list of attribute that when their QBE are set, the AND/OR operator
and exact match flag will
be the one specified,which is different than the general QBE.
|
void |
addSubQbe(java.lang.String parentQbe,
java.lang.String name,
java.lang.String[] attrs,
java.lang.String operator)
Specify a list of attribute that when their QBE are set, the AND/OR operator
will
be the one specified,which is different than the parent QBE.
|
void |
addSubQbe(java.lang.String parentQbe,
java.lang.String name,
java.lang.String[] attrs,
java.lang.String operator,
boolean exactMatch)
Specify a list of attribute that when their QBE are set, the AND/OR operator
and exact match flag will
be the one specified,which is different than the parent QBE.
|
java.lang.String |
addToEndOfSelectStatement(boolean fetchLimitEanbled)
Overwrite this method in the Mbo Set class to return the additional string that will be appended to the last of the select sql.
|
void |
addWarning(MXException e)
Add a warning to the warning list
|
void |
addWarnings(MXException[] es)
Add all the exceptions from an array to the warning vector
|
java.lang.String |
appendToWhere()
Append a value to the where clause.
|
void |
applyAppSpecificAuthorization() |
void |
applyRowSecurity()
Check if every records in this set would be readonly and hidden according to
data restriction.
|
double |
avg(java.lang.String attributeName) |
void |
canAdd()
Can an object be added to the collection ?
This is usually overriden in the specific mboset
|
void |
cancelAndClose()
Close the statement before cancel
|
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 |
cleanup()
Reset the QBE, reset, and clear its transaction.
|
void |
clear()
Remove all objects from the collection.
|
void |
clearBatchedPreparedStmt(java.lang.String sql) |
void |
clearBatchedPreparedStmts() |
static void |
clearESigTransactionIdThread()
Sets the esig transaction id to null.
|
void |
clearESigTransIDForAdmin()
This method should only be used by Admin Mode and Config DB
since neither use MboSet to save/rollback transactions.
|
void |
clearIgnoredAutokeyAttrs() |
void |
clearLongOpPipe()
Clear the long op pipe.
|
void |
clearToBeSaved()
The toBeSaved boolean variable is used for performance improvement.
|
void |
clearTransactionReference()
Set the active and potential transactiont to null.
|
void |
clearWarnings()
Clears the warning list.
|
void |
close()
Closes the object collection and releases DB resources.
|
void |
commit()
Makes all changes sent to the database since the last commit() or
rollback() call, permanent.
|
void |
commitTransaction(MXTransaction txn)
Commit the object for the specified transaction
|
void |
copy(MboSetRemote mboset)
Mbos are copied into the mboset passed as a parameter.
|
void |
copy(MboSetRemote mboset,
long mboAddFlags)
Mbos are copied into the mboset passed as a parameter.
|
void |
copy(MboSetRemote sourceSet,
java.lang.String[] srcAttributes,
java.lang.String[] destAttributes)
New Mbos are created in this set from the sourceSet and appropriate
attribute values are copied to the mbos.
|
void |
copyForDM(MboSetRemote mboset,
int begin,
int size)
A number Mbos are copied into the mboset passed as a parameter.
|
int |
count()
Same as
count(COUNT_EXISTING) . |
int |
count(int countConstant)
Returns a count of records in this MboSet.
|
int |
countAndCleanup()
Returns a count of records in this MboSet and calls cleanup.
|
int |
countAndCleanup(int countConstant)
Returns a count of records in this MboSet and calls cleanup.
|
void |
deleteAll()
Delete all the members of the set - be very very carefull !
The deletions are not performed in the database, until save
is called.
|
void |
deleteAll(long accessModifier)
Delete all the objects in the set with the specified access modifiers
|
void |
deleteAndRemove()
Deletes and Removes the current mbo from the collection,
if the mbo is newly created .
|
void |
deleteAndRemove(int pos)
Deletes and remove an object from the collection at the given position,
if the mbo at the position is a newly created.
|
void |
deleteAndRemove(int pos,
long accessModifier)
Deletes and remove an object from the collection at the given position,
if the mbo at the position is a newly created.
|
void |
deleteAndRemove(MboRemote mbo)
Delets and removes a mbo object from the collection,
if the mbo is newly created .
|
void |
deleteAndRemove(MboRemote mbo,
long accessModifier)
Delets and removes a mbo object from the collection,
if the mbo is newly created .
|
void |
deleteAndRemoveAll()
Deletes and removes all the newly created Mbos from the collection.
|
void |
deleteAndRemoveAll(long accessModifier)
Deletes and removes all the newly created Mbos from the collection.
|
protected void |
deleteMbo(java.sql.Connection con,
Mbo mbo)
Fires a SQL DELETE statement
Syntax:
DELETE tablename
WHERE whereclause
|
java.util.List |
determineRequiredFieldsFromERM()
Using the ERMEntity associated with this MboSet, this method will obtain a complete
list of required fields that need a value.
|
static java.lang.String |
dump(java.lang.Object object) |
java.util.Date |
earliestDate(java.lang.String attributeName)
Return the earliest date value of the specified attribute within the set.
|
void |
enableMethod(java.lang.String methodName,
boolean state)
Enable/disable a certain method name
|
void |
executeBatch() |
MboRemote |
fetchNext()
Fetches the next record without changing the current index.
|
java.util.List |
findAllNullRequiredFields()
Returns a list of ERMAttributeError for each required attribute with a null value.
|
MboRemote |
findByIntegrationKey(java.lang.String[] integrationKeys,
java.lang.String[] integrationKeyValues)
This method is used by the integration logic to find out the
mbos that are present based on an integration key.
|
MboRemote |
findKey(java.lang.Object keyObject)
Return the Mbo that contains the specified key from the MboSet.
|
void |
fireEventsAfterDB(MXTransaction txn)
fire events for all mbos in the transaction after db operation.
|
void |
fireEventsAfterDBCommit(MXTransaction txn)
fire events for all mbos in the transaction after db commit.
|
void |
fireEventsBeforeDB(MXTransaction txn)
fire events for all mbos in the transaction before db operation.
|
boolean |
forceDBSort(java.lang.String attrName)
Returns true if database sort is enforced for this attribute whether it's persistent or not.
|
protected java.util.HashMap |
getAllAppAlwaysFieldFlags()
Return all the always field flags set to all the attribute on this mboset.
|
boolean |
getAllowQualifiedRestriction() |
BitFlag |
getAlwaysFlags()
Returns the BitFlag that represent that the records in this mbo set should always READONLY or HIDDEN by
row restrictions.
|
BitFlag |
getAlwaysFlags(java.lang.String attr) |
java.lang.String |
getApp()
Returns the name of the application using this MboSet.
|
BitFlag |
getAppAlwaysFieldFlags(java.lang.String attr)
Get the bitFlag stored for the always flag for the attribute, null if nothing.
|
java.lang.String |
getAppWhere()
Gets the application where clause.
|
DataRestrictionCache.RestrictionBundle |
getAttrRestrictions(int levelRequested,
java.lang.String attr)
Get an array of Data Restriction objects for attribute restriction what would need to apply to
the attribute of the records in this mbo set.
|
boolean |
getBoolean(java.lang.String attributeName)
Retrieves an attribute value 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
|
java.util.Locale |
getClientLocale()
Return the locale of the object.
|
java.util.TimeZone |
getClientTimeZone()
Return the time zone being used by the server
|
java.lang.String |
getCompleteWhere()
Get the complete Where clause that is used for fetching records to this object.
|
int |
getCurrentPosition()
Return the current index position in the set.
|
java.util.Date |
getDate(java.lang.String attributeName)
Retrieves an attribute value identified by name within the current object.
|
int |
getDBFetchMaxRows()
Returns the fetch limit that has been set on this MboSet.
|
java.lang.String |
getDefaultValue(java.lang.String attribute)
method for getting the default value for an attribute
|
java.util.HashMap |
getDefaultValueHash()
method for getting defaultValue hash table
|
double |
getDouble(java.lang.String attributeName)
Retrieves an attribute value identified by name within the current object.
|
ERMEntity |
getERMEntity()
Finds and returns the ERMEntity assiciated with the MbSet.
|
java.lang.String |
getESigTransactionId()
Returns the transaction id used for the esig.
|
boolean |
getExcludeMeFromPropagation()
Gets the flag to excude a mboset from propagation
|
long |
getFlags()
Deprecated.
Replaced by isFlagSet(flag)
|
float |
getFloat(java.lang.String attributeName)
Retrieves an attribute value identified by name within the current object.
|
java.lang.String |
getFromClause()
Get the from clause of a join for the multi-language in use table.
|
java.util.HashSet |
getIgnoredAutokeyAttrs()
Get a Hashset of attribues that are requested not to set the autokeys.
|
java.lang.String |
getInsertCompanySet()
Sets the insert company set for the mboset.
|
java.lang.String |
getInsertItemSet()
Gets the insert item set for the mboset.
|
java.lang.String |
getInsertOrg()
Gets the insert org for the mboset.
|
java.lang.String |
getInsertSite()
Gets the insert site for the mboset.
|
int |
getInt(java.lang.String attributeName)
Retrieves an attribute value identified by name within the current object.
|
java.util.HashMap |
getJspDefaultValueHash()
method for getting jsp field defaultValue hash table
|
java.lang.String[] |
getKeyAttributes()
Returns a list of key attributes.
|
MboSetRemote |
getList(int row,
java.lang.String attributeName)
Get the list of valid values for an attribute for the given row
|
MboSetRemote |
getList(java.lang.String attributeName)
Gets the MboSet containing valid values for a specified attribute of the current
Mbo in this set.
|
long |
getLong(java.lang.String attributeName)
Retrieves an attribute value identified by name within the current object.
|
java.lang.String |
getMaxAppsWhere()
Provide a application restriction where clause from maxapps table
|
MaxMessage |
getMaxMessage(java.lang.String errGrp,
java.lang.String errKey)
Get the MaxMessage object for the specified error group and errorkey.
|
MboRemote |
getMbo()
Returns the current Mbo from the collection.
|
MboRemote |
getMbo(int index)
Return the Mbo from the specified position in the collection.
|
java.lang.Object |
getMboCtx(java.lang.String propName) |
MboRemote |
getMboForUniqueId(long id)
Returns the mbo for the unique id.
|
protected abstract Mbo |
getMboInstance(MboSet ms)
Factory to create the business objects
This must be overridden in derived class
|
MXLogger |
getMboLogger()
Returns a logger to log messages related to this business object.
|
MboServerInterface |
getMboServer()
Return a reference to the server.
|
MboSetData |
getMboSetData(int row,
int count,
java.lang.String[] attributes)
Return information about the MboSet and the specified attributes for the specified rows.
|
MboSetData |
getMboSetData(java.lang.String[] attributes)
Return information about the MboSet for the specified attributes.
|
MboSetInfo |
getMboSetInfo()
Return Information about the Mbo Set
|
MboSetRetainMboPositionData |
getMboSetRetainMboPositionData()
Returns the retain mbo position data available.
|
MboSetRetainMboPositionInfo |
getMboSetRetainMboPositionInfo()
Returns the retain mbo position info available.
|
MboValueData |
getMboSetValueData(java.lang.String attribute)
Return the MboValueData for the specified attribute.
|
MboValueData[] |
getMboSetValueData(java.lang.String[] attribute)
Return an arry of MboValueData objects for the specified array of attributes.
|
MboValueData[][] |
getMboValueData(int rowStart,
int rowCount,
java.lang.String[] attribute)
Get MboValueData for the specified rows and attributes.
|
MboValueData |
getMboValueData(java.lang.String attribute)
Return MboValueData for the current instance of a Mbo.
|
MboValueData[] |
getMboValueData(java.lang.String[] attribute)
Get the MboValueData for the specified array of attributes.
|
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 MboSet'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 MboSet'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 MboSet's userInfo.
|
java.lang.StringBuffer |
getMLFromClause(boolean useSchemaOwner)
Get the from clause of a join for the multi-language in use table.
|
java.lang.String |
getMultiSiteWhere()
Provide a qualifying where clause based on this MboSet's SiteOrgType and
the user Site or Org.
|
MXTransaction |
getMXTransaction()
Return the currently active transaction.
|
java.lang.String |
getName()
Return the name of the business object.
|
java.lang.String |
getOrderBy()
Return the Order By Clause of the collection
|
MboRemote |
getOwner()
Return the owner of this set.
|
java.lang.String |
getParentApp()
Returns the name of the application using this MboSet
and any of its parents.
|
java.sql.PreparedStatement |
getPreparedStmt(java.sql.Connection con,
java.lang.String sql) |
ProfileRemote |
getProfile()
Get the security profile for this UserInfo.
|
java.rmi.Remote |
getProxy() |
java.lang.String[][] |
getQbe()
Returns the list of attributes for which the QBE has been set and their corresponding values.
|
java.lang.String |
getQbe(java.lang.String attribute)
Return the current Qbe expression for the specified attribute.
|
java.lang.String[] |
getQbe(java.lang.String[] attributes)
Return the Qbe expressions for the specified list of attributes.
|
java.lang.String |
getQbeSiteAuthorization()
Check whether there is a QBE set on the MboSet on siteid.
|
java.lang.String |
getQbeWhere() |
java.lang.String |
getQualifiedWhere()
Get the row level security's QUALIFIED where clause that would append to the complete where clause.
|
int |
getQueryTimeout() |
java.lang.String |
getRelationName()
Returns the relationship name used to obtain this set.
|
java.lang.String |
getRelationship()
Return the Where clause of the relationship.
|
protected int |
getRetainRecordLimit()
Returns the retain record limit.
|
DataRestrictionCache.RestrictionBundle |
getRowRestrictions(int levelRequested)
Get an array of Data Restriction objeccts for row restriction that would need to apply to rows in the
MboSet.
|
MXLogger |
getSecurityLogger()
Returns a logger to log security messages related to this business object.
|
java.lang.StringBuffer |
getSelectClause() |
java.lang.StringBuffer |
getSelectClause(java.util.HashMap langTableNames) |
java.util.Vector |
getSelection()
Returns a Vector of mbos marked for selection.
|
java.lang.String |
getSelectionWhere()
Returns the where clause for the selected Mbos.
|
java.lang.String |
getSelectWhereClause() |
java.lang.String |
getSetOrderByForUI() |
MboSetRemote |
getSharedMboSet(java.lang.String objectName,
java.lang.String relationship)
This method exists so Mbos can retrieve mbosets they reference.
|
int |
getSize()
Return the current size of the collection.
|
int |
getSkipFirstNRows() |
MXLogger |
getSqlLogger()
Returns a logger to log SQL messages related to this business object.
|
java.lang.String |
getSQLOptions()
Returns the SQL Options to be added to the select statement.
|
java.lang.String |
getString(java.lang.String attributeName)
Retrieves an attribute value identified by name within the current object.
|
protected Translate |
getTranslator()
Return the translator object which can be used to convert
locale sensitive strings
|
java.util.Map |
getTxnPropertyMap()
Gets the property map for the transaction
|
java.lang.String |
getUserAndQbeWhere()
Returns the combined user where and QBE where clause in native SQL format.
|
UserInfo |
getUserInfo()
Return the user information for the set
|
java.lang.String |
getUserName()
Return user name logged into server
|
java.lang.String |
getUserPrefWhere()
Append a user pref where clause.
|
java.lang.String |
getUserWhere()
Returns the user defined where clause.
|
java.lang.String |
getUserWhere(java.lang.String alias)
Returns the user defined where clause.
|
MXException[] |
getWarnings()
Returns a list of warnings from the last method call.
|
java.lang.String |
getWhere()
Return the Where clause of the collection.
|
MboRemote |
getZombie()
Returns a 'zombie' mbo object.
|
void |
handleMLMbo(Mbo mbo,
MXTransaction txn,
java.lang.String action)
Deprecated.
Replaced by #handleMLMbo(Mbo, String)
|
void |
handleMLMbo(Mbo mbo,
java.lang.String action) |
boolean |
hasMLQbe()
Returns whether there are any QBE set on the attribute which is multi-language
in use.
|
boolean |
hasQbe()
Has there been any QBE values set ?
|
boolean |
hasWarnings()
Are there any warnings.
|
void |
ignoreAutokeyAttr(java.lang.String[] attrNames,
boolean flag)
Inform the system to enable or disable autokey the specified attributes when a new object is created.
|
void |
ignoreAutokeyAttr(java.lang.String attrName,
boolean flag)
Inform the system to enable or disable autokey the specified attribute when a new object is created.
|
void |
ignoreQbeExactMatchSet(boolean flag)
method needed for UI to ignore QBE exact match set
|
protected boolean |
includeRelatedMbosOfOwnersChildren()
MboSets like WPLabor that want to show all the WPLabor
records for all the owner's children should override this
method and return true.
|
void |
incrementDeletedCount(boolean inc)
Called by Mbo in delete/undelete
|
void |
init()
Programmer can provide any intialization in here.
|
void |
init(UserInfo user)
Initialize the object.
|
void |
initDataDictionary()
Perform any initialization on the MboSet's data dictionary.
|
protected void |
insertDeltaRow(java.sql.Connection con,
Mbo mbo,
java.lang.String tableName) |
protected void |
insertMbo(java.sql.Connection con,
Mbo mbo)
Fires a SQL INSERT statement
Syntax:
INSERT INTO tablename (columname1, columnname2)
VALUES (colValue1, colValue2)
|
boolean |
isBasedOn(java.lang.String objectName)
Returns true, if this business object is based on the given
business object name.
|
boolean |
isClosed()
Returns whether the set has been closed or not.
|
boolean |
isDeltaStorage(Mbo mbo,
java.lang.String tableName) |
boolean |
isDMDeploySet()
Returns the flag if mboset is created during Deploy action of Deployement Manager set or not
If the flag is set to true,it will skip mbo.validate method which will skip
all field validations and appvalidate.
|
boolean |
isDMSkipFieldValidation()
Returns the flag if set is created during deploy action of Deployment Manager.
|
boolean |
isDownloadSet()
Was this MboSet created specifically for download?
|
boolean |
isEAuditFieldModified()
Indicates whether any of the fields enabled for electronic audit
are modified by the user, for any mbo in this set.
|
protected boolean |
isEAuditNeeded(Mbo mbo)
Object code can override this method to flag whether eAudit is needed
during save action or not.
|
boolean |
isEmpty()
Identifies whether this MboSet is empty.
|
boolean |
isESigFieldModified()
Indicates whether any of the fields enabled for electronic signature
are modified by the user.
|
protected boolean |
isESigNeeded()
Object code can override this method to flag whether esig is needed
during save action or not.
|
boolean |
isESigNeeded(java.lang.String optionName)
Indicates whether ESig is needed for the given option name.
|
boolean |
isFlagSet(long flag)
Return the state of the specified mboset flag
|
boolean |
isIgnoreQbeExactMatchSet()
method to find if ignore QBE exact match set or not
|
protected boolean |
isInMemorySort() |
boolean |
isJoinedAttribute(java.lang.String attr)
returns true is this is a joined attribute and false otherwise.
|
boolean |
isLookup() |
boolean |
isNull(java.lang.String attributeName)
Determines whether the attribute value identified by name within the current object
is null.
|
boolean |
isQbeCaseSensitive()
Is the Qbe case sensitive ?
|
boolean |
isQbeExactMatch()
Is QBE an exact match ?
|
boolean |
isRetainMboPosition()
Is the current MboSet's mbo position to be retained?
|
protected boolean |
isRetainRecordEnabled()
Is the retain record feature enabled?
|
boolean |
isTableDomainLookup()
Returns the if mboset is a lookup or not
|
java.util.Date |
latestDate(java.lang.String attributeName)
Return the latest date value of the specified attribute within the set.
|
MboRemote |
locateMbo(java.lang.String[] keys,
java.lang.String[] values,
int option)
This method is provided for MEA.
|
void |
logESigVerification(java.lang.String username,
java.lang.String reason,
boolean authenticatedSuccessfully)
Logs a esig record aboout the user indicating the reason for the verification
and whether the user authentication is successful or not.
|
void |
logRowUpdatedException(MXRowUpdateException mxr)
Logs the row has been updated by another user message
with the execption stacktrace.
|
double |
max(java.lang.String attributeName)
Returns the maximum value of the specified attribute within the set.
|
double |
min(java.lang.String attributeName)
Returns the minimum value of the specified attribute within the set.
|
MboRemote |
moveFirst()
Positions to the first object within the collection.
|
MboRemote |
moveLast()
Positions to the last Object within the collection.
|
MboRemote |
moveNext()
Positions to the next Object found within the collection.
|
MboRemote |
movePrev()
Positions to the previous Object found within the collection.
|
MboRemote |
moveTo(int pos)
Positions to and make current the object located at the index position within
the collection.
|
MboRemote |
moveToKey(KeyValue keyVal)
Move to the specified key in the collection and make current Mbo
This can be VERY expensive on large result sets !
This should only be used where appropriate and is NOT a replacement
for using QBE.
|
int |
newMboIndex() |
boolean |
notExist()
Check if this mboset has any record.
|
void |
positionState()
Positions the current mbo based on the position data cached, if the data exists.
|
boolean |
processML()
Whether multi-language needs to be considered.
|
void |
remove()
Remove the current object from the collection.
|
void |
remove(int pos)
Remove an object from the collection at the given position.
|
void |
remove(MboRemote mbo)
Removes a mbo object from the collection.
|
void |
removeAllJoinedAttributes()
clear all joined attributes
|
java.lang.Object |
removeCtx(java.lang.String propName) |
void |
removeJoinedAttribute(java.lang.String alias)
clear a joined attribute - based on the alias
|
void |
reset()
Clears the current contents of the collection.
|
void |
resetForRefreshOnSave()
Clears the current contents of the collection.
|
void |
resetQbe()
Reset the QBE for this object, i.e.
|
void |
resetWithSelection()
Resets the MboSet such that the MboSet contains only the
selected mbos.
|
void |
rollback()
Discards all changes sent to the database since the last commit() or
rollback() call.
|
void |
rollbackToCheckpoint()
Reverts to the saved value.
|
void |
rollbackToCheckpoint(int i)
Reverts to the saved value for the given mbo.
|
void |
rollbackTransaction(MXTransaction txn)
Rollback the object for the specified transaction
|
void |
save()
Sends changes to the database for all objects in the collection.
|
void |
save(long flags)
Save the object with the specified flags.
|
void |
save(MXTransaction txn)
Save the object using within the specified transaction.
|
void |
save(MXTransaction txn,
long flags)
Save the transaction using the specified flags.
|
void |
saveMbos()
Loop through all the mbos calling save method.
|
void |
saveTransaction(MXTransaction txn)
Save the object on the specified transaction.
|
void |
select(int index)
Marks the Mbo at the specified index Selected.
|
void |
select(int startIndex,
int count)
Marks the a set of Mbos starting from startIndex Selected.
|
void |
select(java.util.Vector mboIndices)
Marks a set of mbos selected by using the mbo indices.
|
void |
selectAll()
Marks all the Mbos in the set selected.
|
void |
setAllowQualifiedRestriction(boolean value) |
void |
setApp(java.lang.String appName)
Sets the name of the application using this MboSet.
|
void |
setAppAlwaysFieldFlag(java.lang.String attr,
long flag,
boolean state)
Informs the mbo set that any mbo of this set will have the field flags set to the specified attribute.
|
void |
setAppWhere(java.lang.String appWhere)
Sets the application where clause.
|
boolean |
setAutoKeyFlag(boolean flag)
This method will switch on and off the flag of setting the autokey to the newly added() method
when different forms of add() is called if autokey is set as
the object default value.
|
protected void |
setBindValueAsBytes(java.sql.PreparedStatement pstmt,
int bindIndex,
byte[] value,
java.lang.String columnName)
Sets the bind value as byte array for the specified bind
index for the statement using passed-in value.
|
void |
setDBFetchMaxRows(int fetchLimit)
Set the fetch limit for this MboSet.
|
void |
setDefaultOrderBy()
Sets the order by clause to be the primary key.
|
void |
setDefaultValue(java.lang.String attribute,
MboRemote mbo)
Set default value for this attribute to the values derived from mbo passed in
|
void |
setDefaultValue(java.lang.String attribute,
java.lang.String value)
method for setting default values for a mboset(screen/table default)
When a new object is added, the default value will be set on the attribute.
|
void |
setDefaultValues(java.lang.String[] attributes,
java.lang.String[] values)
method for setting JSP field default values for a mboset
|
void |
setDefaultValues(java.lang.String attribute,
java.lang.String value)
method for setting JSP field default values for a mboset
|
protected void |
setDiscardableFlag(boolean state) |
void |
setDMDeploySet(boolean flag)
Mark the set as created during deploy action of Deployment Manager.
|
void |
setDMSkipFieldValidation(boolean flag)
Mark the set as created during deploy action of Deployment Manager.
|
void |
setDownloadSet(boolean isDownloadSet) |
void |
setEAuditFieldModified(boolean eAuditFieldModified)
Sets whether any of the fields enabled for electronic audit
are modified by the user, for any mbo in this set.
|
void |
setERMEntity(ERMEntity ermEntity)
Sets the ERMEntity of on the MboSet and sets the alwaysAppFieldFlags for each required attribute in the ERMEntity
|
void |
setESigFieldModified(boolean eSigFieldModified)
Sets whether any of the fields enabled for electronic signature
are modified by the user.
|
void |
setExcludeMeFromPropagation(boolean flag)
Sets the flag to excude a mboset from propagation
|
void |
setFederatedResources(java.lang.String federatedResourcesStr)
Pass the string that describes the federated resources to the processor.
|
void |
setFlag(long flag,
boolean state)
Set the mboset flags to the specified values.
|
void |
setFlag(long flag,
boolean state,
MXException mxe)
Set the mboset flags to the specified values.
|
void |
setFlags(long flags)
Deprecated.
Replaced by setFlag(long, boolean)
|
void |
setInsertCompanySet(java.lang.String compSet)
Sets the insert company set for the mboset.
|
void |
setInsertItemSet(java.lang.String itemSet)
Sets the insert item set for the mboset.
|
void |
setInsertOrg(java.lang.String org)
Sets the insert org for the mboset.
|
void |
setInsertSite(java.lang.String site)
Sets the insert site for the mboset.
|
void |
setLastESigTransId(java.lang.String id)
sets last esig transaction id.
|
boolean |
setLogLargFetchResultDisabled(boolean disable)
Pass true to disable loging of large fetch result set over a limit.
|
void |
setMboCtx(java.lang.String propName,
java.lang.Object o) |
void |
setMboSetInfo(MboSetInfo ms)
Set the MboInfo object that describes this collections
Used internally.
|
void |
setMXTransaction(MXTransaction txn)
Sets the currently active transaction for this object.
|
void |
setNoNeedtoFetchFromDB(boolean flag)
Returns the flag if true indicating there is no need to query the database, the
result will be empty anyway.
|
protected void |
setNoSaveFlag(boolean state) |
void |
setOrderBy(java.lang.String orderByClause)
Sets the SQL Order By clause that will be used for the database select criteria
for this object collection.
|
void |
setOrderByNVL(java.util.Map options) |
void |
setOverrideSelectClause(java.lang.StringBuffer selectClause) |
void |
setOverrideSelectFromClause(java.lang.String fromClause) |
void |
setOverrideSelectWhereClause(java.lang.String whereClause) |
void |
setOwner(MboRemote mbo)
Set the owner of this set.
|
void |
setPreserveOrderByCase(boolean value)
Set value of
preserveOrderByCase , which is used in
buildSelectStatement when appending the "order by" clause
to the Select statement. |
void |
setProxy(java.rmi.Remote proxy) |
void |
setQbe(java.lang.String[] attribute,
java.lang.String expression)
Similar to
setQbe(String attribute, String expression) , except that this will
OR together the same expression for multiple attributes. |
void |
setQbe(java.lang.String[] attribute,
java.lang.String[] expression)
Similar to
setQbe(String attribute, String expression) , except that this will
take array of expression and attributes. |
void |
setQbe(java.lang.String attribute,
MboSetRemote lookup)
Set QBE for this attribute to the values derived from the multiple
selection of the lookup mbo set passed in.
|
void |
setQbe(java.lang.String attribute,
java.lang.String expression)
Add an expression to the existing Qbe.
|
void |
setQbe(java.lang.String attribute,
java.lang.String[] expression)
Qbe to take array of values for an attribute.
|
void |
setQbeCaseSensitive(boolean state)
Defines whether QBE is case sensitive.
|
void |
setQbeCaseSensitive(java.lang.String state)
Set the QBE to be case sensitive or not.
|
void |
setQbeExactMatch(boolean state)
Defines whether QBE should use exact match.
|
void |
setQbeExactMatch(java.lang.String state)
Set if QBE should use exact match.
|
void |
setQbeOperatorOr()
Set the qbe operator OR
|
void |
setQueryBySiteQbe() |
void |
setQueryTimeout(int queryTimeout) |
void |
setRelationName(java.lang.String relationName)
This method sets the relationship name used to created this set
when this set is obtained from a mbo.
|
void |
setRelationship(java.lang.String relationClause)
Set the SQL WHERE clause that will be used to define a relationship between
this object and it's parent.
|
void |
setRequiedFlagsFromERM()
Get the ERMEntity associated with the MboSet (if there is one) and determines if the ERMEntity has
any required fields and sets the required app always Field Flag on the MboSet for each required one.
|
void |
setRetainMboPosition(boolean retainMboPosition)
Sets the current MboSet's mbo position to be retained after save.
|
void |
setSetOrderByForUI(java.lang.String orderBy) |
void |
setSkipFirstNRows(int skipRows)
Set how many rows to skip when fetching from the MboSet.
|
void |
setSQLOptions(java.lang.String sqlOptions)
Sets the SQL Options to be added to the select statement.
|
void |
setTableDomainLookup(boolean flag)
Sets the tableDomainLookup flag to indicate that the this set
is associated with a table domain lookup.
|
void |
setTxnPropertyMap(java.util.Map map)
Sets the property map for transaction
|
java.io.InputStream |
setupLongOpPipe()
Setup pipe for long op messages.
|
void |
setUserWhere(java.lang.String userWhere)
Sets the user defined where clause.
|
void |
setUserWhereAfterParse(java.lang.String where)
Set the user where.
|
void |
setValue(java.lang.String attributeName,
boolean val)
Sets an attribute value identified by name within the current Mbo in this set.
|
void |
setValue(java.lang.String attributeName,
boolean val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifier.
|
void |
setValue(java.lang.String attributeName,
byte val)
Sets an attribute value identified by name within the current object.
|
void |
setValue(java.lang.String attributeName,
byte[] val)
Sets an attribute value identified by name within the current object.
|
void |
setValue(java.lang.String attributeName,
byte[] val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifiers.
|
void |
setValue(java.lang.String attributeName,
byte val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifiers.
|
void |
setValue(java.lang.String attributeName,
java.util.Date val)
Sets an attribute value identified by name within the current Mbo in this set.
|
void |
setValue(java.lang.String attributeName,
java.util.Date val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifiers.
|
void |
setValue(java.lang.String attributeName,
double val)
Sets an attribute value identified by name within the current Mbo in this set.
|
void |
setValue(java.lang.String attributeName,
double val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifier.
|
void |
setValue(java.lang.String attributeName,
float val)
Sets an attribute value identified by name within the current Mbo in this set.
|
void |
setValue(java.lang.String attributeName,
float val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifiers.
|
void |
setValue(java.lang.String attributeName,
int val)
Sets an attribute value identified by name within the current Mbo in this set.
|
void |
setValue(java.lang.String attributeName,
int val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifiers
|
void |
setValue(java.lang.String attributeName,
long val)
Sets an attribute value identified by name within the current Mbo in this set.
|
void |
setValue(java.lang.String attributeName,
long val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifier.
|
void |
setValue(java.lang.String attributeName,
MboRemote source)
Sets an attribute value and its related values composing the foreign key
to the values of the corrensponding fields of the lookup MBO.
|
void |
setValue(java.lang.String attributeName,
MboSetRemote source)
Sets an attribute value and its related values composing the foreign key
to the values of the corrensponding fields of the current MBO of the lookup MBO set.
|
void |
setValue(java.lang.String attributeName,
short val)
Sets an attribute value identified by name within the current Mbo in this set.
|
void |
setValue(java.lang.String attributeName,
short val,
long accessModifier)
Sets an attribute value identified by name within the current object
using the specified access modifiers.
|
void |
setValue(java.lang.String attributeName,
java.lang.String val)
Sets an attribute value identified by name within the current Mbo in this set.
|
void |
setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
Sets an attribute value identified by name within the current object using
the specified access modifiers.
|
void |
setValueNull(java.lang.String attributeName)
Sets an attribute value identified by name within the current object to null.
|
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.
|
void |
setWhere(java.lang.String whereClause)
Sets the SQL Where clause that will be used for the database select criteria
for this object collection.
|
void |
setWhereQbe(java.lang.String attribute,
java.lang.String value,
java.lang.String where)
Sets the where clause for the QBE.
|
MboSetRemote |
smartFill(int row,
java.lang.String attributeName,
java.lang.String value,
boolean exact)
Get a list of valid values of the attribute on the
MBO specified by the row based on the QBE set by the
value.
|
MboSetRemote |
smartFill(java.lang.String attributeName,
java.lang.String value,
boolean exact)
Get a list of valid values of the attribute based on the QBE set by the
value.
|
MboSetRemote |
smartFind(int row,
java.lang.String attributeName,
java.lang.String value,
boolean exact)
Get a list of valid values of the attribute on the
MBO specified by the row based on the QBE set by the
value.
|
MboSetRemote |
smartFind(int row,
java.lang.String objectName,
java.lang.String attributeName,
java.lang.String value,
boolean exact)
Get a list of valid values of the specified object based on the attribute value
specified of this mbo.
|
MboSetRemote |
smartFind(java.lang.String attributeName,
java.lang.String value,
boolean exact)
Get a list of valid values of the attribute based on the QBE set by the
value.
|
MboSetRemote |
smartFind(java.lang.String objectName,
java.lang.String attributeName,
java.lang.String value,
boolean exact)
Get a list of valid values of the specified object based on the attribute value
specified of this mbo.
|
void |
sort() |
static java.lang.String[] |
splitOrderBy(java.lang.String query)
Split the query into two parts, first part is where clause, second part is order by clause.
|
void |
startCheckpoint()
Save the current value for later rollback.
|
void |
startCheckpoint(int i)
Save the current value for later rollback for the given mbo.
|
double |
sum(java.lang.String attributeName)
Returns the sum of all values for the specified attribute within the set.
|
boolean |
toBeSaved()
Has the collection be modified in any way so that it needs to be
put in storage ?
|
void |
undeleteAll()
Undelete all the members of the set
|
void |
undoTransaction(MXTransaction txn)
Undo the transaction AFTER it has been committed.
|
void |
unselect(int index)
Marks the Mbo at the specified index Unselected.
|
void |
unselect(int startIndex,
int count)
Marks the a set of Mbos starting from startIndex Unselected.
|
void |
unselect(java.util.Vector mboIndices)
Marks a set of mbos unselected by using the mbo indices.
|
void |
unselectAll()
Marks all the Mbos in the set unselected.
|
protected void |
updateMbo(java.sql.Connection con,
Mbo mbo)
Fires a SQL UPDATE statement
Syntax:
UPDATE tablename
SET columnname = value
WHERE whereclause
|
protected void |
updateMboSetRetainMboPositionData(MboSetRemote currentMboSet,
MboSetRetainMboPositionData mboSetRetainMboPositionData)
Updates the retain mbo position data for the set
|
protected void |
updateRelatedMboSetRetainMboPositionData(Mbo currentMbo,
MboSetRetainMboPositionData mboSetRetainMboPositionData,
MboSetRetainMboPositionInfo mboSetRetainMboPositionInfo)
Update the position data for related MboSets.
|
void |
useStoredQuery(java.lang.String queryName)
Uses the stored query as the user defined query that overrides
the QBE.
|
void |
validate()
Validate all objects in the collection that have been modified.
|
boolean |
validateTransaction(MXTransaction txn)
validate the object for the specified transaction
|
boolean |
verifyESig(java.lang.String loginid,
java.lang.String password,
java.lang.String reason)
Verifies the loginid and password and if they are correct, then
writes out an esig record.
|
public static int LOOKUPMAXROW
protected java.util.Vector mboVec
protected java.util.Vector mrdVec
protected boolean toBeSaved
protected boolean dmDeploySet
protected boolean dmDeploySkipFieldValidation
public static java.lang.String strNoBaseLangValueEntered
public static boolean fetchStopLimitEnabled
public static java.util.Set mboCountCleanuplist
public static java.lang.ThreadLocal perfStats
public int maxSorterSize
public MboSet(MboServerInterface ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public void setNoNeedtoFetchFromDB(boolean flag) throws java.rmi.RemoteException
setNoNeedtoFetchFromDB
in interface MboSetRemote
java.rmi.RemoteException
MboSet.setNoNeedtoFetchFromDB(boolean)
public final void init(UserInfo user) throws MXException, java.rmi.RemoteException
init
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void setProxy(java.rmi.Remote proxy)
setProxy
in interface MaxRemoteProxy
public java.rmi.Remote getProxy()
getProxy
in interface MaxRemoteProxy
public void init() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
MboSet.setOwner(MboRemote)
public void initDataDictionary()
public void setApp(java.lang.String appName) throws java.rmi.RemoteException
setApp
in interface MboSetRemote
java.rmi.RemoteException
MboSet.setApp(String appName)
public java.lang.String getApp() throws java.rmi.RemoteException
getParentApp
.getApp
in interface MboSetRemote
java.rmi.RemoteException
public java.lang.String getParentApp() throws MXException, java.rmi.RemoteException
getParentApp
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.getParentApp()
public MboValueData getMboSetValueData(java.lang.String attribute) throws MXException, java.rmi.RemoteException
attribute
- The attribute whose characteristics are requested.MXException
java.rmi.RemoteException
public MboRemote getZombie() throws java.rmi.RemoteException
getZombie
in interface MboSetRemote
java.rmi.RemoteException
public MboRemote getOwner()
getOwner
in interface MboSetRemote
public void setOwner(MboRemote mbo) throws MXException, java.rmi.RemoteException
setOwner
in interface MboSetRemote
MXException
java.rmi.RemoteException
public MboSetData getMboSetData(java.lang.String[] attributes) throws java.rmi.RemoteException
getMboSetData
in interface MboSetRemote
java.rmi.RemoteException
MboSet.getMboSetData(String[])
public MboSetData getMboSetData(int row, int count, java.lang.String[] attributes) throws MXException, java.rmi.RemoteException
getMboSetData
in interface MboSetRemote
MXException
java.rmi.RemoteException
public MboValueData[] getMboSetValueData(java.lang.String[] attribute) throws MXException, java.rmi.RemoteException
getMboSetValueData
in interface MboSetRemote
attribute
- The array of attributes whose characteristics are being requested.MXException
java.rmi.RemoteException
MboSet.getMboSetValueData(String[])
public MboValueData getMboValueData(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getMboValueData
in interface MboSetRemote
attribute
- The attribute whose characteristics are requested.MXException
java.rmi.RemoteException
MboSet.getMboValueData(String)
public MboValueData[] getMboValueData(java.lang.String[] attribute) throws MXException, java.rmi.RemoteException
getMboValueData
in interface MboSetRemote
attribute
- Array of attributes whose characteristics are requested.MXException
java.rmi.RemoteException
MboSet.getMboValueData(String[])
public MboValueInfoStatic getMboValueInfoStatic(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getMboValueInfoStatic
in interface MboSetRemote
MXException
java.rmi.RemoteException
Mbo.getMboValueInfoStatic(String )
public MboValueInfoStatic[] getMboValueInfoStatic(java.lang.String[] attribute) throws MXException, java.rmi.RemoteException
getMboValueInfoStatic
in interface MboSetRemote
MXException
java.rmi.RemoteException
Mbo.getMboValueInfoStatic(String[])
@TracePrimary public MboValueData[][] getMboValueData(int rowStart, int rowCount, java.lang.String[] attribute) throws MXException, java.rmi.RemoteException
getMboValueData
in interface MboSetRemote
rowStart
- The position within this MboSet of the first Mbo whose
MboValueData is being requested. The row number of the first Mbo in a
MboSet is 0.rowCount
- The number of rows whose MboValueData is being requested.attribute
- Array of attributes whose characteristics are requested.MXException
java.rmi.RemoteException
MboSet.getMboValueData(int, int, String[])
public java.util.Locale getClientLocale()
public java.util.TimeZone getClientTimeZone()
public void setWhere(java.lang.String whereClause)
setWhere
in interface MboSetRemote
whereClause
- The SQL string for the Where clause,
with or without the "where
" literal.MboSet.reset()
,
MboSet.getMbo()
public java.lang.String getWhere()
getWhere
in interface MboSetRemote
public void setUserWhere(java.lang.String userWhere) throws MXException, java.rmi.RemoteException
setUserWhere
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.setUserWhere(String whereClause)
public void setUserWhereAfterParse(java.lang.String where) throws MXException, java.rmi.RemoteException
setUserWhereAfterParse
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.setUserWhereAfterParse(String)
public java.lang.String getUserWhere() throws MXException, java.rmi.RemoteException
getUserWhere
in interface MboSetRemote
MXException
java.rmi.RemoteException
public java.lang.String getUserWhere(java.lang.String alias) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getUserAndQbeWhere() throws MXException, java.rmi.RemoteException
getUserAndQbeWhere
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void useStoredQuery(java.lang.String queryName) throws MXException, java.rmi.RemoteException
useStoredQuery
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.useStoredQuery(String queryName)
public static java.lang.String[] splitOrderBy(java.lang.String query)
query
- public void setSQLOptions(java.lang.String sqlOptions) throws java.rmi.RemoteException
setSQLOptions
in interface MboSetRemote
sqlOptions
- The SQL options for the select stmt,java.rmi.RemoteException
MboSet.reset()
,
MboSet.getMbo()
public java.lang.String getSQLOptions() throws java.rmi.RemoteException
getSQLOptions
in interface MboSetRemote
java.rmi.RemoteException
public MboRemote findKey(java.lang.Object keyObject) throws MXException, java.rmi.RemoteException
findKey
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void setRelationship(java.lang.String relationClause)
setRelationship
in interface MboSetRemote
public java.lang.String getRelationship()
getRelationship
in interface MboSetRemote
public void setOrderBy(java.lang.String orderByClause) throws MXException
reset()
.setOrderBy
in interface MboSetRemote
orderByClause
- The SQL for the Order By clause,
without the literal "orderby
".MXException
MboSet.reset()
,
MboSet.getMbo()
public void setOrderByNVL(java.util.Map options) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getOrderBy()
getOrderBy
in interface MboSetRemote
public void setDefaultOrderBy() throws MXException
setDefaultOrderBy
in interface MboSetRemote
MXException
public void setPreserveOrderByCase(boolean value) throws java.rmi.RemoteException
preserveOrderByCase
, which is used in
buildSelectStatement
when appending the "order by" clause
to the Select statement. This defaults to false because normally the "order by" members
are column names that should be converted to lower case. PreserveOrderByCase sould be
set to True only if the "order by" contains something unusual like a CASE
statement.java.rmi.RemoteException
public MboRemote moveToKey(KeyValue keyVal) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote moveNext() throws MXException, java.rmi.RemoteException
moveNext
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.getMbo(int)
public MboRemote movePrev() throws MXException, java.rmi.RemoteException
movePrev
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.getMbo(int)
public MboRemote moveFirst() throws MXException, java.rmi.RemoteException
moveFirst
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.getMbo(int)
public MboRemote moveLast() throws MXException, java.rmi.RemoteException
moveLast
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.fetchMbos()
,
MboSet.getMbo(int)
public MboRemote moveTo(int pos) throws MXException, java.rmi.RemoteException
moveTo
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.getMbo(int)
public int getCurrentPosition()
getCurrentPosition
in interface MboSetRemote
public MboRemote getMbo()
getMbo
in interface MboSetRemote
MboSet.reset()
@TraceSecondary public MboRemote getMbo(int index) throws MXException, java.rmi.RemoteException
getMbo
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.fetchMbos(int)
,
MboSet.loadMboVecFromMrd(int)
protected abstract Mbo getMboInstance(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public final java.lang.String getName()
getName
in interface MboSetRemote
@TracePrimary protected void addMbo(Mbo mbo, int i)
MboSet.fetchMbos(int)
,
MboSet.mboVec
@TraceSecondary protected void addMbo(Mbo mbo)
MboSet.mboVec
public int newMboIndex()
newMboIndex
in interface MboSetRemote
public boolean processML() throws MXException, java.rmi.RemoteException
processML
in interface MboSetRemote
MXException
java.rmi.RemoteException
public java.lang.String getSelectWhereClause() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.StringBuffer getSelectClause() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.StringBuffer getSelectClause(java.util.HashMap langTableNames) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setOverrideSelectClause(java.lang.StringBuffer selectClause)
public void setOverrideSelectFromClause(java.lang.String fromClause)
public void setOverrideSelectWhereClause(java.lang.String whereClause)
protected java.lang.String addAliasForML(java.lang.String where)
protected static java.lang.String addAliasForML(java.lang.String where, java.lang.String entityName)
where
- public java.lang.String getFromClause() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.StringBuffer getMLFromClause(boolean useSchemaOwner) throws MXException, java.rmi.RemoteException
getMLFromClause
in interface MboSetRemote
useSchemaOwner,
- should schema owner as the prefix for the table name.MXException
java.rmi.RemoteException
public MboRemote fetchNext() throws MXException, java.rmi.RemoteException
fetchNext
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.fetchMbos(int)
,
MboSet.loadMboVecFromMrd(int)
,
MboSet.mboVec
,
MboSet.fetchNextIndex
protected boolean isInMemorySort()
public boolean forceDBSort(java.lang.String attrName)
attrName
- public java.lang.String appendToWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getUserPrefWhere()
public int getSize()
getSize
in interface MboSetRemote
MboSet.getSize()
public int count() throws MXException, java.rmi.RemoteException
count(COUNT_EXISTING)
.count
in interface MboSetRemote
count(COUNT_EXISTING)
.
Equals the sum of the count from the database
plus newly added Mbos that have not yet been saved.MXException
java.rmi.RemoteException
MboSet.count(int)
public int count(int countConstant) throws MXException, java.rmi.RemoteException
countConstant
parameter is a constant
from psdi.mbo.MboConstants
.count
in interface MboSetRemote
countConstant
- one of the constants from psdi.mbo.MboConstants
.
The list below shows each constant and describes the count returned for each.
COUNT_DATABASE
)
plus newly added Mbos that have not yet been saved (COUNT_ADDITIONS
).
COUNT_DATABASE
)
plus newly added Mbos that have not yet been saved (COUNT_ADDITIONS
)
minus Mbos marked for deletion that have not yet been saved
(COUNT_DELETED
).
MXException
java.rmi.RemoteException
MboConstants
public void incrementDeletedCount(boolean inc)
incrementDeletedCount
in interface MboSetRemote
public double avg(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double sum(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
sum
in interface MboSetRemote
attributeName
- The attribute to be summed.MXException
java.rmi.RemoteException
MboSet.sum(String attribute)
public double max(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
max
in interface MboSetRemote
attributeName
- The attribute to be maxed.MXException
java.rmi.RemoteException
MboSet.latestDate(java.lang.String)
public double min(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
min
in interface MboSetRemote
attributeName
- The attribute to be min'ed.MXException
java.rmi.RemoteException
MboSet.earliestDate(java.lang.String)
public java.util.Date latestDate(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
latestDate
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.max(java.lang.String)
public java.util.Date earliestDate(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
earliestDate
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.min(java.lang.String)
public final boolean isEmpty() throws MXException, java.rmi.RemoteException
isEmpty
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.notExist()
public final boolean notExist() throws MXException, java.rmi.RemoteException
notExist
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.notExist()
public final MboRemote add() throws MXException, java.rmi.RemoteException
Mbo.setValue()
methods to set attribute values. The next time the
save()
method is called, the new Mbo
will be saved to the database.add
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.save()
,
Mbo.setValue(String, String)
,
This method is ultimately called to add the Mbo.
public final MboRemote addAtEnd() throws MXException, java.rmi.RemoteException
Mbo.setValue()
methods to set attribute values. The next time the
save()
method is called, the new Mbo
will be saved to the database.addAtEnd
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.save()
,
Mbo.setValue(String, String)
,
This method is ultimately called to add the Mbo.
public final MboRemote addAtIndex(int ind) throws MXException, java.rmi.RemoteException
Mbo.setValue()
methods to set attribute values. The next time the
save()
method is called, the new Mbo
will be saved to the database.addAtIndex
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.save()
,
Mbo.setValue(String, String)
,
This method is ultimately called to add the Mbo.
public void canAdd() throws MXException
MXException
public void deleteAll() throws MXException, java.rmi.RemoteException
deleteAll
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.deleteAll()
public void deleteAll(long accessModifier) throws MXException, java.rmi.RemoteException
deleteAll
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void undeleteAll() throws MXException, java.rmi.RemoteException
undeleteAll
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.undeleteAll()
public final MboRemote add(long accessModifier) throws MXException, java.rmi.RemoteException
add
in interface MboSetRemote
MXException
java.rmi.RemoteException
This method is ultimately called to add the Mbo.
public final MboRemote addAtEnd(long accessModifier) throws MXException, java.rmi.RemoteException
addAtEnd
in interface MboSetRemote
MXException
java.rmi.RemoteException
This method is ultimately called to add the Mbo.
public final MboRemote addFakeAtEnd() throws MXException, java.rmi.RemoteException
addFakeAtEnd
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.addFakeAtEnd()
@TracePrimary public MboRemote addAtIndex(long accessModifier, int ind) throws MXException, java.rmi.RemoteException
addAtIndex
in interface MboSetRemote
accessModifier
- Determines whether an access check is made.ind
- Where to add the new Mbo. Zero is the beginning, while -1 will put the Mbo at
the end of the MboSet.MXException
java.rmi.RemoteException
MboSet.getMboInstance(psdi.mbo.MboSet)
,
MboSet.addMbo(Mbo)
,
MboSet.addMbo(Mbo, int)
,
MboSet.moveTo(int)
public void clear() throws MXException, java.rmi.RemoteException
clear
in interface MboSetRemote
MXException
java.rmi.RemoteException
@TraceSecondary public void remove() throws MXException, java.rmi.RemoteException
remove
in interface MboSetRemote
MXException
java.rmi.RemoteException
@TraceSecondary public void remove(int pos) throws MXException, java.rmi.RemoteException
remove
in interface MboSetRemote
MXException
java.rmi.RemoteException
@TraceSecondary public void remove(MboRemote mbo) throws MXException, java.rmi.RemoteException
remove
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void deleteAndRemove() throws MXException, java.rmi.RemoteException
deleteAndRemove
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void deleteAndRemove(int pos) throws MXException, java.rmi.RemoteException
deleteAndRemove
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void deleteAndRemove(int pos, long accessModifier) throws MXException, java.rmi.RemoteException
deleteAndRemove
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void deleteAndRemove(MboRemote mbo) throws MXException, java.rmi.RemoteException
deleteAndRemove
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void deleteAndRemove(MboRemote mbo, long accessModifier) throws MXException, java.rmi.RemoteException
deleteAndRemove
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void deleteAndRemoveAll() throws MXException, java.rmi.RemoteException
deleteAndRemoveAll
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void deleteAndRemoveAll(long accessModifier) throws MXException, java.rmi.RemoteException
MboSetRemote
deleteAndRemoveAll
in interface MboSetRemote
MXException
java.rmi.RemoteException
public boolean toBeSaved() throws java.rmi.RemoteException
toBeSaved
in interface MboSetRemote
java.rmi.RemoteException
public void close() throws MXException, java.rmi.RemoteException
close
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void cancelAndClose() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isClosed()
public void reset() throws MXException, java.rmi.RemoteException
reset
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.save()
public void clearToBeSaved()
If you have a MboSet that need to keep this flag set even when child sets are being reset and the owner has no direct changes, then this method can be overridden to do nothing. This is the case, for example, in Receiving, where overridden for POSet.
MboSet.toBeSaved()
public void resetForRefreshOnSave() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
@TracePrimary public void commit() throws MXException, java.rmi.RemoteException
commit
in interface MboSetRemote
MXException
java.rmi.RemoteException
@TracePrimary public void rollback() throws MXException, java.rmi.RemoteException
rollback
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboSetRemote
MXException
java.rmi.RemoteException
public MboSetRemote getList(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
tableX.getList(String attributeName)
will return a set of Asset. To obtain the actual values of each assetnum in that set,
you must call Mbo.getString("assetnum")
or a similar method for each member of the set.
getList(String attributeName)
will return null if no valid values can be identified. Calling
MboSet.getList(String attributeName)
is the same as calling
Mbo.getList(String attribute)
for the current Mbo. Typically, the way you define a list of valid values is
via a field validation class for a given MboSet and attribute. The field
validation classes are registered on the database in
maxsyscolumns2.customclassname
.getList
in interface MboSetRemote
attributeName
- The attribute for which you want the list of valid values.MXException
java.rmi.RemoteException
Mbo.getString(java.lang.String, java.lang.String)
,
Mbo.getList(String)
public MboSetRemote getList(int row, java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getList
in interface MboSetRemote
MXException
java.rmi.RemoteException
public MboSetRemote smartFill(java.lang.String attributeName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFill
in interface MboSetRemote
attributeName
- value
- MXException
java.rmi.RemoteException
MboSet.smartFill(String, String, boolean);
public MboSetRemote smartFind(java.lang.String attributeName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFind
in interface MboSetRemote
attributeName
- value
- MXException
java.rmi.RemoteException
MboSet.smartFind(String, String, boolean);
public MboSetRemote smartFind(java.lang.String objectName, java.lang.String attributeName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFind
in interface MboSetRemote
attributeName
- value
- objectName
- MXException
java.rmi.RemoteException
MboSet.smartFind(String, String, String, boolean);
public MboSetRemote smartFill(int row, java.lang.String attributeName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFill
in interface MboSetRemote
attributeName
- value
- MXException
java.rmi.RemoteException
MboSet.smartFill(int, String, String, boolean);
public MboSetRemote smartFind(int row, java.lang.String objectName, java.lang.String attributeName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
attributeName
- value
- objectName
- MXException
java.rmi.RemoteException
public MboSetRemote smartFind(int row, java.lang.String attributeName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
attributeName
- value
- MXException
java.rmi.RemoteException
public java.lang.String getString(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
Mbo.getString(String)
.getString
in interface MboAccessInterface
attributeName
- The name of the attribute whose value should be retrieved.String
value of the attribute. If the attribute does not support
conversion to String
, an exception will be thrown.
Returns the string value of the attribute, in locale format.MXException
java.rmi.RemoteException
Mbo.getString(String)
public boolean getBoolean(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
Mbo.getBoolean(String)
.getBoolean
in interface MboAccessInterface
attributeName
- The name of the attribute whose value should be retrieved.boolean
value of the attribute. If the attribute does not support
conversion to boolean
, an exception will be thrown.MXException
java.rmi.RemoteException
Mbo.getBoolean(String)
public byte getByte(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getByte
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public int getInt(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
Mbo.getInt(String)
.getInt
in interface MboAccessInterface
attributeName
- The name of the attribute whose value should be retrieved.int
, an exception will be thrown.MXException
java.rmi.RemoteException
Mbo.getInt(String)
public long getLong(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
Mbo.getLong(String)
.getLong
in interface MboAccessInterface
attributeName
- The name of the attribute whose value should be retrieved.long
value of the attribute. If the attribute does not support
conversion to long
, an exception will be thrown.MXException
java.rmi.RemoteException
Mbo.getLong(String)
public float getFloat(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
Mbo.getFloat(String)
.getFloat
in interface MboAccessInterface
attributeName
- The name of the attribute whose value should be retrieved.float
value of the attribute. If the attribute does not support
conversion to float
, an exception will be thrown.MXException
java.rmi.RemoteException
Mbo.getFloat(String)
public double getDouble(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
Mbo.getDouble(String)
.getDouble
in interface MboAccessInterface
attributeName
- The name of the attribute whose value should be retrieved.double
value of the attribute. If the attribute does not support
conversion to double
, an exception will be thrown.MXException
java.rmi.RemoteException
Mbo.getDouble(String)
public java.util.Date getDate(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
Mbo.getDate(String)
.getDate
in interface MboAccessInterface
attributeName
- The name of the attribute whose value should be retrieved.java.util.Date
value of the attribute. If the attribute does not support
conversion to Date
, an exception will be thrown.MXException
java.rmi.RemoteException
Mbo.getDate(String)
public byte[] getBytes(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
getBytes
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public boolean isNull(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
isNull
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValueNull(java.lang.String attributeName) throws MXException, java.rmi.RemoteException
setValueNull
in interface MboAccessInterface
attributeName
- MXException
java.rmi.RemoteException
Mbo.setValueNull(String)
public void setValueNull(java.lang.String attributeName, long accessModifier) throws MXException, java.rmi.RemoteException
setValueNull
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, java.lang.String val) throws MXException, java.rmi.RemoteException
For Date, Datetime and Time fields:- This will use the locale and timezone of the UserInfo object with which this MboSet is created.
For boolean fields :- This will use the Y or N values for the server location. In order to avoid abiguity, the client should call setValue() passing a boolean value, rather than a string.
For synonym value attributes (string datatype), the value can be passed with the "!" prefix and suffix, and this function will substitute the appropriate translated external default value for the attribute. for example: "!WAPPR!" will update the field contents with the synonym value of WAPPR.
setValue
in interface MboAccessInterface
attributeName
- val
- Value to be setMXException
java.rmi.RemoteException
Mbo.setValue(String, String)
public void setValue(java.lang.String attributeName, java.lang.String val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, boolean val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
attributeName
- val
- Value to be setMXException
java.rmi.RemoteException
Mbo.setValue(String, boolean)
public void setValue(java.lang.String attributeName, boolean val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, byte val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, byte val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, short val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
attributeName
- val
- Value to be setMXException
java.rmi.RemoteException
Mbo.setValue(String, short)
public void setValue(java.lang.String attributeName, short val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, int val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
attributeName
- val
- Value to be setMXException
java.rmi.RemoteException
Mbo.setValue(String, int)
public void setValue(java.lang.String attributeName, int val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, long val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
attributeName
- val
- Value to be setMXException
java.rmi.RemoteException
Mbo.setValue(String, long)
public void setValue(java.lang.String attributeName, long val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, float val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
attributeName
- val
- Value to be setMXException
java.rmi.RemoteException
Mbo.setValue(String, float)
public void setValue(java.lang.String attributeName, float val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, double val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
attributeName
- val
- Value to be setMXException
java.rmi.RemoteException
Mbo.setValue(String, double)
public void setValue(java.lang.String attributeName, double val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, byte[] val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, byte[] val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, java.util.Date val) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
attributeName
- val
- Value to be setMXException
java.rmi.RemoteException
Mbo.setValue(String, java.util.Date)
public void setValue(java.lang.String attributeName, java.util.Date val, long accessModifier) throws MXException, java.rmi.RemoteException
setValue
in interface MboAccessInterface
MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, MboSetRemote source) throws MXException, java.rmi.RemoteException
attributeName
- source
- look MBO set.MXException
java.rmi.RemoteException
public void setValue(java.lang.String attributeName, MboRemote source) throws MXException, java.rmi.RemoteException
attributeName
- source
- lookup MBO.MXException
java.rmi.RemoteException
public void setMboSetInfo(MboSetInfo ms) throws java.rmi.RemoteException
setMboSetInfo
in interface MboSetRemote
java.rmi.RemoteException
public MboSetInfo getMboSetInfo()
getMboSetInfo
in interface MboSetRemote
public MboServerInterface getMboServer()
protected Translate getTranslator()
public UserInfo getUserInfo() throws java.rmi.RemoteException
getUserInfo
in interface MboSetRemote
java.rmi.RemoteException
public void resetQbe()
resetQbe
in interface MboSetRemote
MboSet.setQbe(String, String)
public void setQbeOperatorOr() throws MXException, java.rmi.RemoteException
setQbeOperatorOr
in interface MboSetRemote
MXException
java.rmi.RemoteException
@TracePrimary public void setQbe(java.lang.String[] attribute, java.lang.String expression) throws MXException, java.rmi.RemoteException
setQbe(String attribute, String expression)
, except that this will
OR
together the same expression for multiple attributes.
This is used for doing a keyword search.setQbe
in interface MboSetRemote
attribute
- Array of attribute names.expression
- See description for setQbe(String, String)
.MXException
java.rmi.RemoteException
MboSet.resetQbe()
,
MboSet.setQbe(String, String)
,
MboSet.reset()
,
MboSet.getMbo()
@TracePrimary public void setQbe(java.lang.String attribute, java.lang.String[] expression) throws MXException, java.rmi.RemoteException
MboSetRemote
setQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
@TracePrimary public void setQbe(java.lang.String[] attribute, java.lang.String[] expression) throws MXException, java.rmi.RemoteException
setQbe(String attribute, String expression)
, except that this will
take array of expression and attributes.setQbe
in interface MboSetRemote
attribute
- Array of attribute names.expression
- Array of expression.MXException
java.rmi.RemoteException
MboSet.resetQbe()
,
MboSet.setQbe(String, String)
,
MboSet.reset()
,
MboSet.getMbo()
public void setQbeExactMatch(java.lang.String state) throws java.rmi.RemoteException
setQbeExactMatch
in interface MboSetRemote
java.rmi.RemoteException
public void setQbeExactMatch(boolean state) throws java.rmi.RemoteException
setQbeExactMatch
in interface MboSetRemote
state
- true = exact match, false = not exact match (default)java.rmi.RemoteException
MboSet.setQbeExactMatch(boolean)
public boolean isQbeExactMatch()
isQbeExactMatch
in interface MboSetRemote
public void ignoreQbeExactMatchSet(boolean flag) throws MXException, java.rmi.RemoteException
ignoreQbeExactMatchSet
in interface MboSetRemote
java.rmi.RemoteException
MXException
public boolean isIgnoreQbeExactMatchSet()
public boolean isQbeCaseSensitive()
isQbeCaseSensitive
in interface MboSetRemote
public void setQbeCaseSensitive(boolean state) throws java.rmi.RemoteException
setQbeCaseSensitive
in interface MboSetRemote
state
- true = case sensitive, false = not case sensitive (default)java.rmi.RemoteException
MboSet.setQbeCaseSensitive(boolean)
public void setQbeCaseSensitive(java.lang.String state) throws java.rmi.RemoteException
setQbeCaseSensitive
in interface MboSetRemote
java.rmi.RemoteException
public java.lang.String[] getQbe(java.lang.String[] attributes) throws java.rmi.RemoteException
getQbe
in interface MboSetRemote
java.rmi.RemoteException
public java.lang.String[][] getQbe() throws MXException, java.rmi.RemoteException
getQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
public boolean hasQbe() throws MXException, java.rmi.RemoteException
hasQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void setFlags(long flags)
setFlags
in interface MboSetRemote
MboSet.setFlag(long, boolean)
public long getFlags()
getFlags
in interface MboSetRemote
MboSet.isFlagSet(long)
public void setFlag(long flag, boolean state)
setFlag
in interface MboSetRemote
protected void setNoSaveFlag(boolean state)
protected void setDiscardableFlag(boolean state)
public void setFlag(long flag, boolean state, MXException mxe)
setFlag
in interface MboSetRemote
public boolean isFlagSet(long flag)
isFlagSet
in interface MboSetRemote
public void applyRowSecurity() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public BitFlag getAlwaysFlags()
public BitFlag getAlwaysFlags(java.lang.String attr)
public void enableMethod(java.lang.String methodName, boolean state)
public void checkMethodAccess(java.lang.String methodName, long accessModifier) throws MXException, java.rmi.RemoteException
If Profile says that the user is not active, throw new MXInactiveUserException (access-invaliduser).
If methodName is ADD, then check security profile for INSERT. (This particular check does not look at conditional sigoption, since we have not yet provided values on the new Mbo.)
Generally speaking, if we're not checking methodName ADD, then security checks should be done
against the Mbo, not the set. See sigopGranted
.
MXException
java.rmi.RemoteException
Profile.getUserStatus()
,
Profile.getAppOptionAuth(java.lang.String, java.lang.String, java.lang.String)
public final void checkMethodAccess(java.lang.String methodName) throws MXException, java.rmi.RemoteException
checkMethodAccess
in interface MboSetRemote
java.rmi.RemoteException
MXException
public java.lang.String getUserName() throws MXException, java.rmi.RemoteException
getUserName
in interface MboSetRemote
MXException
java.rmi.RemoteException
public ProfileRemote getProfile() throws MXException, java.rmi.RemoteException
getProfile
in interface MboSetRemote
MXException
java.rmi.RemoteException
SecurityService.getProfile(psdi.security.UserInfo)
public final void copy(MboSetRemote mboset) throws MXException, java.rmi.RemoteException
copy
in interface MboSetRemote
mboset
- The set into which the new mbos will be added.MXException
java.rmi.RemoteException
MboSet.copy(MboSetRemote, long)
public final void copy(MboSetRemote mboset, long mboAddFlags) throws MXException, java.rmi.RemoteException
mboset
- The set into which the new mbos will be added.mboAddFlags
- Flags to use when adding the new Mbos.MXException
java.rmi.RemoteException
Mbo.copy(MboSetRemote, long)
public final void copy(MboSetRemote sourceSet, java.lang.String[] srcAttributes, java.lang.String[] destAttributes) throws MXException, java.rmi.RemoteException
copy
in interface MboSetRemote
sourceSet
- set from which to copy the mbo values.srcAttributes
- attributes to be copied from the source set mbos.destAttributes
- attributes in the current set mbos that need to be set.MXException
java.rmi.RemoteException
public void copyForDM(MboSetRemote mboset, int begin, int size) throws MXException, java.rmi.RemoteException
copyForDM
in interface MboSetRemote
mboset
- The set into which the new mbos will be added.begin
- The beginning index of the mbo to start copying.size
- The number of mbos to copy.MXException
java.rmi.RemoteException
psdi.mbo.Mbo#copy(MboSetRemote, int, int)
public MboSetRemote getSharedMboSet(java.lang.String objectName, java.lang.String relationship) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MXException[] getWarnings() throws java.rmi.RemoteException
getWarnings
in interface MboSetRemote
java.rmi.RemoteException
MboSet.hasWarnings()
,
MboSet.clearWarnings()
,
MboSet.addWarning(psdi.util.MXException)
public void clearWarnings()
public boolean hasWarnings() throws java.rmi.RemoteException
hasWarnings
in interface MboSetRemote
java.rmi.RemoteException
public void addWarning(MXException e)
addWarning
in interface MboSetRemote
public void addWarnings(MXException[] es)
addWarnings
in interface MboSetRemote
es
- An array of MXExceptions. It is normally obtained from getWarnings().public void setMXTransaction(MXTransaction txn) throws java.rmi.RemoteException
setMXTransaction
in interface MboSetRemote
java.rmi.RemoteException
public MXTransaction getMXTransaction() throws java.rmi.RemoteException
getMXTransaction
in interface MboSetRemote
java.rmi.RemoteException
@TracePrimary public void save() throws MXException, java.rmi.RemoteException
save
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.reset()
@TracePrimary public void save(long flags) throws MXException, java.rmi.RemoteException
save
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void save(MXTransaction txn) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void save(MXTransaction txn, long flags) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
MboSet.save(long)
@TracePrimary public void saveTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
saveTransaction
in interface Transactable
txn
- Transaction that cuased the saveMXException
- Error while savingjava.rmi.RemoteException
- Network errorMbo.checkSiteOrgAccessForSave()
public boolean validateTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
validateTransaction
in interface Transactable
txn
- Transaction that caused the saveMXException
- Error while committingjava.rmi.RemoteException
- Network errorpublic void saveMbos() throws MXException, java.rmi.RemoteException
txn
- MXException
java.rmi.RemoteException
public void fireEventsBeforeDB(MXTransaction txn) throws MXException, java.rmi.RemoteException
fireEventsBeforeDB
in interface Transactable
txn
- TransactionMXException
- Error while committingjava.rmi.RemoteException
- Network errorpublic void fireEventsAfterDB(MXTransaction txn) throws MXException, java.rmi.RemoteException
fireEventsAfterDB
in interface Transactable
txn
- TransactionMXException
- Error while committingjava.rmi.RemoteException
- Network errorpublic void fireEventsAfterDBCommit(MXTransaction txn) throws MXException, java.rmi.RemoteException
fireEventsAfterDBCommit
in interface Transactable
txn
- TransactionMXException
- Error while committingjava.rmi.RemoteException
- Network errorpublic void commitTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
commitTransaction
in interface Transactable
txn
- Transaction that caused the commitMXException
- Error while committingjava.rmi.RemoteException
- Network errorpublic void rollbackTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
rollbackTransaction
in interface Transactable
txn
- Transaction that caused the rollbackMXException
- Error while rolling backjava.rmi.RemoteException
- Network errorpublic void undoTransaction(MXTransaction txn) throws MXException, java.rmi.RemoteException
undoTransaction
in interface Transactable
txn
- Transaction that caused the undoMXException
- Error while undoingjava.rmi.RemoteException
- Network error@TraceSecondary protected void insertMbo(java.sql.Connection con, Mbo mbo) throws MXException, java.rmi.RemoteException, java.sql.SQLException
con
- Connectionmbo
- MboMXException
java.rmi.RemoteException
java.sql.SQLException
MboSet.handleMLMbo(Mbo, String)
,
MboSet.eAuditMbo(Connection, Mbo, String)
@TracePrimary protected void deleteMbo(java.sql.Connection con, Mbo mbo) throws MXException, java.rmi.RemoteException, java.sql.SQLException
con
- Connectionmbo
- MboMXException
java.rmi.RemoteException
java.sql.SQLException
MboSet.handleMLMbo(Mbo, String)
,
MboSet.eAuditMbo(Connection, Mbo, String)
@TracePrimary protected void updateMbo(java.sql.Connection con, Mbo mbo) throws MXException, java.rmi.RemoteException, java.sql.SQLException
con
- Connectionmbo
- MboMXException
java.rmi.RemoteException
java.sql.SQLException
MboSet.handleMLMbo(Mbo, String)
,
MboSet.eAuditMbo(Connection, Mbo, String)
protected void setBindValueAsBytes(java.sql.PreparedStatement pstmt, int bindIndex, byte[] value, java.lang.String columnName) throws java.sql.SQLException, MXException
java.sql.SQLException
MXException
public void logRowUpdatedException(MXRowUpdateException mxr)
public java.lang.String getQbeWhere() throws MXException, java.rmi.RemoteException
getQbeWhere
in interface MboSetRemote
MXException
java.rmi.RemoteException
public boolean isLookup() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getQualifiedWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
MboSet.isLookup()
,
MboSet.getAllowQualifiedRestriction()
,
MboSet.getRowRestrictions(int)
public DataRestrictionCache.RestrictionBundle getAttrRestrictions(int levelRequested, java.lang.String attr) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public DataRestrictionCache.RestrictionBundle getRowRestrictions(int levelRequested) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getMaxAppsWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
Calls this method.
public void setTableDomainLookup(boolean flag)
setTableDomainLookup
in interface MboSetRemote
public boolean isTableDomainLookup()
public void setDMDeploySet(boolean flag) throws MXException, java.rmi.RemoteException
setDMDeploySet
in interface MboSetRemote
true
- or falseMXException
java.rmi.RemoteException
public boolean isDMDeploySet() throws MXException, java.rmi.RemoteException
isDMDeploySet
in interface MboSetRemote
MXException
java.rmi.RemoteException
public boolean isDMSkipFieldValidation() throws MXException, java.rmi.RemoteException
isDMSkipFieldValidation
in interface MboSetRemote
true
- or falseMXException
java.rmi.RemoteException
public void setDMSkipFieldValidation(boolean flag) throws MXException, java.rmi.RemoteException
setDMSkipFieldValidation
in interface MboSetRemote
true
- or falseMXException
java.rmi.RemoteException
public java.lang.String getCompleteWhere() throws MXException, java.rmi.RemoteException
getCompleteWhere
in interface MboSetRemote
MXException
java.rmi.RemoteException
@TracePrimary public void setQbe(java.lang.String attribute, java.lang.String expression) throws MXException, java.rmi.RemoteException
setQbe(String, String)
can be called multiple times before initiating the fetch, in which case
the expressions will be AND
ed together.setQbe
in interface MboSetRemote
attribute
- The attribute name whose value is being restricted.expression
- The restriction value for the attribute.
The expression can be in either of two forms:
>10
. The supported operators
are >
, >=
, <
, <=
,
=
, !=
, and LIKE
(default). For string datatypes, the operand can
contain %
characters for wildcards.
"ABC"
. In this form, the operator is
assumed to be LIKE
.
MXException
java.rmi.RemoteException
MboSet.resetQbe()
,
MboSet.setQbe(String[], String)
,
MboSet.reset()
,
MboSet.getMbo()
public void setWhereQbe(java.lang.String attribute, java.lang.String value, java.lang.String where) throws MXException, java.rmi.RemoteException
setWhereQbe
in interface MboSetRemote
attribute
- nameoriginal
- Valuewhere
- clause replaced for the original value.MXException
java.rmi.RemoteException
public java.lang.String getQbe(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void cleanup() throws MXException, java.rmi.RemoteException
cleanup
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void startCheckpoint() throws MXException, java.rmi.RemoteException
startCheckpoint
in interface MboSetRemote
MXException
java.rmi.RemoteException
Mbo.rollbackToCheckpoint()
public void rollbackToCheckpoint() throws MXException, java.rmi.RemoteException
rollbackToCheckpoint
in interface MboSetRemote
MXException
java.rmi.RemoteException
Mbo.startCheckpoint()
public void startCheckpoint(int i) throws MXException, java.rmi.RemoteException
startCheckpoint
in interface MboSetRemote
MXException
java.rmi.RemoteException
Mbo.rollbackToCheckpoint()
public void rollbackToCheckpoint(int i) throws MXException, java.rmi.RemoteException
rollbackToCheckpoint
in interface MboSetRemote
MXException
java.rmi.RemoteException
Mbo.startCheckpoint()
public void select(int index) throws MXException, java.rmi.RemoteException
select
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void select(int startIndex, int count) throws MXException, java.rmi.RemoteException
select
in interface MboSetRemote
startIndex
- starting index position (must be >= 0)count
- number of Mbos after the start index to be marked for
selection (must be > 0).MXException
java.rmi.RemoteException
public void select(java.util.Vector mboIndices) throws MXException, java.rmi.RemoteException
select
in interface MboSetRemote
MXException
java.rmi.RemoteException
public java.util.Vector getSelection() throws MXException, java.rmi.RemoteException
getSelection
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void unselect(int index) throws MXException, java.rmi.RemoteException
unselect
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void unselect(int startIndex, int count) throws MXException, java.rmi.RemoteException
unselect
in interface MboSetRemote
startIndex
- starting index position (must be >= 0)count
- number of Mbos after the start index to be marked
unselected (must be > 0).MXException
java.rmi.RemoteException
public void unselect(java.util.Vector mboIndices) throws MXException, java.rmi.RemoteException
unselect
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void selectAll() throws MXException, java.rmi.RemoteException
selectAll
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void unselectAll() throws MXException, java.rmi.RemoteException
unselectAll
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void resetWithSelection() throws MXException, java.rmi.RemoteException
resetWithSelection
in interface MboSetRemote
MXException
java.rmi.RemoteException
public java.lang.String getSelectionWhere() throws MXException, java.rmi.RemoteException
getSelectionWhere
in interface MboSetRemote
MXException
java.rmi.RemoteException
public java.lang.String getMultiSiteWhere() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
Calls this method.
public void setAppWhere(java.lang.String appWhere) throws MXException, java.rmi.RemoteException
setAppWhere
in interface MboSetRemote
appWhere
- This where clause will be added to the final assembled where clauseMXException
java.rmi.RemoteException
Getter method.
,
Assembles the where clause used to get records.
public java.lang.String getAppWhere() throws MXException, java.rmi.RemoteException
getAppWhere
in interface MboSetRemote
MXException
java.rmi.RemoteException
Setter method.
,
Assembles the where clause used to get records.
public void setDefaultValue(java.lang.String attribute, java.lang.String value) throws MXException, java.rmi.RemoteException
setDefaultValue
in interface MboSetRemote
attribute
- NameValue
- for the attributeMXException
java.rmi.RemoteException
public java.lang.String getDefaultValue(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getDefaultValue
in interface MboSetRemote
attribute
- NameMXException
java.rmi.RemoteException
public java.util.HashMap getDefaultValueHash()
public void setDefaultValues(java.lang.String[] attributes, java.lang.String[] values) throws MXException, java.rmi.RemoteException
setDefaultValues
in interface MboSetRemote
attributes
- arrayarray
- of Values for the attributeMXException
java.rmi.RemoteException
public void setDefaultValues(java.lang.String attribute, java.lang.String value)
attribute
- Value
- public java.util.HashMap getJspDefaultValueHash()
protected boolean includeRelatedMbosOfOwnersChildren()
public boolean isESigNeeded(java.lang.String optionName) throws MXException, java.rmi.RemoteException
isESigNeeded
in interface MboSetRemote
MXException
java.rmi.RemoteException
protected boolean isESigNeeded()
public boolean isESigFieldModified()
public void setESigFieldModified(boolean eSigFieldModified) throws java.rmi.RemoteException
setESigFieldModified
in interface MboSetRemote
java.rmi.RemoteException
public boolean isEAuditFieldModified()
public void setEAuditFieldModified(boolean eAuditFieldModified)
public void handleMLMbo(Mbo mbo, MXTransaction txn, java.lang.String action) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void handleMLMbo(Mbo mbo, java.lang.String action) throws MXException, java.rmi.RemoteException
mbo
- action
- MXException
java.rmi.RemoteException
protected boolean isEAuditNeeded(Mbo mbo)
public java.lang.String getESigTransactionId() throws MXException, java.rmi.RemoteException
getESigTransactionId
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void clearESigTransIDForAdmin()
public static void clearESigTransactionIdThread()
public void setLastESigTransId(java.lang.String id) throws MXException, java.rmi.RemoteException
setLastESigTransId
in interface MboSetRemote
MXException
java.rmi.RemoteException
public boolean verifyESig(java.lang.String loginid, java.lang.String password, java.lang.String reason) throws MXException, java.rmi.RemoteException
verifyESig
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void logESigVerification(java.lang.String username, java.lang.String reason, boolean authenticatedSuccessfully) throws MXException, java.rmi.RemoteException
logESigVerification
in interface MboSetRemote
MXException
java.rmi.RemoteException
public boolean isBasedOn(java.lang.String objectName) throws java.rmi.RemoteException
isBasedOn
in interface MboSetRemote
java.rmi.RemoteException
public java.lang.String[] getKeyAttributes() throws java.rmi.RemoteException
getKeyAttributes
in interface MboSetRemote
java.rmi.RemoteException
public MXLogger getMboLogger()
public MXLogger getSecurityLogger()
public MXLogger getSqlLogger()
public boolean setAutoKeyFlag(boolean flag) throws java.rmi.RemoteException
setAutoKeyFlag
in interface MboSetRemote
java.rmi.RemoteException
MboSet.setAutoKeyFlag(boolean)
public void ignoreAutokeyAttr(java.lang.String attrName, boolean flag)
attrName
- Attribute name of the current object. It cannot be related attribute.flag
- public java.util.HashSet getIgnoredAutokeyAttrs()
public void clearIgnoredAutokeyAttrs()
public void ignoreAutokeyAttr(java.lang.String[] attrNames, boolean flag)
attrName
- Attribute names of the current object. It cannot be related attribute.flag
- public MboRemote findByIntegrationKey(java.lang.String[] integrationKeys, java.lang.String[] integrationKeyValues) throws MXException, java.rmi.RemoteException
findByIntegrationKey
in interface MboSetRemote
integrationKeys
- list of key attributesintegrationKeyValues
- list of key valuesMXException
java.rmi.RemoteException
public void setRelationName(java.lang.String relationName) throws MXException, java.rmi.RemoteException
setRelationName
in interface MboSetRemote
relationName
- relationship nameMXException
java.rmi.RemoteException
public java.lang.String getRelationName() throws MXException, java.rmi.RemoteException
getRelationName
in interface MboSetRemote
MXException
java.rmi.RemoteException
public boolean hasMLQbe() throws MXException, java.rmi.RemoteException
hasMLQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
public MboRemote getMboForUniqueId(long id) throws MXException, java.rmi.RemoteException
getMboForUniqueId
in interface MboSetRemote
MXException
java.rmi.RemoteException
Mbo.getUniqueIDValue()
,
MboSet.loadMboVecFromMrd(int)
public java.lang.String getMessage(java.lang.String errGrp, java.lang.String errKey) throws java.rmi.RemoteException
getMessage
in interface MboSetRemote
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 MboSetRemote
java.rmi.RemoteException
Mbo.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 MboSetRemote
java.rmi.RemoteException
Mbo.getMessage(String errGrp, String errKey, Object param)
public java.lang.String getMessage(MXException ex) throws java.rmi.RemoteException
getMessage
in interface MboSetRemote
errGrp
- errKey
- java.rmi.RemoteException
public MaxMessage getMaxMessage(java.lang.String errGrp, java.lang.String errKey) throws MXException, java.rmi.RemoteException
getMaxMessage
in interface MboSetRemote
errGrp
- errKey
- MXException
java.rmi.RemoteException
public void setQueryBySiteQbe() throws MXException, java.rmi.RemoteException
setQueryBySiteQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
public boolean setLogLargFetchResultDisabled(boolean disable) throws java.rmi.RemoteException
setLogLargFetchResultDisabled
in interface MboSetRemote
disable
- java.rmi.RemoteException
@TracePrimary public void setQbe(java.lang.String attribute, MboSetRemote lookup) throws MXException, java.rmi.RemoteException
setQbe
in interface MboSetRemote
attribute
- lookup
- MXException
java.rmi.RemoteException
MboSet.setQbe(String, MboSetRemote)
public void addSubQbe(java.lang.String name, java.lang.String[] attrs, java.lang.String operator) throws MXException, java.rmi.RemoteException
addSubQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.addSubQbe(String, String[], String)
public void addSubQbe(java.lang.String name, java.lang.String[] attrs, java.lang.String operator, boolean exactMatch) throws MXException, java.rmi.RemoteException
addSubQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.addSubQbe(String, String[], String, boolean)
public void addSubQbe(java.lang.String parentQbe, java.lang.String name, java.lang.String[] attrs, java.lang.String operator, boolean exactMatch) throws MXException, java.rmi.RemoteException
addSubQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.addSubQbe(String, String, String[], String, boolean)
public void addSubQbe(java.lang.String parentQbe, java.lang.String name, java.lang.String[] attrs, java.lang.String operator) throws MXException, java.rmi.RemoteException
addSubQbe
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.addSubQbe(String, String, String[], String)
public void setDefaultValue(java.lang.String attribute, MboRemote mbo) throws MXException, java.rmi.RemoteException
setDefaultValue
in interface MboSetRemote
attribute
- set
- MXException
java.rmi.RemoteException
MboSet.setDefaultValue(String, MboRemote)
public void setInsertSite(java.lang.String site) throws MXException, java.rmi.RemoteException
setInsertSite
in interface MboSetRemote
site
- MXException
java.rmi.RemoteException
public void setInsertOrg(java.lang.String org) throws MXException, java.rmi.RemoteException
setInsertOrg
in interface MboSetRemote
org
- MXException
java.rmi.RemoteException
public void setInsertCompanySet(java.lang.String compSet) throws MXException, java.rmi.RemoteException
setInsertCompanySet
in interface MboSetRemote
companyset
- MXException
java.rmi.RemoteException
public void setInsertItemSet(java.lang.String itemSet) throws MXException, java.rmi.RemoteException
setInsertItemSet
in interface MboSetRemote
itemset
- MXException
java.rmi.RemoteException
public void setExcludeMeFromPropagation(boolean flag) throws MXException, java.rmi.RemoteException
setExcludeMeFromPropagation
in interface MboSetRemote
flag
- MXException
java.rmi.RemoteException
public boolean getExcludeMeFromPropagation() throws MXException, java.rmi.RemoteException
getExcludeMeFromPropagation
in interface MboSetRemote
flag
- MXException
java.rmi.RemoteException
public java.lang.String getInsertSite()
MXException
java.rmi.RemoteException
public java.lang.String getInsertOrg()
MXException
java.rmi.RemoteException
public void setAllowQualifiedRestriction(boolean value)
setAllowQualifiedRestriction
in interface MboSetRemote
value
- MboSet.allowQualifiedDataRestriction
public boolean getAllowQualifiedRestriction()
allowQualifiedDataRestriction
public java.lang.String getInsertCompanySet()
MXException
java.rmi.RemoteException
public java.lang.String getInsertItemSet()
MXException
java.rmi.RemoteException
public void sort()
public void clearTransactionReference()
public MboRemote locateMbo(java.lang.String[] keys, java.lang.String[] values, int option) throws MXException, java.rmi.RemoteException
locateMbo
in interface MboSetRemote
MXException
java.rmi.RemoteException
psdi.mbo.MboSet#locateMbo()
public java.io.InputStream setupLongOpPipe() throws MXException, java.rmi.RemoteException
setupLongOpPipe
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void clearLongOpPipe() throws MXException, java.rmi.RemoteException
clearLongOpPipe
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void abortSql() throws MXException, java.rmi.RemoteException
abortSql
in interface MboSetRemote
MXException
java.rmi.RemoteException
public int getQueryTimeout()
getQueryTimeout
in interface MboSetRemote
public void setQueryTimeout(int queryTimeout)
setQueryTimeout
in interface MboSetRemote
public java.lang.String addToEndOfSelectStatement(boolean fetchLimitEanbled)
public void setAppAlwaysFieldFlag(java.lang.String attr, long flag, boolean state) throws java.rmi.RemoteException
MboSetRemote
setAppAlwaysFieldFlag
in interface MboSetRemote
java.rmi.RemoteException
psdi.mbo.MboSetRemote#setAlwaysFieldFlag(String attr, long flag, boolean state)
public BitFlag getAppAlwaysFieldFlags(java.lang.String attr) throws java.rmi.RemoteException
getAppAlwaysFieldFlags
in interface MboSetRemote
java.rmi.RemoteException
protected java.util.HashMap getAllAppAlwaysFieldFlags()
public void setTxnPropertyMap(java.util.Map map) throws MXException, java.rmi.RemoteException
setTxnPropertyMap
in interface MboSetRemote
map
- MXException
java.rmi.RemoteException
public java.util.Map getTxnPropertyMap() throws MXException, java.rmi.RemoteException
getTxnPropertyMap
in interface MboSetRemote
MXException
java.rmi.RemoteException
public java.lang.String getQbeSiteAuthorization() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List findAllNullRequiredFields() throws MXException, java.rmi.RemoteException
findAllNullRequiredFields
in interface MboSetRemote
MXException
java.rmi.RemoteException
public java.util.List determineRequiredFieldsFromERM() throws MXException, java.rmi.RemoteException
determineRequiredFieldsFromERM
in interface MboSetRemote
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 void setRequiedFlagsFromERM() throws MXException, java.rmi.RemoteException
setRequiedFlagsFromERM
in interface MboSetRemote
MXException
- Throws the possible MXException thrown from getERMEntityjava.rmi.RemoteException
- Throws the possible RemoteException thrown from getERMEntitypublic void setERMEntity(ERMEntity ermEntity) throws MXException, java.rmi.RemoteException
setERMEntity
in interface MboSetRemote
MXException
- Throws the possible MXException thrown from setRequiedFlagsFromERMjava.rmi.RemoteException
- Throws the possible RemoteException thrown from setRequiedFlagsFromERMpublic ERMEntity getERMEntity() throws MXException, java.rmi.RemoteException
getERMEntity
in interface MboSetRemote
MXException
- Throws the possible MXException thrown from the call to getting the owner Mbojava.rmi.RemoteException
- Throws the possible RemoteException thrown from the call to getting owner's MboSetpublic boolean isRetainMboPosition() throws MXException, java.rmi.RemoteException
isRetainMboPosition
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void setRetainMboPosition(boolean retainMboPosition) throws MXException, java.rmi.RemoteException
setRetainMboPosition
in interface MboSetRemote
retainMboPosition
- true to retain position, false otherwise.MXException
java.rmi.RemoteException
public MboSetRetainMboPositionInfo getMboSetRetainMboPositionInfo() throws MXException, java.rmi.RemoteException
getMboSetRetainMboPositionInfo
in interface MboSetRemote
MXException
java.rmi.RemoteException
public MboSetRetainMboPositionData getMboSetRetainMboPositionData() throws MXException, java.rmi.RemoteException
getMboSetRetainMboPositionData
in interface MboSetRemote
MXException
java.rmi.RemoteException
public void positionState() throws MXException, java.rmi.RemoteException
positionState
in interface MboSetRemote
MXException
java.rmi.RemoteException
protected void updateMboSetRetainMboPositionData(MboSetRemote currentMboSet, MboSetRetainMboPositionData mboSetRetainMboPositionData) throws MXException, java.rmi.RemoteException
currentMboSet
- set from which the position data need to be extractedmboSetRetainMboPositionData
- position data that needs updateMXException
java.rmi.RemoteException
protected void updateRelatedMboSetRetainMboPositionData(Mbo currentMbo, MboSetRetainMboPositionData mboSetRetainMboPositionData, MboSetRetainMboPositionInfo mboSetRetainMboPositionInfo) throws MXException, java.rmi.RemoteException
currentMbo
- mboSetRetainMboPositionData
- mboSetRetainMboPositionInfo
- MXException
java.rmi.RemoteException
protected int getRetainRecordLimit() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected boolean isRetainRecordEnabled() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setDBFetchMaxRows(int fetchLimit) throws java.rmi.RemoteException
MboSetRemote
setDBFetchMaxRows
in interface MboSetRemote
fetchLimit
- a possitive number. If -1 or 0, the fetch limit will be turned off.java.rmi.RemoteException
psdi.mbo.MboSetRemote#setFetchLimit(int)
public int getDBFetchMaxRows() throws java.rmi.RemoteException
MboSetRemote
getDBFetchMaxRows
in interface MboSetRemote
java.rmi.RemoteException
psdi.mbo.MboSetRemote#getFetchLimit()
public void setSkipFirstNRows(int skipRows)
skipRows
- public int getSkipFirstNRows()
public java.lang.String getSetOrderByForUI() throws java.rmi.RemoteException
getSetOrderByForUI
in interface MboSetRemote
java.rmi.RemoteException
public void setSetOrderByForUI(java.lang.String orderBy) throws java.rmi.RemoteException
setSetOrderByForUI
in interface MboSetRemote
java.rmi.RemoteException
public boolean isDeltaStorage(Mbo mbo, java.lang.String tableName) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected void insertDeltaRow(java.sql.Connection con, Mbo mbo, java.lang.String tableName) throws MXException, java.rmi.RemoteException, java.sql.SQLException
MXException
java.rmi.RemoteException
java.sql.SQLException
public static java.lang.String dump(java.lang.Object object)
public void setFederatedResources(java.lang.String federatedResourcesStr) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addFederatedMboToSorter(MboRemote mbo)
public void executeBatch() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.sql.PreparedStatement getPreparedStmt(java.sql.Connection con, java.lang.String sql) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearBatchedPreparedStmt(java.lang.String sql)
public void clearBatchedPreparedStmts()
public void applyAppSpecificAuthorization() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isDownloadSet() throws MXException, java.rmi.RemoteException
isDownloadSet
in interface MboSetRemote
MXException
java.rmi.RemoteException
MboSet.isDownloadSet()
public void setDownloadSet(boolean isDownloadSet) throws java.rmi.RemoteException
setDownloadSet
in interface MboSetRemote
java.rmi.RemoteException
MboSet.setDownloadSet(boolean)
public int countAndCleanup() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int countAndCleanup(int countConstant) throws MXException, java.rmi.RemoteException
countConstant
parameter is a constant
from psdi.mbo.MboConstants
.MXException
java.rmi.RemoteException
public void setMboCtx(java.lang.String propName, java.lang.Object o)
public java.lang.Object getMboCtx(java.lang.String propName)
public java.lang.Object removeCtx(java.lang.String propName)
public void addJoinedAttribute(java.lang.String alias, java.lang.String qualifiedAttr)
public void removeJoinedAttribute(java.lang.String alias)
public void removeAllJoinedAttributes()
public boolean isJoinedAttribute(java.lang.String attr)