Is it possible to Create New Group Summary via client?

hi,

I build android application and I want to create group inside: openfire -> User/Groups -> Groups -> Create New Group.

I wonder if I import to android application client the below class.

Openfire-master/src/java/org/jivesoftware/openfire/group

AbstractGroupProvider.java        GroupAwareMap.java
ConcurrentGroupList.java          GroupCollection.java
ConcurrentGroupMap.java           GroupJID.java
DefaultGroupPropertyMap.java      GroupManager.java
DefaultGroupProvider.java         GroupNotFoundException.java
Group.java                        GroupProvider.java
GroupAlreadyExistsException.java  JDBCGroupProvider.java
GroupAwareList.java               package-info.java

and I write someting like:

try {
                Group newGroup = objManger.getGroupManager().createGroup(name);
                if (description != null) {
                    objManger.setDescription(description);
                }
  1. Did i be able to create new group?

  2. Did I must to build plugin for openfire or I can control it from the client?

Many Thanks for any help.

You could also use the REST API plugin which already allow you to create new groups over REST/HTTP.

Look here: REST API Plugin Readme

Hi,

I Dont need to create new REST/HTTP.

I want to use the existing client connection created to devlope this plugin which create " New Group Summary"

without REST/HTTP,

Many Thanks for your replay.

I be glade for any Help