|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.core.MMTable
org.mmbase.module.core.MMObjectBuilder
org.mmbase.applications.community.builders.Community
This builder implements additional functionality and methods to handle community objects. Added functionality involve opening and closing all channels related to this community, and expanding a URL obtained form the 'maps' builder with a community number (SCAN only).
| Field Summary | |
static java.lang.String |
STR_CHATBOX
Community type : chatbox |
static java.lang.String |
STR_FORUM
Community type : forum |
| Fields inherited from class org.mmbase.module.core.MMObjectBuilder |
AGE_PARAMETERS, broadcastChanges, database, DEFAULT_ALINEA, DEFAULT_EOL, description, descriptions, fields, GUI_PARAMETERS, listCache, nodeCache, OBJ2TYPE_MAX_SIZE, oType, REPLACE_CACHE, searchAge, sortedDBLayout, TEMPNODE_DEFAULT_SIZE, TemporaryNodes, virtual |
| Fields inherited from class org.mmbase.module.core.MMTable |
mmb, tableName |
| Constructor Summary | |
Community()
Constructor |
|
| Method Summary | |
boolean |
activate()
Activates the community builder for the community application by associating it with other community builders |
void |
closeAllChannels(MMObjectNode community)
Closes all the channels of the community. |
java.lang.String |
getDefaultUrl(int src)
Deprecated. There is no maps definition available in cvs. In addition, this method only produces SCAN-format urls. |
boolean |
init()
Initializes this builder The property 'mmb' needs to be set for the builder before this method can be called. |
void |
openAllChannels(MMObjectNode community)
Opens all the channels that are connected to this community |
void |
openAllCommunities()
Opens all the channels that are connected to this community |
java.lang.String |
replace(scanpage sp,
java.util.StringTokenizer tok)
Handles the $MOD-MMBASE-BUILDER-community-commands. |
| Methods inherited from class org.mmbase.module.core.MMTable |
created, getFullTableName, getTableName, size |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String STR_CHATBOX
public static final java.lang.String STR_FORUM
| Constructor Detail |
public Community()
| Method Detail |
public boolean init()
MMObjectBuilder
init in class MMObjectBuilderMMObjectBuilder.create()public boolean activate()
public void openAllCommunities()
public void openAllChannels(MMObjectNode community)
community - The community node of which to open all the channels.public void closeAllChannels(MMObjectNode community)
community - The community of which to close all the channels.
public java.lang.String replace(scanpage sp,
java.util.StringTokenizer tok)
replace in class MMObjectBuildertok - the tokenized commandsp - The scanpage (containing http and user info) that calls the function
public java.lang.String getDefaultUrl(int src)
getDefaultUrl in class MMObjectBuildersrc - The number of the community MMObjectNode.
null if not map-node was
associated with this community.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||