org.genealogie.web
Class AffichageImageAction

java.lang.Object
  |
  +--org.apache.struts.action.Action
        |
        +--org.genealogie.web.CheckAction
              |
              +--org.genealogie.web.AffichageImageAction

public final class AffichageImageAction
extends CheckAction


Field Summary
private static java.lang.String IMG_SMALL
           
private static java.lang.String RACINE_IMAGES
           
 
Fields inherited from class org.apache.struts.action.Action
DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGES_KEY, MULTIPART_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
AffichageImageAction()
           
 
Method Summary
private  boolean contientFichier(java.lang.String fichier, java.lang.String listeFichiers)
           
private  java.awt.image.BufferedImage getImageRetaillee(java.lang.String path, int width, int height)
           
private  java.lang.String getNomSmall(java.lang.String nomImage)
           
private  boolean isActeAutorise(org.genealogie.web.ActeUtils acte, org.genealogie.dao.FamillesBean familles, javax.servlet.http.HttpServletRequest request)
           
private  boolean isDocumentAutorise(org.genealogie.web.DocumentUtils document, org.genealogie.dao.FamillesBean familles, org.genealogie.web.AuthUtils auth, javax.servlet.http.HttpServletRequest request)
           
 org.apache.struts.action.ActionForward performTask(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
private  javax.media.jai.RenderedOp transformImage(int degrees, float scale, javax.media.jai.RenderedOp src, javax.media.jai.Interpolation interpRotate)
           
 
Methods inherited from class org.genealogie.web.CheckAction
contient, filtrerActes, filtrerActesBorneSup, filtrerDocuments, filtresRegistresBorneSup, getAuth, getIdPool, getTokens, isAccesTotal, isAuthentifier, perform, setIdPool, setNoCache
 
Methods inherited from class org.apache.struts.action.Action
, generateToken, getLocale, getResources, getServlet, isCancelled, isTokenValid, perform, perform, perform, resetToken, saveErrors, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

RACINE_IMAGES

private static final java.lang.String RACINE_IMAGES

IMG_SMALL

private static final java.lang.String IMG_SMALL
Constructor Detail

AffichageImageAction

public AffichageImageAction()
Method Detail

isActeAutorise

private boolean isActeAutorise(org.genealogie.web.ActeUtils acte,
                               org.genealogie.dao.FamillesBean familles,
                               javax.servlet.http.HttpServletRequest request)

isDocumentAutorise

private boolean isDocumentAutorise(org.genealogie.web.DocumentUtils document,
                                   org.genealogie.dao.FamillesBean familles,
                                   org.genealogie.web.AuthUtils auth,
                                   javax.servlet.http.HttpServletRequest request)

contientFichier

private boolean contientFichier(java.lang.String fichier,
                                java.lang.String listeFichiers)

getNomSmall

private java.lang.String getNomSmall(java.lang.String nomImage)

transformImage

private javax.media.jai.RenderedOp transformImage(int degrees,
                                                  float scale,
                                                  javax.media.jai.RenderedOp src,
                                                  javax.media.jai.Interpolation interpRotate)

getImageRetaillee

private java.awt.image.BufferedImage getImageRetaillee(java.lang.String path,
                                                       int width,
                                                       int height)

performTask

public org.apache.struts.action.ActionForward performTask(org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws java.io.IOException,
                                                          javax.servlet.ServletException
Overrides:
performTask in class CheckAction


Copyright © 2002 JGenea Web. All Rights Reserved.