public class MemberAttributesDO extends DOBase
UserSyncBean
and OrganizationSyncBean
to read/write data from/to the "MBRATTRVAL" database table.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Class name.
|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
MemberAttributesDO()
Empty constructor.
|
MemberAttributesDO(java.lang.String memberId,
short shMemberType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDOName()
Gets the name of the class.
|
static boolean |
isMemberAttribute(java.lang.String astrMemberAttributeName)
Determines if the attribute is a custom attribute defined in the
MBRATTR table.
|
TypedProperty |
read()
Reads the custom attributes from the database.
|
void |
write(TypedProperty tpProperties)
Persists the changes to the database.
|
getAccessBean, getMemberId, getMemberType, setAccessBean, setMemberId, setMemberType
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public MemberAttributesDO()
public MemberAttributesDO(java.lang.String memberId, short shMemberType)
memberId
- The member ID.shMemberType
- The member type.public static boolean isMemberAttribute(java.lang.String astrMemberAttributeName) throws ECException
astrMemberAttributeName
- The attribute name.ECException
public java.lang.String getDOName()
public TypedProperty read() throws javax.persistence.NoResultException, ECException
read
in class DOBase
javax.persistence.NoResultException
ECException
public void write(TypedProperty tpProperties) throws javax.persistence.NoResultException, ECException
write
in class DOBase
tpProperties
- The properties to persist to the database.javax.persistence.NoResultException
ECException