|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKEventTypeDefICM
The DKEventTypeDefICM class represents an event type definition in Content Manager. It provides methods needed to access and update event type information
Constructor Summary | |
DKEventTypeDefICM(dkDatastore ds)
Constructs the definition of the event type for the specified ICM datastore |
Method Summary | |
void |
add()
Adds the defintion of this event type to the persistent store. |
void |
del()
Deletes the definition of this event type object from the persistent store |
int |
getCode()
Retrieves the code for this event type object |
java.lang.String |
getDescription()
Retrieves the description for this event type |
java.lang.String |
getDescription(java.lang.String langCode)
Retrieves the description of this event type for the specified language code |
java.lang.String |
getLanguageCode()
Gets the language code of the event type. |
java.lang.String |
getName()
Retrieves the name for this event type object |
void |
setDescription(java.lang.String eventTypeDescription)
Sets the description of the event type to a specified description. |
void |
setDescription(java.lang.String desc,
java.lang.String langCode)
Sets the description of this event type object for the specified language code to the specified value |
void |
setLanguageCode(java.lang.String eventTypeLangCode)
Sets the event type's language code to a specified language code |
void |
setName(java.lang.String eventTypeName)
Sets the name for this event type object to the specified value |
void |
update()
Updates the definition of this event type in the persistent store. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKEventTypeDefICM(dkDatastore ds)
ds
- - datastore object as an instance of DKDatastoreICMMethod Detail |
public void add() throws DKException, java.lang.Exception
if
- an error occurs on the serverpublic void del() throws DKException, java.lang.Exception
if
- an error occurs on the serverpublic void update() throws DKException, java.lang.Exception
if
- an error occurs on the serverpublic int getCode()
public java.lang.String getName()
public void setName(java.lang.String eventTypeName)
eventTypeName
- name to be assigned to this event type objectpublic void setLanguageCode(java.lang.String eventTypeLangCode)
eventTypeLangCode
- event type language code to be assigned to this event type.public java.lang.String getLanguageCode()
public java.lang.String getDescription()
public void setDescription(java.lang.String eventTypeDescription)
eventTypeDescription
- event type description to be assigned to this event type
objectsetDescription(String desc, String langCode)
public java.lang.String getDescription(java.lang.String langCode) throws DKException, java.lang.Exception
langCode
- - language code for which the description of this event type
object is to be retrieved. A sample value for the language code is "ENU" for US Englishpublic void setDescription(java.lang.String desc, java.lang.String langCode) throws DKException, java.lang.Exception
eventTypeDescription
- - description to be assigned to this event objectlangCode
- language code for which the description is to be set.
A sample value for the language code is "ENU" for US Englishif
- an error occurs
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |