com.googlecode.fascinator.portal.guitoolkit
Class GUIFileUploader

java.lang.Object
  extended by com.googlecode.fascinator.portal.guitoolkit.GUIFileUploader

public class GUIFileUploader
extends Object

Present a file upload interface to the user for ingesting into various harvest plugins.

Author:
Greg Pendlebury

Constructor Summary
GUIFileUploader(JsonSimpleConfig config, List<String> user_roles)
          Constructor.
 
Method Summary
 String renderForm()
          Render the form required for file uploads.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIFileUploader

public GUIFileUploader(JsonSimpleConfig config,
                       List<String> user_roles)
Constructor. Access to system configuration and a list of the user's security roles is required.

Parameters:
config - : System configuration
user_roles - : An array with the list of roles the current user has
Method Detail

renderForm

public String renderForm()
Render the form required for file uploads.

Returns:
String : The rendered form


Copyright © 2009-2012. All Rights Reserved.