public abstract class MboSet extends java.lang.Object implements MboSetRemote, MboConstants, FixedLoggers, MaxRemoteProxy
Modifier and Type | Field and Description |
---|---|
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<MboSetCounter> |
mboCountCleanuplist |
static java.lang.ThreadLocal |
perfStats
Holds performance gathering statistics
|
static java.lang.String |
strNoBaseLangValueEntered |
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.
|
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 |
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 |
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.
|
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.
|
java.util.List<ERMAttributeError> |
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<ERMAttributeError> |
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.
|
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<java.lang.String,java.lang.String> |
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.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<java.lang.String,java.lang.String> |
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.
|
MboRemote |
getMboForUniqueId(long id)
Returns the mbo for the unique id.
|
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.
|
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.util.Vector<MboRemote> |
getSelection()
Returns a Vector of mbos marked for selection.
|
java.lang.String |
getSelectionWhere()
Returns the where clause for the selected Mbos.
|
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.
|
java.util.Map<java.lang.Object,java.lang.Object> |
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
|
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.
|
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 |
isEAuditFieldModified()
Indicates whether any of the fields enabled for electronic audit
are modified by the user, for any mbo in this set.
|
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.
|
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
|
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?
|
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 |
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.
|
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
|
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 |
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 |
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.
|
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<java.lang.String,java.lang.String[]> options) |
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<java.lang.Object,java.lang.Object> 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.
|
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
public static java.lang.String strNoBaseLangValueEntered
public static boolean fetchStopLimitEnabled
public static java.util.Set<MboSetCounter> 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
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
setOwner(MboRemote)
public void initDataDictionary()
public void setApp(java.lang.String appName) throws java.rmi.RemoteException
setApp
in interface MboSetRemote
java.rmi.RemoteException
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
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
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
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
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
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
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.reset()
,
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
setUserWhere(String whereClause)
public void setUserWhereAfterParse(java.lang.String where) throws MXException, java.rmi.RemoteException
setUserWhereAfterParse
in interface MboSetRemote
MXException
java.rmi.RemoteException
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
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
reset()
,
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
reset()
,
getMbo()
public void setOrderByNVL(java.util.Map<java.lang.String,java.lang.String[]> 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
getMbo(int)
public MboRemote movePrev() throws MXException, java.rmi.RemoteException
movePrev
in interface MboSetRemote
MXException
java.rmi.RemoteException
getMbo(int)
public MboRemote moveFirst() throws MXException, java.rmi.RemoteException
moveFirst
in interface MboSetRemote
MXException
java.rmi.RemoteException
getMbo(int)
public MboRemote moveLast() throws MXException, java.rmi.RemoteException
moveLast
in interface MboSetRemote
MXException
java.rmi.RemoteException
fetchMbos()
,
getMbo(int)
public MboRemote moveTo(int pos) throws MXException, java.rmi.RemoteException
moveTo
in interface MboSetRemote
MXException
java.rmi.RemoteException
getMbo(int)
public int getCurrentPosition()
getCurrentPosition
in interface MboSetRemote
public MboRemote getMbo()
getMbo
in interface MboSetRemote
reset()
@TraceSecondary public MboRemote getMbo(int index) throws MXException, java.rmi.RemoteException
getMbo
in interface MboSetRemote
MXException
java.rmi.RemoteException
fetchMbos(int)
,
loadMboVecFromMrd(int)
public final java.lang.String getName()
getName
in interface MboSetRemote
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.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
fetchMbos(int)
,
loadMboVecFromMrd(int)
,
mboVec
,
fetchNextIndex
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
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
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
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
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
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
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
min(java.lang.String)
public final boolean isEmpty() throws MXException, java.rmi.RemoteException
isEmpty
in interface MboSetRemote
MXException
java.rmi.RemoteException
notExist()
public final boolean notExist() throws MXException, java.rmi.RemoteException
notExist
in interface MboSetRemote
MXException
java.rmi.RemoteException
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
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
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
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
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
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
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
getMboInstance(psdi.mbo.MboSet)
,
addMbo(Mbo)
,
addMbo(Mbo, int)
,
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
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.
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
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
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
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
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()
public UserInfo getUserInfo() throws java.rmi.RemoteException
getUserInfo
in interface MboSetRemote
java.rmi.RemoteException
public void resetQbe()
resetQbe
in interface MboSetRemote
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
resetQbe()
,
setQbe(String, String)
,
reset()
,
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
resetQbe()
,
setQbe(String, String)
,
reset()
,
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
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
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
setFlag(long, boolean)
public long getFlags()
getFlags
in interface MboSetRemote
isFlagSet(long)
public void setFlag(long flag, boolean state)
setFlag
in interface MboSetRemote
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
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
hasWarnings()
,
clearWarnings()
,
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
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
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 errorpublic 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
isLookup()
,
getAllowQualifiedRestriction()
,
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
resetQbe()
,
setQbe(String[], String)
,
reset()
,
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<MboRemote> 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<java.lang.String,java.lang.String> 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<java.lang.String,java.lang.String> getJspDefaultValueHash()
public boolean isESigNeeded(java.lang.String optionName) throws MXException, java.rmi.RemoteException
isESigNeeded
in interface MboSetRemote
MXException
java.rmi.RemoteException
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
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
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()
,
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
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
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
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
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
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
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
- 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
public void setTxnPropertyMap(java.util.Map<java.lang.Object,java.lang.Object> map) throws MXException, java.rmi.RemoteException
setTxnPropertyMap
in interface MboSetRemote
map
- MXException
java.rmi.RemoteException
public java.util.Map<java.lang.Object,java.lang.Object> 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<ERMAttributeError> findAllNullRequiredFields() throws MXException, java.rmi.RemoteException
findAllNullRequiredFields
in interface MboSetRemote
MXException
java.rmi.RemoteException
public java.util.List<ERMAttributeError> 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
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
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()