/*
* $Id$
* Created on Dec 7, 2004
*
* Copyright (C) 2004 Idega Software hf. All Rights Reserved.
*
* This software is the proprietary information of Idega hf.
* Use is subject to license terms.
*/
package is.idega.idegaweb.member.business.plugins;
import java.rmi.RemoteException;
import java.util.List;
import javax.ejb.CreateException;
import javax.ejb.RemoveException;
import com.idega.business.IBOService;
import com.idega.presentation.PresentationObject;
import com.idega.user.business.UserGroupPlugInBusiness;
import com.idega.user.data.Group;
import com.idega.user.data.User;
/**
*
* Last modified: $Date$ by $Author$
*
* @author <a href="mailto:eiki@idega.com">eiki</a>
* @version $Revision$
*/
public interface GroupBoardPluginBusiness extends IBOService, UserGroupPlugInBusiness {
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#beforeUserRemove
*/
public void beforeUserRemove(User user, Group parentGroup) throws RemoveException, RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#afterUserCreateOrUpdate
*/
public void afterUserCreateOrUpdate(User user, Group parentGroup) throws CreateException, RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#beforeGroupRemove
*/
public void beforeGroupRemove(Group group, Group parentGroup) throws RemoveException, RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#afterGroupCreateOrUpdate
*/
public void afterGroupCreateOrUpdate(Group group, Group parentGroup) throws CreateException, RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#instanciateEditor
*/
public PresentationObject instanciateEditor(Group group) throws RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#instanciateViewer
*/
public PresentationObject instanciateViewer(Group group) throws RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#getUserPropertiesTabs
*/
public List getUserPropertiesTabs(User user) throws RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#getGroupPropertiesTabs
*/
public List getGroupPropertiesTabs(Group group) throws RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#isUserAssignableFromGroupToGroup
*/
public String isUserAssignableFromGroupToGroup(User user, Group sourceGroup, Group targetGroup)
throws java.rmi.RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#isUserSuitedForGroup
*/
public String isUserSuitedForGroup(User user, Group targetGroup) throws java.rmi.RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#getMainToolbarElements
*/
public List getMainToolbarElements() throws RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#getGroupToolbarElements
*/
public List getGroupToolbarElements(Group group) throws RemoteException;
/**
* @see is.idega.idegaweb.member.business.plugins.GroupBoardPluginBusinessBean#canCreateSubGroup
*/
public String canCreateSubGroup(Group group, String groupTypeOfSubGroup) throws RemoteException;
}