BrightSide Workbench Full Report + Source Code
org.turro.erp.task.PendingTasksGrid Class Reference
Inheritance diagram for org.turro.erp.task.PendingTasksGrid:
Collaboration diagram for org.turro.erp.task.PendingTasksGrid:

Public Member Functions

HumanResource getHumanResource ()
 
void setHumanResource (HumanResource humanResource)
 
void setTasks (PendingTaskSet tasks)
 
void printWorksheet ()
 
void sendWorksheet ()
 
void afterCompose ()
 
void refresh ()
 
- Public Member Functions inherited from org.turro.zkoss.grid.PagingGrid
void setColumns (int columns)
 
void setColumns (String hflexs)
 
void refine ()
 
boolean isDefaultBehavior ()
 
void setDefaultBehavior (boolean defaultBehavior)
 
String getRefineValue ()
 
void setRefineValue (String value)
 
int getMaxResults ()
 
void setMaxResults (int maxResults)
 
String getPagingMold ()
 
void setPagingMold (String pagingMold)
 
int getRowCount ()
 
void setRowCount (int rows)
 
void setHeadersVisible (boolean value)
 
boolean isHeadersVisible ()
 
String getVarColumns ()
 
void setVarColumns (String varColumns)
 
Collection< String > getVarColumnsList (String defaultCols)
 
void addDetailColumn ()
 
void addDetailColumn (HtmlBasedComponent caption)
 
void openDetails ()
 
boolean isEmpty ()
 
void clearColumns ()
 
void clearRows ()
 
void clearEmptyGroups ()
 
Columns getColumns (boolean create)
 
Rows getRows (boolean create)
 
Foot getFoot (boolean create)
 
Foot createFoot ()
 
void exportToPdf ()
 

Detailed Description

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

Definition at line 32 of file PendingTasksGrid.java.

Member Function Documentation

◆ afterCompose()

void org.turro.erp.task.PendingTasksGrid.afterCompose ( )

Definition at line 70 of file PendingTasksGrid.java.

70  {
71  addColumns();
72  }

◆ getHumanResource()

HumanResource org.turro.erp.task.PendingTasksGrid.getHumanResource ( )

Definition at line 37 of file PendingTasksGrid.java.

37  {
38  return humanResource;
39  }

◆ printWorksheet()

void org.turro.erp.task.PendingTasksGrid.printWorksheet ( )

Definition at line 53 of file PendingTasksGrid.java.

53  {
54  WorksheetReport wsr = new WorksheetReport();
55  wsr.setOperator(humanResource);
56  wsr.setSendToParticipants(false);
57  wsr.setWorkloads(tasks);
58  wsr.print();
59  }
Here is the call graph for this function:

◆ refresh()

void org.turro.erp.task.PendingTasksGrid.refresh ( )

Definition at line 74 of file PendingTasksGrid.java.

74  {
75  getRows(true).getChildren().clear();
76  addRows();
77  }
Rows getRows(boolean create)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendWorksheet()

void org.turro.erp.task.PendingTasksGrid.sendWorksheet ( )

Definition at line 61 of file PendingTasksGrid.java.

61  {
62  WorksheetReport wsr = new WorksheetReport();
63  wsr.setOperator(humanResource);
64  wsr.setSendToParticipants(true);
65  wsr.setWorkloads(tasks);
66  wsr.print();
67  }
Here is the call graph for this function:

◆ setHumanResource()

void org.turro.erp.task.PendingTasksGrid.setHumanResource ( HumanResource  humanResource)

Definition at line 41 of file PendingTasksGrid.java.

41  {
42  this.humanResource = humanResource;
43  if(humanResource != null) {
44  setTasks(new PendingTaskSet(humanResource));
45  }
46  }
void setTasks(PendingTaskSet tasks)
Here is the call graph for this function:

◆ setTasks()

void org.turro.erp.task.PendingTasksGrid.setTasks ( PendingTaskSet  tasks)

Definition at line 48 of file PendingTasksGrid.java.

48  {
49  this.tasks = tasks;
50  refresh();
51  }
Here is the call graph for this function:
Here is the caller graph for this function:

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