org.sakaiproject.profile2.logic
Interface ProfileWorksiteLogic
public interface ProfileWorksiteLogic
Logic interface for creating worksites from Profile2.
- Author:
- d.b.robinson@lancaster.ac.uk
createWorksite
boolean createWorksite(String siteTitle,
String ownerId,
Collection<Person> members,
boolean notifyByEmail)
- Create a new worksite for the specified owner and list of members.
Members will be e-mailed notifications if requested
- Parameters:
siteTitle - the title for the new site.ownerId - the user creating the worksite (must have
site.add permission).members - the members of the worksite (must be connections of the
user creating the worksite).notifyByEmail - true if members should be notified of
the new site by email, otherwise false.
Copyright © 2008-2012 The Sakai Foundation. All Rights Reserved.