public class CloudantMboSet extends RESTMboSet
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, 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 |
---|
CloudantMboSet(MboServerInterface ms)
Constructor
|
Modifier and Type | Method and Description |
---|---|
JSONQuery |
addPaging(JSONQuery formater,
int index,
boolean forCount)
Add paging parameters if paging is enabled.
|
void |
bulkUpdate()
Performs bulk update back to Cloudant.
|
JSONQuery |
format(JSONQuery formater,
JSONResourceInfo resourceInfo,
java.lang.String where,
boolean forCount,
int index)
Formats full where clause.
|
byte[] |
formatPostData(int index,
boolean forCount)
Formats where clause for POST.
|
byte[] |
formatPostDataForNextPage(byte[] data,
int index)
Formats data for next page.
|
JSONQuery |
formatQBE(JSONQuery formater,
JSONResourceInfo resourceInfo,
boolean forCount,
int index)
Formats QBE.
|
java.lang.String |
getHTTPQueryMethod()
Return HTTP method for the call.
|
java.lang.String |
getQualifiedWhere()
Get the row level security's QUALIFIED where clause that would append to the complete where clause.
|
java.lang.String |
getStringQualifier()
Return string qualifies.
|
java.lang.String |
getURI()
Returns URL.
|
java.lang.String |
getUrl(HTTPHandler handler,
boolean forCount)
Returns URL.
|
void |
setAdditionalData(MboRemote mbo,
com.ibm.json.java.JSONObject jo)
It will set id and revision.
|
execute, formatUrl, formatUrlForNextPage, formatUrlForSortPage, formatWhere, getCountClause, getOpAndValue, getOrderByClouse, getPagingParams, getWhereSeparator, getWhereToFormat, getWhereToFormat, invoke, load, moveNext, moveTo, resetQbe, setQbe
bytesToJSONArray, count, deserialize, formatResourceName, getBulkUpdate, getCountFromResponse, getDataAsDouble, getDateFormat, getDateFormatType, getEndPointName, getLimit, getMbo, getMetaData, getNullFormat, getProductName, getResourceName, getURL, json2Mbo, json2MboSet, moveLast, reset, resetJSON, setAppWhere, setBulkUpdate, setDateFormat, setDateFormatType, setRelationship, setResourceName, setup, setUserWhere, setUserWhereAfterParse, setWhere, supportsUpdate, toBeSaved
execute, isClosed, setMboSetInfo
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, canAdd, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMboForUniqueId, getMboLogger, getMboServer, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getPreparedStmt, getProfile, getProxy, getQbe, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getRowRestrictions, getSecurityLogger, getSelection, getSelectionWhere, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, init, initDataDictionary, isBasedOn, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isEAuditFieldModified, isEmpty, isESigFieldModified, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, movePrev, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, resetForRefreshOnSave, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOrderByNVL, setOwner, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, movePrev, newMboIndex, notExist, positionState, processML, remove, remove, remove, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESig
getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull
commitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
public CloudantMboSet(MboServerInterface ms) throws java.rmi.RemoteException
ms
- The Cloudant MboSet.MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.lang.String getURI()
public java.lang.String getHTTPQueryMethod()
getHTTPQueryMethod
in class RESTMboSet
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic byte[] formatPostData(int index, boolean forCount) throws java.rmi.RemoteException, MXException
formatPostData
in class RESTMboSet
index
- Index of the row from getMbo(index)forCount
- indicates if only count need to be retrievedMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic byte[] formatPostDataForNextPage(byte[] data, int index) throws java.rmi.RemoteException, MXException
formatPostDataForNextPage
in class RESTMboSet
data
- original POST dataindex
- Index of the row from getMbo(index)MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic JSONQuery format(JSONQuery formater, JSONResourceInfo resourceInfo, java.lang.String where, boolean forCount, int index) throws java.rmi.RemoteException, MXException
formater
- JSONQueryresourceInfo
- resource infowhere
- where clauseindex
- Index of the row from getMbo(index)forCount
- indicates if only count need to be retrievedMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic JSONQuery addPaging(JSONQuery formater, int index, boolean forCount) throws java.rmi.RemoteException, MXException
formater
- JSONQueryindex
- Index of the row from getMbo(index)forCount
- indicates if only count need to be retrievedMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic JSONQuery formatQBE(JSONQuery formater, JSONResourceInfo resourceInfo, boolean forCount, int index) throws java.rmi.RemoteException, MXException
formater
- JSONQueryresourceInfo
- resource infoindex
- Index of the row from getMbo(index)forCount
- indicates if only count need to be retrievedMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void bulkUpdate() throws java.rmi.RemoteException, MXException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void setAdditionalData(MboRemote mbo, com.ibm.json.java.JSONObject jo) throws MXException, java.rmi.RemoteException
setAdditionalData
in class JSONMboSet
mbo
- Maximo objectjo
- JSON Object to get datambo
- processing objectjo
- JSON objectMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.lang.String getQualifiedWhere() throws MXException, java.rmi.RemoteException
getQualifiedWhere
in class MboSet
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote ExceptionMboSet.isLookup()
,
MboSet.getAllowQualifiedRestriction()
,
MboSet.getRowRestrictions(int)
public java.lang.String getUrl(HTTPHandler handler, boolean forCount) throws MXException, java.rmi.RemoteException
getUrl
in class RESTMboSet
handler
- Handler nameforCount
- indicates if only count need to be retrievedMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.lang.String getStringQualifier()
getStringQualifier
in class RESTMboSet