|
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.DKLinkTypeDefICM
This class defines methods to manage link type information. Link type indicates the type of relationship. The valid values are: Contains, DKFolder and the other user defined link types defined by system administrator.
Constructor Summary | |
DKLinkTypeDefICM(dkDatastore ds)
Constructs the definition of the link type for a given ICM datastore |
Method Summary | |
int |
add()
Adds the definition of this link type both to the persistent store and to the memory |
void |
del()
Deletes the definition of the link type from both the persistent store and the memory |
int |
getCode()
Gets the code of the link type |
java.lang.String |
getDescription()
Gets the description of the link type. |
java.lang.String |
getDescription(java.lang.String langCode)
Gets the link type description for the specified language. |
java.lang.String |
getLanguageCode()
Gets the language code of the link type. |
java.lang.String |
getName()
Gets the name of the link type. |
void |
setDescription(java.lang.String linkTypeDescript)
Sets the link type's description to a specified description. |
void |
setDescription(java.lang.String desc,
java.lang.String langCode)
Sets the link type description to a given description for the specified language |
void |
setLanguageCode(java.lang.String linkTypeLangCode)
Sets the link type's language code to a specified language code |
void |
setName(java.lang.String linkTypeName)
Sets the link type's name to a specified name |
void |
update()
Updates the definition of this link type both in the persistent store and in the memory |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKLinkTypeDefICM(dkDatastore ds)
ds
- datastore which this link object refers toMethod Detail |
public int add() throws DKException, java.lang.Exception
if
- an error occurspublic void del() throws DKException, java.lang.Exception
if
- an error occurspublic void update() throws DKException, java.lang.Exception
if
- an error occurspublic int getCode()
public java.lang.String getName()
public void setName(java.lang.String linkTypeName)
linkTypeName
- link type name to be assigned to this link type.
This string can be up to 32 characters longpublic void setLanguageCode(java.lang.String linkTypeLangCode)
linkTypeLangCode
- link type language code to be assigned to this link type.public java.lang.String getLanguageCode()
public java.lang.String getDescription()
to retrieve other language description
public void setDescription(java.lang.String linkTypeDescript)
linkTypeDescript
- link type description to be assigned to this link type for the
default language of the ICM datastore. The description string can be up to 254
characters long.setDescription(String, String)
public java.lang.String getDescription(java.lang.String langCode) throws DKException, java.lang.Exception
langCode
- link type language code. e.g. ENU, DEUpublic void setDescription(java.lang.String desc, java.lang.String langCode) throws DKException, java.lang.Exception
desc
- link type descriptionlangCode
- link type language code e.g. ENU, DEU
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |