Class MacroGroup
- java.lang.Object
-
- org.jivesoftware.smackx.workgroup.ext.macros.MacroGroup
-
public class MacroGroup extends Object
MacroGroup datamodel.
-
-
Constructor Summary
Constructors Constructor Description MacroGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMacro(Macro macro)
void
addMacroGroup(MacroGroup group)
Macro
getMacro(int location)
Macro
getMacroByTitle(String title)
MacroGroup
getMacroGroup(int location)
MacroGroup
getMacroGroupByTitle(String title)
List<MacroGroup>
getMacroGroups()
List<Macro>
getMacros()
String
getTitle()
void
removeMacro(Macro macro)
void
removeMacroGroup(MacroGroup group)
void
setMacroGroups(List<MacroGroup> macroGroups)
void
setMacros(List<Macro> macros)
void
setTitle(String title)
String
toXML()
-
-
-
Constructor Detail
-
MacroGroup
public MacroGroup()
-
-
Method Detail
-
removeMacro
public void removeMacro(Macro macro)
-
getMacroByTitle
public Macro getMacroByTitle(String title)
-
addMacroGroup
public void addMacroGroup(MacroGroup group)
-
removeMacroGroup
public void removeMacroGroup(MacroGroup group)
-
getMacroGroupByTitle
public MacroGroup getMacroGroupByTitle(String title)
-
getMacroGroup
public MacroGroup getMacroGroup(int location)
-
getMacroGroups
public List<MacroGroup> getMacroGroups()
-
setMacroGroups
public void setMacroGroups(List<MacroGroup> macroGroups)
-
-