fr.paris.lutece.plugins.form.service.entrytype
Class EntryTypeImage

java.lang.Object
  extended by fr.paris.lutece.plugins.genericattributes.service.entrytype.EntryTypeService
      extended by fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeUpload
          extended by fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeFile
              extended by fr.paris.lutece.plugins.form.service.entrytype.EntryTypeImage
All Implemented Interfaces:
fr.paris.lutece.plugins.genericattributes.service.entrytype.IEntryTypeService

public class EntryTypeImage
extends fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeFile

class EntryTypeImage


Field Summary
static String BEAN_NAME
          Name of the bean of this service
 
Fields inherited from class fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeUpload
ALL, COMMA, CONSTANT_EXPORT_BINARY, CONSTANT_FILE_MAX_SIZE, CONSTANT_MAX_FILES, PARAMETER_EXPORT_BINARY, PARAMETER_FILE_MAX_SIZE, PARAMETER_ID_RESPONSE, PARAMETER_MAX_FILES
 
Fields inherited from interface fr.paris.lutece.plugins.genericattributes.service.entrytype.IEntryTypeService
FIELD_COMMENT, FIELD_CONFIRM_FIELD_TITLE, FIELD_HEIGHT, FIELD_INSERT_GROUP, FIELD_MAX_SIZE_ENTER, FIELD_NUMBER_COLUMNS, FIELD_NUMBER_ROWS, FIELD_TITLE, FIELD_WIDTH, MESSAGE_CONFIRM_FIELD, MESSAGE_MANDATORY_FIELD, MESSAGE_MAXLENGTH, MESSAGE_MYLUTECE_AUTHENTIFICATION_REQUIRED, MESSAGE_NUMERIC_FIELD, MESSAGE_UNIQUE_FIELD, MESSAGE_XSS_FIELD, PARAMETER_COMMENT, PARAMETER_CONFIRM_FIELD, PARAMETER_CONFIRM_FIELD_TITLE, PARAMETER_CSS_CLASS, PARAMETER_ERROR_MESSAGE, PARAMETER_FIELD_IN_LINE, PARAMETER_HEIGHT, PARAMETER_HELP_MESSAGE, PARAMETER_MANDATORY, PARAMETER_MAX_SIZE_ENTER, PARAMETER_NUMBER_COLUMNS, PARAMETER_NUMBER_ROWS, PARAMETER_TITLE, PARAMETER_UNIQUE, PARAMETER_VALUE, PARAMETER_WIDTH, PREFIX_ATTRIBUTE, SUFFIX_CONFIRM_FIELD
 
Constructor Summary
EntryTypeImage()
           
 
Method Summary
protected  boolean checkForImages()
          
 fr.paris.lutece.plugins.genericattributes.service.upload.AbstractAsynchronousUploadHandler getAsynchronousUploadHandler()
          
 String getTemplateCreate(fr.paris.lutece.plugins.genericattributes.business.Entry entry, boolean bDisplayFront)
          
 String getTemplateHtmlForm(fr.paris.lutece.plugins.genericattributes.business.Entry entry, boolean bDisplayFront)
          
 String getTemplateModify(fr.paris.lutece.plugins.genericattributes.business.Entry entry, boolean bDisplayFront)
          
 String getUrlDownloadFile(int nResponseId, String strBaseUrl)
          
 
Methods inherited from class fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeFile
getResponseData
 
Methods inherited from class fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeUpload
canUploadFiles, checkEntryData, checkResponseData, getFileSources, getReferenceListRegularExpression, getRequestData, getResponseValueForExport, getResponseValueForRecap, getUrlDownloadImage, setFields, setResponseToStringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_NAME

public static final String BEAN_NAME
Name of the bean of this service

See Also:
Constant Field Values
Constructor Detail

EntryTypeImage

public EntryTypeImage()
Method Detail

getTemplateHtmlForm

public String getTemplateHtmlForm(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
                                  boolean bDisplayFront)


getTemplateCreate

public String getTemplateCreate(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
                                boolean bDisplayFront)


getTemplateModify

public String getTemplateModify(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
                                boolean bDisplayFront)


getAsynchronousUploadHandler

public fr.paris.lutece.plugins.genericattributes.service.upload.AbstractAsynchronousUploadHandler getAsynchronousUploadHandler()

Overrides:
getAsynchronousUploadHandler in class fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeFile

getUrlDownloadFile

public String getUrlDownloadFile(int nResponseId,
                                 String strBaseUrl)

Specified by:
getUrlDownloadFile in class fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeUpload

checkForImages

protected boolean checkForImages()

Specified by:
checkForImages in class fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeFile


Copyright © 2014 Mairie de Paris. All Rights Reserved.