|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.spec.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
net.ezcontent.web.admin.sections.docs.DocEditAttachments
Componente para manejar los attachments de un documento.
Field Summary |
Fields inherited from class org.apache.tapestry.BaseComponent |
|
Fields inherited from class org.apache.tapestry.AbstractComponent |
|
Fields inherited from class org.apache.tapestry.spec.BaseLocatable |
|
Constructor Summary | |
DocEditAttachments()
|
Method Summary | |
void |
addFile(IRequestCycle cycle)
Agrega un nuevo attachment al documento. |
abstract IUploadFile |
getAttFile()
Devuelve el archivo que sube el usuario. |
abstract String |
getAttName()
Devuelve el nombre del attachment que se va a agregar. |
DocumentDAO |
getDao()
Devuelve el DAO de documentos (lo obtiene de Global). |
abstract Attachment |
getFile()
Devuelve el attachment actual (en el Foreach). |
String |
getFileSize()
Devuelve una descripcion del tamaño del archivo. |
void |
removeFile(IRequestCycle cycle)
Elimina del documento el attachment seleccionado. |
Methods inherited from class org.apache.tapestry.BaseComponent |
addOuter, finishLoad, renderComponent |
Methods inherited from class org.apache.tapestry.spec.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.tapestry.ILocationHolder |
setLocation |
Methods inherited from interface org.apache.tapestry.ILocatable |
getLocation |
Constructor Detail |
public DocEditAttachments()
Method Detail |
public abstract Attachment getFile()
public abstract String getAttName()
public abstract IUploadFile getAttFile()
public DocumentDAO getDao()
public void addFile(IRequestCycle cycle)
public void removeFile(IRequestCycle cycle)
public String getFileSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |