com.bea.wli.profile.api
Interface GroupProfile


public interface GroupProfile

Since:
9.2

Method Summary
 void deleteGroupProfile(String groupid)
          Removes this group profile
 String[] getAllGroupIds()
          Returns all the Groups with in the WLS server
 String getGroupCalendarId(String groupid)
          Retrieve the calendar id for this group
 String getGroupEmail(String groupid)
          Retrieve the email address for this group.
 boolean groupExistsWLS(String groupId)
           
 void sync()
          Removes all group profiles for groups that do not exist in WLS
 void unsetGroupCalendar(String groupid)
          Unsets the calendar for this group.
 void updateGroupCalendar(String groupid, String calendarId)
          Sets the calendar for this group.
 void updateGroupEmail(String groupid, String email)
          Sets the email address for this group.
 

Method Detail

updateGroupEmail

void updateGroupEmail(String groupid,
                      String email)
                      throws ProfileException,
                             RemoteException
Sets the email address for this group. A group profile is created if it does not exist. Exception is thrown if the group is not a valid WLS group.

Parameters:
groupid -
email -
Throws:
ProfileException
RemoteException

getGroupEmail

String getGroupEmail(String groupid)
                     throws ProfileException,
                            RemoteException
Retrieve the email address for this group.

Parameters:
groupid -
Returns:
The email address of the group or null if there is no email address is found.
Throws:
ProfileException
RemoteException

updateGroupCalendar

void updateGroupCalendar(String groupid,
                         String calendarId)
                         throws ProfileException,
                                RemoteException
Sets the calendar for this group. A group profile is created if it does not exist. Exception is thrown if the calendar does not exist or the group is not a valid WLS group.

Parameters:
groupid -
calendarId -
Throws:
ProfileException
RemoteException

unsetGroupCalendar

void unsetGroupCalendar(String groupid)
                        throws ProfileException,
                               RemoteException
Unsets the calendar for this group.

Parameters:
groupid -
Throws:
ProfileException
RemoteException

getGroupCalendarId

String getGroupCalendarId(String groupid)
                          throws ProfileException,
                                 RemoteException
Retrieve the calendar id for this group

Parameters:
groupid -
Returns:
The calendar id for the group or null if there is no calendar.
Throws:
ProfileException
RemoteException

deleteGroupProfile

void deleteGroupProfile(String groupid)
                        throws ProfileException,
                               RemoteException
Removes this group profile

Parameters:
groupid -
Throws:
ProfileException
RemoteException

sync

void sync()
          throws ProfileException,
                 RemoteException
Removes all group profiles for groups that do not exist in WLS

Throws:
ProfileException
RemoteException

groupExistsWLS

boolean groupExistsWLS(String groupId)
                       throws ProfileException,
                              RemoteException
Parameters:
groupId -
Returns:
Throws:
ProfileException
RemoteException

getAllGroupIds

String[] getAllGroupIds()
                        throws RemoteException
Returns all the Groups with in the WLS server

Returns:
All Group names
Throws:
RemoteException