BrightSide Workbench Full Report + Source Code
org.turro.dossier.zul.attach.IssueFileTree Class Reference
Inheritance diagram for org.turro.dossier.zul.attach.IssueFileTree:
Collaboration diagram for org.turro.dossier.zul.attach.IssueFileTree:

Public Member Functions

 IssueFileTree ()
 
Issue getIssue ()
 
void setIssue (Issue issue)
 
void afterCompose ()
 
void uploadDone (FileItem file)
 
void downloadDone (FileItem file)
 
void deleteDone (FileItem file)
 
- Public Member Functions inherited from org.turro.file.zul.tree.FileTree
 FileTree ()
 
 FileTree (String title)
 
void initTreeColumns (List< FileColumn > fileColumns)
 
FileFilter getFileFilter ()
 
void setFileFilter (FileFilter fileFilter)
 
FileListener getFileListener ()
 
void setFileListener (FileListener listener)
 
String getRole ()
 
void setRole (String role)
 
boolean isInRole (String role)
 
Menupopup getActionMenu ()
 
void setAddToolbar (boolean addToolbar)
 
FileItem addFolder (String label, String path)
 
List< FileColumngetColumns ()
 
File getSelectedFile ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 38 of file IssueFileTree.java.

Constructor & Destructor Documentation

◆ IssueFileTree()

org.turro.dossier.zul.attach.IssueFileTree.IssueFileTree ( )

Definition at line 42 of file IssueFileTree.java.

42  {
43  super(I_.get("Root"));
44  }
Here is the call graph for this function:

Member Function Documentation

◆ afterCompose()

void org.turro.dossier.zul.attach.IssueFileTree.afterCompose ( )

Definition at line 55 of file IssueFileTree.java.

55  {
56  initTreeColumns(createFileColumns());
57  if(issue != null) {
58  File myFiles = new File(ElephantContext.getRealPath("/WEB-INF/files") + "/issue/" + issue.getId());
59  //if(!myFiles.exists()) myFiles.mkdirs();
60  addFolder(issue.getDescription(), myFiles.getAbsolutePath());
61  myFiles = new File(ElephantContext.getRealPath("/_internal/files") + "/issue/" + issue.getId());
62  //if(!myFiles.exists()) myFiles.mkdirs();
63  addFolder(issue.getDescription() + " (" + I_.get("Publishable") + ")", myFiles.getAbsolutePath());
64  }
65  }
void initTreeColumns(List< FileColumn > fileColumns)
FileItem addFolder(String label, String path)
Here is the call graph for this function:

◆ deleteDone()

void org.turro.dossier.zul.attach.IssueFileTree.deleteDone ( FileItem  file)

Implements org.turro.file.zul.tree.FileListener.

Definition at line 76 of file IssueFileTree.java.

76  {
77  }

◆ downloadDone()

void org.turro.dossier.zul.attach.IssueFileTree.downloadDone ( FileItem  file)

Implements org.turro.file.zul.tree.FileListener.

Definition at line 72 of file IssueFileTree.java.

72  {
73  }

◆ getIssue()

Issue org.turro.dossier.zul.attach.IssueFileTree.getIssue ( )

Definition at line 46 of file IssueFileTree.java.

46  {
47  return issue;
48  }

◆ setIssue()

void org.turro.dossier.zul.attach.IssueFileTree.setIssue ( Issue  issue)

Definition at line 50 of file IssueFileTree.java.

50  {
51  this.issue = issue;
52  }

◆ uploadDone()

void org.turro.dossier.zul.attach.IssueFileTree.uploadDone ( FileItem  file)

Implements org.turro.file.zul.tree.FileListener.

Definition at line 68 of file IssueFileTree.java.

68  {
69  }

The documentation for this class was generated from the following file: