|
|||||||||
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.PKMBOModel
public class PKMBOModel
PKMBOModel is the access layer to personalization MBO application. It is used specifically to retrieve and save personalization values
Field Summary | |
---|---|
static java.lang.String |
SYNCGROUP_NAME_SYSTEM
system synchronization group for personalization keys. |
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 | |
---|---|
PKMBOModel(java.lang.String id)
|
Method Summary | |
---|---|
java.lang.Object |
getPKValue(java.lang.String attributeName)
Gets personalization key value |
java.lang.String |
getSynchronizationGroup()
For PK MBO, the synchronization group is always "system" |
boolean |
isSynchronized()
Gets whether this MBO application has been synchronized. |
void |
setPKValue(java.lang.String attributeName,
java.lang.Object value)
Set personalization key value |
void |
synchronize(SyncStatusListener syncStatusListener,
int pendingOpScope)
Synchronizes the MBO application with a sync status listener. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String SYNCGROUP_NAME_SYSTEM
Constructor Detail |
---|
public PKMBOModel(java.lang.String id)
Method Detail |
---|
public java.lang.Object getPKValue(java.lang.String attributeName)
personalization
- key - personalization key name
NoSuchOperationException
- if attribute name is not defined in mbo.public void setPKValue(java.lang.String attributeName, java.lang.Object value)
personalization
- key - personalization key namevalue
- - value to set for the personalization key
NoSuchOperationException
- if attribute name is not defined in mbo.public void synchronize(SyncStatusListener syncStatusListener, int pendingOpScope) throws java.lang.Exception
synchronize
in class CommonMBOModel
syncStatusListener
- - Sync status listenerpendingOpScope
- - @see CommonMBOModel.PENDING_OP_SCOPE_SYNCGROUP
, CommonMBOModel.PENDING_OP_SCOPE_MBO
, CommonMBOModel.PENDING_OP_SCOPE_PACKAGE
This is ignored for PK MBO
NoSuchOperationException
- if synchronize( syncStatusListener ) is not defined in
corresponding database class.
java.lang.Exception
public boolean isSynchronized()
isSynchronized
in class CommonMBOModel
public java.lang.String getSynchronizationGroup()
getSynchronizationGroup
in class CommonMBOModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |