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

Public Member Functions

 SelfAttachTree ()
 
void afterCompose ()
 
void uploadDone (AttachFile file)
 
void downloadDone (AttachFile file)
 
void deleteDone (AttachFile file)
 
- Public Member Functions inherited from org.turro.attach.zul.tree.AttachTree
 AttachTree ()
 
 AttachTree (String title)
 
 AttachTree (String title, Set< AttachColumn > columns, boolean publicOnly)
 
AttachListener getAttachListener ()
 
void setAttachListener (AttachListener listener)
 
void setAddToolbar (boolean addToolbar)
 
boolean isOnlyDownload ()
 
void setOnlyDownload (boolean onlyDownload)
 
AttachFolder addFolder (String label, String path, boolean loadOnDemand)
 
Set< AttachColumngetColumns ()
 
Attachment getSelectedAttachment ()
 
AttachResults getResults ()
 
void updateButtons ()
 
boolean getCanDelete ()
 
boolean getCanNew ()
 
boolean getCanEdit ()
 

Detailed Description

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

Definition at line 28 of file SelfAttachTree.java.

Constructor & Destructor Documentation

◆ SelfAttachTree()

org.turro.attach.zul.tree.SelfAttachTree.SelfAttachTree ( )

Definition at line 30 of file SelfAttachTree.java.

30  {
31  super();
32  }

Member Function Documentation

◆ afterCompose()

void org.turro.attach.zul.tree.SelfAttachTree.afterCompose ( )

Definition at line 35 of file SelfAttachTree.java.

35  {
36  IContact c = Authentication.getIContact();
37  AttachFolder folder = addFolder(c.getName(), "/contact/" + c.getId(), true);
38  folder.showContents();
39  for(IContact r : c.getRelations("Documents")) {
40  folder = addFolder(r.getName(), "/contact/" + r.getId(), true);
41  folder.showContents();
42  }
43  }
AttachFolder addFolder(String label, String path, boolean loadOnDemand)
Here is the call graph for this function:

◆ deleteDone()

void org.turro.attach.zul.tree.SelfAttachTree.deleteDone ( AttachFile  file)

Implements org.turro.attach.zul.tree.AttachListener.

Definition at line 54 of file SelfAttachTree.java.

54  {
55  }

◆ downloadDone()

void org.turro.attach.zul.tree.SelfAttachTree.downloadDone ( AttachFile  file)

Implements org.turro.attach.zul.tree.AttachListener.

Definition at line 50 of file SelfAttachTree.java.

50  {
51  }

◆ uploadDone()

void org.turro.attach.zul.tree.SelfAttachTree.uploadDone ( AttachFile  file)

Implements org.turro.attach.zul.tree.AttachListener.

Definition at line 46 of file SelfAttachTree.java.

46  {
47  }

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