org.apache.myfaces.custom.fileupload

Class HtmlInputFileUpload

Implemented Interfaces:
UserRoleAware

public class HtmlInputFileUpload
extends HtmlInputText
implements UserRoleAware

Version:
$Revision: 167257 $ $Date: 2004-10-13 13:51:02 +0200 (Wed, 13 Oct 2004) $
Author:
Manfred Geiler (latest modification by $Author: matze $)

Field Summary

static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE

Fields inherited from interface org.apache.myfaces.component.UserRoleAware

ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR

Constructor Summary

HtmlInputFileUpload()

Method Summary

String
getAccept()
String
getEnabledOnUserRole()
String
getFamily()
String
getStorage()
UploadedFile
getUploadedFile()
String
getVisibleOnUserRole()
boolean
isRendered()
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setAccept(String accept)
void
setEnabledOnUserRole(String enabledOnUserRole)
void
setStorage(String string)
void
setUploadedFile(UploadedFile upFile)
void
setVisibleOnUserRole(String visibleOnUserRole)

Field Details

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY

COMPONENT_TYPE

public static final String COMPONENT_TYPE

Constructor Details

HtmlInputFileUpload

public HtmlInputFileUpload()

Method Details

getAccept

public String getAccept()

getEnabledOnUserRole

public String getEnabledOnUserRole()
Specified by:
getEnabledOnUserRole in interface UserRoleAware

getFamily

public String getFamily()

getStorage

public String getStorage()

getUploadedFile

public UploadedFile getUploadedFile()

getVisibleOnUserRole

public String getVisibleOnUserRole()
Specified by:
getVisibleOnUserRole in interface UserRoleAware

isRendered

public boolean isRendered()

restoreState

public void restoreState(FacesContext context,
                         Object state)

saveState

public Object saveState(FacesContext context)

setAccept

public void setAccept(String accept)

setEnabledOnUserRole

public void setEnabledOnUserRole(String enabledOnUserRole)
Specified by:
setEnabledOnUserRole in interface UserRoleAware

setStorage

public void setStorage(String string)

setUploadedFile

public void setUploadedFile(UploadedFile upFile)

setVisibleOnUserRole

public void setVisibleOnUserRole(String visibleOnUserRole)
Specified by:
setVisibleOnUserRole in interface UserRoleAware