Coalevo Logo

net.coalevo.messaging.model
Interface EditableGroup

All Superinterfaces:
Group

public interface EditableGroup
extends Group

This interface defines an editable group.

Version:
1.0.0 (10/02/2009)
Author:
Dieter Wimberger (wimpi)

Method Summary
 void addTag(java.lang.String tag)
          Adds a tag to the group.
 void removeTag(java.lang.String tag)
          Removes a tag from this group.
 void setInfoFormat(java.lang.String format)
          Sets a string defining the format of this group's info.
 void setInviteModerated(boolean b)
          Sets the flag that determines if invites to this group are moderated.
 void setInviteOnly(boolean b)
          Sets the flag that determines if this group is invite only.
 void setLanguage(java.util.Locale l)
          Sets the language of this group.
 void setModerator(AgentIdentifier aid)
          Sets the moderator of this group.
 void setTags(java.util.Set<java.lang.String> tags)
          Sets all tags of this group.
 Group toGroup()
          Returns the corresponding Group instance.
 
Methods inherited from interface net.coalevo.messaging.model.Group
getCreated, getInfo, getInfoFormat, getInvited, getLanguage, getMembers, getModerator, getName, getPresentMembers, getTags, isInviteModerated, isInviteOnly, isPermanent, setInfo
 

Method Detail

setLanguage

void setLanguage(java.util.Locale l)
Sets the language of this group.

Parameters:
l - language of this group as Locale.

setInfoFormat

void setInfoFormat(java.lang.String format)
Sets a string defining the format of this group's info.

Parameters:
format - a string defining the info format.

setModerator

void setModerator(AgentIdentifier aid)
Sets the moderator of this group.

Parameters:
aid - an AgentIdentifier instance.

setTags

void setTags(java.util.Set<java.lang.String> tags)
Sets all tags of this group.

Parameters:
tags - a set of strings.

addTag

void addTag(java.lang.String tag)
Adds a tag to the group.

Parameters:
tag - a tag String.

removeTag

void removeTag(java.lang.String tag)
Removes a tag from this group.

Parameters:
tag - a tag String.

setInviteOnly

void setInviteOnly(boolean b)
Sets the flag that determines if this group is invite only.

Invite only means that the moderator has to invite users to the group.

Parameters:
b - true if invite only, false otherwise.

setInviteModerated

void setInviteModerated(boolean b)
Sets the flag that determines if invites to this group are moderated.

Invite only means that the moderator has to invite users to the group.

Parameters:
b - true if invite only, false otherwise.

toGroup

Group toGroup()
Returns the corresponding Group instance.

Returns:
the corresponding Group instance.

Coalevo Logo

(c) 2004-2009 VFI (http://www.vfi.or.at)