|
Oracle Collaboration Suite Discussions Java API Reference 10g (10.1.1) Part No. B16232-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ContainerSettings represent the attributes defined when the container is created.
They are common to both the facility and board.
These settings define the
Oracle discussions elements names have been changed in the webui compared to that of sdk portion. The existing names to the new names mapping is as shown.
Sample code snippet illustrating the usage of TdContainerSettings
//Declare a containersettings object TdContainerSettings tdcs = tdf.getContainerSettings(); //Initialize different fields in the container settings instance. tdcs.put(TdContainerSettingsImpl.CREATOR_GUID, tdsession.getTdUser().getUserGuid()); java.util.Date dNow = new java.util.Date(); java.util.Date dNowGMT = DateUtils.convertToGMT( new Timestamp(dNow.getTime())); tdcs.put(TdContainerSettingsImpl.CREATION_DATE, String.valueOf(dNowGMT.getTime())); tdcs.put(TdContainerSettings.DISPLAY_NAME, facilityDispName); tdcs.put(TdContainerSettings.DESCRIPTION, facilityDescription);
TdContainer.java
, TdBoardSettings.java
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
static java.lang.String |
DESCRIPTION Specifies the description for the container. |
static java.lang.String |
DISPLAY_NAME Specifies the display name for the container. |
static int |
UNDEFINED_INT_SETTINGS Specifies that none os the settings are defined. |
Method Summary | |
java.util.Map |
currents() Returns all the current keys with a value without returning the defaults |
void |
setDescription(java.lang.String description) Sets the description for this container |
void |
setDisplayName(java.lang.String displayName) Sets the display name for this container |
void |
validate() Validates the value of the parameters currently set in this container settings instance. |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
public static final int UNDEFINED_INT_SETTINGS
public static final java.lang.String DISPLAY_NAME
public static final java.lang.String DESCRIPTION
Method Detail |
public void setDisplayName(java.lang.String displayName) throws TdException
displayName
- the string used to set the display name for the container.TdException
public void setDescription(java.lang.String description) throws TdException
description
- the string used to set the description to the containerTdException
public java.util.Map currents()
public void validate() throws TdException
TdException
- if a parameter has an invalid value
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |