|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.data.CommonMBOModel
com.sybase.uep.bobclient.data.MBOModel
com.sybase.uep.bobclient.data.ClientMBOModel
public class ClientMBOModel
Client Only MBO Model
Field Summary |
---|
Fields inherited from class com.sybase.uep.bobclient.data.CommonMBOModel |
---|
_databaseMetaData, _log, _mboApp, _metaData, KEY, PENDING_OP_SCOPE_MBO, PENDING_OP_SCOPE_PACKAGE, PENDING_OP_SCOPE_SYNCGROUP, SYNCHRONIZATION_NORMAL, SYNCHRONIZATION_NOTIFICATION |
Constructor Summary | |
---|---|
ClientMBOModel(java.lang.String id)
|
Method Summary | |
---|---|
void |
cancelPending(java.lang.Object mbo)
Restores the original state of the MBO instance.The caller takes the responsibility to make sure the metaData of mbo equals to _metaData. |
void |
cancelPendingObjects()
Cancel all the pending operations for this MBO object |
ObjectList |
getPendingObjects()
Retrieve the list of pending operations for this MBO object |
java.lang.String |
getPublication()
|
MBOModelSyncParameters |
getSyncParameter()
Get the synchronization parameters for this MBO |
boolean |
isDeleted(java.lang.Object mbo)
Checks if the MBO object has been deleted since last synchronization.The caller takes the responsibility to make sure the metaData of mbo equals to _metaData. |
boolean |
isDirty(java.lang.Object mbo)
Checks if the MBO object has been updated since last synchronization.The caller takes the responsibility to make sure the metaData of mbo equals to _metaData. |
boolean |
isNew(java.lang.Object mbo)
Checks if the MBO object is a new created one since last synchronization.The caller takes the responsibility to make sure the metaData of mbo equals to _metaData. |
boolean |
isSynchronized()
Gets whether this MBO application has been synchronized. |
void |
submitPendingObjects()
Submits all the pending operations for this MBO object. |
void |
synchronize(SyncStatusListener syncStatusListener,
int pendingOpScope)
Synchronizes the MBO application with a sync status listener. |
Methods inherited from class com.sybase.uep.bobclient.data.MBOModel |
---|
clearSyncParameter, currentSelectChanged, deleteFromModel, find, findNamedQuery, getLastOperation, getLogs, getOtherOperationModel, getOtherOperationModelTable, getProfileRefID, getReflectionManager, getRelationshipData, getRelationshipDataFilterBy, getSize, getSK, getSynchronizationGroup, getValue, namedQueryChanged, namedQueryInitialized, newMBOInstance, parentSelectChanged, refresh, relationshipChanged, saveUpdate, setValue, size, submitPending |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientMBOModel(java.lang.String id)
Method Detail |
---|
public java.lang.String getPublication()
public boolean isSynchronized()
MBOModel
isSynchronized
in class MBOModel
public void synchronize(SyncStatusListener syncStatusListener, int pendingOpScope) throws java.lang.Exception
MBOModel
synchronize
in class MBOModel
syncStatusListener
- - Sync status listenerpendingOpScope
- - @see CommonMBOModel.PENDING_OP_SCOPE_SYNCGROUP
, CommonMBOModel.PENDING_OP_SCOPE_MBO
, CommonMBOModel.PENDING_OP_SCOPE_PACKAGE
NoSuchOperationException
- if synchronize( SyncStatusListener ) is not defined in
corresponding database class.
java.lang.Exception
public boolean isDeleted(java.lang.Object mbo)
MBOModel
isDeleted
in class MBOModel
public boolean isDirty(java.lang.Object mbo)
MBOModel
isDirty
in class MBOModel
public boolean isNew(java.lang.Object mbo)
MBOModel
isNew
in class MBOModel
public void cancelPending(java.lang.Object mbo)
MBOModel
cancelPending
in class MBOModel
public void cancelPendingObjects()
MBOModel
cancelPendingObjects
in class MBOModel
public ObjectList getPendingObjects()
MBOModel
getPendingObjects
in class MBOModel
ObjectList
list of MBO objectsObjectList
public MBOModelSyncParameters getSyncParameter()
MBOModel
getSyncParameter
in class MBOModel
public void submitPendingObjects()
MBOModel
submitPendingObjects
in class MBOModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |