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

Public Member Functions

void setIssue (Issue issue)
 
Changes getChanges ()
 
void setChanges (Changes changes)
 
void afterCompose ()
 
void uploadDone (Attachment file)
 
void downloadDone (Attachment file)
 
void deleteDone (Attachment file)
 
- Public Member Functions inherited from org.turro.attach.zul.control.AttachmentControl
void onSelectFolder ()
 
void onSearchValue ()
 
void onSearch ()
 
void onValidated ()
 
void onLevelUp () throws Exception
 
void onNewFolder () throws Exception
 
void onUpload (UploadEvent event) throws Exception
 
void onSend () throws Exception
 
void onDownload () throws Exception
 
void onCopy () throws Exception
 
void onCut () throws Exception
 
void onPaste () throws Exception
 
void onDelete () throws Exception
 
void onEvent (UploadEvent event) throws Exception
 
 AttachmentControl ()
 
Boolean getPublicOnly ()
 
void setPublicOnly (Boolean publicOnly)
 
boolean isReadOnly ()
 
void setReadOnly (boolean readOnly)
 
boolean isTreeCollapsed ()
 
void setTreeCollapsed (boolean treeCollapsed)
 
String getLabel ()
 
void setLabel (String label)
 
String getPath ()
 
void setPath (String path)
 
void setEntity (Object entity)
 
void refreshControls ()
 
AttachTree getTreeFolder ()
 
void selectFirst ()
 

Additional Inherited Members

- Static Public Member Functions inherited from org.turro.attach.zul.control.AttachmentControl
static void showFor (Object entity, Consumer< Windows > onClose)
 

Detailed Description

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

Definition at line 35 of file IssueAttachTree.java.

Member Function Documentation

◆ afterCompose()

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

Reimplemented from org.turro.attach.zul.control.AttachmentControl.

Definition at line 54 of file IssueAttachTree.java.

54  {
55  super.afterCompose();
56  initialiaze();
57  }
Here is the caller graph for this function:

◆ deleteDone()

void org.turro.dossier.zul.attach.IssueAttachTree.deleteDone ( Attachment  file)

Implements org.turro.attach.zul.navigator.AttachNavigatorListener.

Definition at line 74 of file IssueAttachTree.java.

74  {
75  if(changes != null) {
76  ChangeCategory cc = new ChangeCategory(3, I_.get("Attachments"));
77  changes.addChange(new StringChange(cc, I_.get("Delete"), file.getFileName(), null));
78  }
79  }
Here is the call graph for this function:

◆ downloadDone()

void org.turro.dossier.zul.attach.IssueAttachTree.downloadDone ( Attachment  file)

Implements org.turro.attach.zul.navigator.AttachNavigatorListener.

Definition at line 70 of file IssueAttachTree.java.

70  {
71  }

◆ getChanges()

Changes org.turro.dossier.zul.attach.IssueAttachTree.getChanges ( )

Definition at line 45 of file IssueAttachTree.java.

45  {
46  return changes;
47  }

◆ setChanges()

void org.turro.dossier.zul.attach.IssueAttachTree.setChanges ( Changes  changes)

Definition at line 49 of file IssueAttachTree.java.

49  {
50  this.changes = changes;
51  }
Here is the caller graph for this function:

◆ setIssue()

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

Definition at line 40 of file IssueAttachTree.java.

40  {
41  this.issue = issue;
42  super.setEntity(issue);
43  }
Here is the caller graph for this function:

◆ uploadDone()

void org.turro.dossier.zul.attach.IssueAttachTree.uploadDone ( Attachment  file)

Implements org.turro.attach.zul.navigator.AttachNavigatorListener.

Definition at line 60 of file IssueAttachTree.java.

60  {
61  if(changes != null) {
62  ChangeCategory cc = new ChangeCategory(3, I_.get("Attachments"));
63  changes.addChange(new StringChange(cc, I_.get("Upload"), file.getFileName(), null, true));
64  } else {
65  new IssueMail(changes, issue, 0, 0, 0).sendMail();
66  }
67  }
Here is the call graph for this function:

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