|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.doui.control.Control
lumis.doui.control.ValidatorControl
lumis.doui.control.multifileupload.MultiFileUploadExtensionCheckControl
public class MultiFileUploadExtensionCheckControl
Control to check the files uploaded's extensions.
Field Summary |
---|
Fields inherited from class lumis.doui.control.ValidatorControl |
---|
clientSideValidationEnabled, DEFAULT_VALUE, ERROR_TYPE_CONTROL_BEING_VALIDATED_IS_NOT_CLIENT_SIDE_READABLE, ERROR_TYPE_ERROR_VALIDATING_CONTROL, messages, SOURCE_FIELD_NAME_UNDEFINED, validateOnClientSideEvents |
Constructor Summary | |
---|---|
MultiFileUploadExtensionCheckControl()
|
Method Summary | |
---|---|
protected boolean |
doServerValidation()
Performs the server validation of the controls for this validator. |
IResource |
getControlResource()
|
protected IControl |
getControlToValidate()
|
java.lang.String |
getScriptValidationFunctionImplementation()
Returns the client side code that must be placed in a client side function to perform the validation |
void |
init(org.w3c.dom.Node controlDefinitionNode,
ControlContainer controlContainer,
IControl parentControl)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface lumis.doui.control.IControl |
---|
buildSubControls, createContainer, disconnect, getChildControls, getId, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, isValid, registerOnEventScript, removeChild, removeChildren, setRuntimeAttributes, setValid |
Constructor Detail |
---|
public MultiFileUploadExtensionCheckControl()
Method Detail |
---|
public void init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
init
in interface IControl
init
in class ValidatorControl
PortalException
public java.lang.String getScriptValidationFunctionImplementation() throws PortalException
IValidatorControl
PortalException
protected boolean doServerValidation() throws PortalException
ValidatorControl
doServerValidation
in class ValidatorControl
PortalException
ValidatorControl.serverValidate()
protected IControl getControlToValidate() throws PortalException
getControlToValidate
in class ValidatorControl
PortalException
public IResource getControlResource() throws PortalException
getControlResource
in interface IControl
getControlResource
in class ValidatorControl
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |