public abstract class DOBase
extends java.lang.Object
UserSyncBean
, delegate to multiple sync helper classes. An individual sync helper
class is used to read and write a row to a particular database table, for example UserDO
is
used to read and write from the USERS table. The name of the properties used by the sync helper
classes are defined in the concrete data object classes. The names are the same as the property names used
in the user and organization registration commands.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright notice field.
|
Constructor and Description |
---|
DOBase()
Constructor
|
DOBase(java.lang.String memberId,
short shMemberType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.persistence.AbstractJpaEntityAccessBean |
getAccessBean()
Gets the access bean instance.
|
abstract java.lang.String |
getDOName()
Gets the synchronization helper name.
|
java.lang.String |
getMemberId()
Get the memberId.
|
short |
getMemberType()
Gets the member type.
|
abstract TypedProperty |
read()
Abstract method to read the data object from the database, and
return the result as a typed property.
|
void |
setAccessBean(com.ibm.commerce.persistence.AbstractJpaEntityAccessBean abBean)
Gets the access bean instance.
|
void |
setMemberId(java.lang.String strMemberId)
Set the memberId value
|
void |
setMemberType(short shMemberType)
Sets the member type.
|
abstract void |
write(TypedProperty tpProperties)
Abstract method to persist the properties to the database.
|
public static final java.lang.String COPYRIGHT
public DOBase()
public DOBase(java.lang.String memberId, short shMemberType)
memberId
- StringshMemberType
- shortpublic abstract java.lang.String getDOName()
public abstract void write(TypedProperty tpProperties) throws javax.persistence.NoResultException, ECException
tpProperties
- the properties to persist to the database.javax.persistence.NoResultException
ECException
public abstract TypedProperty read() throws javax.persistence.NoResultException, ECException
javax.persistence.NoResultException
ECException
public void setAccessBean(com.ibm.commerce.persistence.AbstractJpaEntityAccessBean abBean)
abBean
- the access bean instance.public com.ibm.commerce.persistence.AbstractJpaEntityAccessBean getAccessBean()
public void setMemberId(java.lang.String strMemberId)
strMemberId
- Stringpublic java.lang.String getMemberId()
public void setMemberType(short shMemberType)
shMemberType
- The member type.public short getMemberType()