Files
alfresco-community-repo/source/java/org/alfresco/web/bean/wizard/InviteSpaceUsersWizard.java
Kevin Roast 5d18c75e08 . Refactoring of Invite Users to support inviting users into an existing Web Project space
- Added new Invite Website Users action
 - Content Managers can now invite additional users into the Web Project and sandboxes created for them
 - Refactoring of old-skool Invite Content/Space Users wizard beans to new style wizard framework beans
 - TODO: refactor JSPs to complement new beans
. User Sandbox creation code refactoring into a SandboxFactory helper so various wizards can utilise it
. Workflow selection lists now show workflow 'title' human-readable label instead of 'name' identifier field

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-23 16:08:51 +00:00

35 lines
796 B
Java

package org.alfresco.web.bean.wizard;
import java.util.Set;
import org.alfresco.model.ContentModel;
import org.alfresco.web.bean.repository.Node;
/**
* Concrete implementation providing the ability to invite users to a space.
*
* @author gavinc
*/
public class InviteSpaceUsersWizard extends InviteUsersWizard
{
/** Cache of available folder permissions */
Set<String> folderPermissions = null;
@Override
protected Set<String> getPermissionsForType()
{
if (this.folderPermissions == null)
{
this.folderPermissions = this.permissionService.getSettablePermissions(ContentModel.TYPE_FOLDER);
}
return this.folderPermissions;
}
@Override
protected Node getNode()
{
return this.browseBean.getActionSpace();
}
}