BrightSide Workbench Full Report + Source Code
org.turro.zul.acceptance.AcceptanceWrapper Class Reference

Public Member Functions

 AcceptanceWrapper (Acceptance acceptance, IContact contact)
 
boolean isAcceptable ()
 
boolean isDeleteable ()
 
Contact getPetitioner ()
 
String getPath ()
 
String getId ()
 
Date getDateRequest ()
 
Date getDateAcceptance ()
 
Contact getContact ()
 
String getAcceptanceComment ()
 

Detailed Description

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

Definition at line 30 of file AcceptanceWrapper.java.

Constructor & Destructor Documentation

◆ AcceptanceWrapper()

org.turro.zul.acceptance.AcceptanceWrapper.AcceptanceWrapper ( Acceptance  acceptance,
IContact  contact 
)

Definition at line 35 of file AcceptanceWrapper.java.

35  {
36  this.acceptance = acceptance;
37  this.contact = contact;
38  }

Member Function Documentation

◆ getAcceptanceComment()

String org.turro.zul.acceptance.AcceptanceWrapper.getAcceptanceComment ( )

Definition at line 73 of file AcceptanceWrapper.java.

73  {
74  return acceptance.getAcceptanceComment();
75  }
Here is the call graph for this function:

◆ getContact()

Contact org.turro.zul.acceptance.AcceptanceWrapper.getContact ( )

Definition at line 69 of file AcceptanceWrapper.java.

69  {
70  return acceptance.getContact();
71  }
Here is the call graph for this function:

◆ getDateAcceptance()

Date org.turro.zul.acceptance.AcceptanceWrapper.getDateAcceptance ( )

Definition at line 65 of file AcceptanceWrapper.java.

65  {
66  return acceptance.getDateAcceptance();
67  }
Here is the call graph for this function:

◆ getDateRequest()

Date org.turro.zul.acceptance.AcceptanceWrapper.getDateRequest ( )

Definition at line 61 of file AcceptanceWrapper.java.

61  {
62  return acceptance.getDateRequest();
63  }
Here is the call graph for this function:

◆ getId()

String org.turro.zul.acceptance.AcceptanceWrapper.getId ( )

Definition at line 57 of file AcceptanceWrapper.java.

57  {
58  return acceptance.getId();
59  }
Here is the call graph for this function:

◆ getPath()

String org.turro.zul.acceptance.AcceptanceWrapper.getPath ( )

Definition at line 53 of file AcceptanceWrapper.java.

53  {
54  return acceptance.getPath();
55  }
Here is the call graph for this function:

◆ getPetitioner()

Contact org.turro.zul.acceptance.AcceptanceWrapper.getPetitioner ( )

Definition at line 49 of file AcceptanceWrapper.java.

49  {
50  return acceptance.getPetitioner();
51  }
Here is the call graph for this function:

◆ isAcceptable()

boolean org.turro.zul.acceptance.AcceptanceWrapper.isAcceptable ( )

Definition at line 40 of file AcceptanceWrapper.java.

40  {
41  return acceptance.getContact().getId().equals(contact.getId()) &&
42  acceptance.getDateAcceptance() == null;
43  }
Here is the call graph for this function:

◆ isDeleteable()

boolean org.turro.zul.acceptance.AcceptanceWrapper.isDeleteable ( )

Definition at line 45 of file AcceptanceWrapper.java.

45  {
46  return Application.getApplication().isInRole("acceptance:delete");
47  }
Here is the call graph for this function:

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