BrightSide Workbench Full Report + Source Code
org.turro.mail.json.JsonMailStructure Class Reference
Inheritance diagram for org.turro.mail.json.JsonMailStructure:
Collaboration diagram for org.turro.mail.json.JsonMailStructure:

Public Member Functions

String getCategory ()
 
void setCategory (String category)
 
String getSubject ()
 
void setSubject (String subject)
 
String getMessage ()
 
void setMessage (String message)
 
boolean isAdministrators ()
 
void setAdministrators (boolean administrators)
 
List< String > getEntityPaths ()
 
void setEntityPaths (List< String > entityPaths)
 
List< String > getContactIds ()
 
void setContactIds (List< String > contactIds)
 
Map< String, String > getUsers ()
 
void setUsers (Map< String, String > users)
 
JsonMailStructure category (String category)
 
JsonMailStructure message (String message)
 
JsonMailStructure administrators ()
 
JsonMailStructure entityPath (String entityPath)
 
JsonMailStructure add (String contactId)
 
JsonMailStructure add (String name, String email)
 
String toJson ()
 
String toJson (Map< String, Object > properties)
 

Static Public Member Functions

static JsonMailStructure subject (String subject)
 
static JsonMailStructure fromJson (JsonValue value)
 

Detailed Description

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

Definition at line 32 of file JsonMailStructure.java.

Member Function Documentation

◆ add() [1/2]

JsonMailStructure org.turro.mail.json.JsonMailStructure.add ( String  contactId)

Definition at line 118 of file JsonMailStructure.java.

118  {
119  contactIds.add(contactId);
120  return this;
121  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ add() [2/2]

JsonMailStructure org.turro.mail.json.JsonMailStructure.add ( String  name,
String  email 
)

Definition at line 123 of file JsonMailStructure.java.

123  {
124  users.put(name, email);
125  return this;
126  }

◆ administrators()

JsonMailStructure org.turro.mail.json.JsonMailStructure.administrators ( )

Definition at line 108 of file JsonMailStructure.java.

108  {
109  setAdministrators(true);
110  return this;
111  }
void setAdministrators(boolean administrators)
Here is the call graph for this function:

◆ category()

JsonMailStructure org.turro.mail.json.JsonMailStructure.category ( String  category)

Definition at line 98 of file JsonMailStructure.java.

98  {
99  setCategory(category);
100  return this;
101  }
Here is the call graph for this function:

◆ entityPath()

JsonMailStructure org.turro.mail.json.JsonMailStructure.entityPath ( String  entityPath)

Definition at line 113 of file JsonMailStructure.java.

113  {
114  entityPaths.add(entityPath);
115  return this;
116  }
JsonMailStructure entityPath(String entityPath)
Here is the call graph for this function:

◆ fromJson()

static JsonMailStructure org.turro.mail.json.JsonMailStructure.fromJson ( JsonValue  value)
static

Definition at line 148 of file JsonMailStructure.java.

148  {
149  return IJSONizable.fromJson(value.toString(), JsonMailStructure.class);
150  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCategory()

String org.turro.mail.json.JsonMailStructure.getCategory ( )

Definition at line 40 of file JsonMailStructure.java.

40  {
41  return category;
42  }

◆ getContactIds()

List<String> org.turro.mail.json.JsonMailStructure.getContactIds ( )

Definition at line 80 of file JsonMailStructure.java.

80  {
81  return contactIds;
82  }

◆ getEntityPaths()

List<String> org.turro.mail.json.JsonMailStructure.getEntityPaths ( )

Definition at line 72 of file JsonMailStructure.java.

72  {
73  return entityPaths;
74  }

◆ getMessage()

String org.turro.mail.json.JsonMailStructure.getMessage ( )

Definition at line 56 of file JsonMailStructure.java.

56  {
57  return message;
58  }

◆ getSubject()

String org.turro.mail.json.JsonMailStructure.getSubject ( )

Definition at line 48 of file JsonMailStructure.java.

48  {
49  return subject;
50  }

◆ getUsers()

Map<String, String> org.turro.mail.json.JsonMailStructure.getUsers ( )

Definition at line 88 of file JsonMailStructure.java.

88  {
89  return users;
90  }

◆ isAdministrators()

boolean org.turro.mail.json.JsonMailStructure.isAdministrators ( )

Definition at line 64 of file JsonMailStructure.java.

64  {
65  return administrators;
66  }

◆ message()

JsonMailStructure org.turro.mail.json.JsonMailStructure.message ( String  message)

Definition at line 103 of file JsonMailStructure.java.

103  {
104  setMessage(message);
105  return this;
106  }
Here is the call graph for this function:

◆ setAdministrators()

void org.turro.mail.json.JsonMailStructure.setAdministrators ( boolean  administrators)

Definition at line 68 of file JsonMailStructure.java.

68  {
69  this.administrators = administrators;
70  }
Here is the caller graph for this function:

◆ setCategory()

void org.turro.mail.json.JsonMailStructure.setCategory ( String  category)

Definition at line 44 of file JsonMailStructure.java.

44  {
45  this.category = category;
46  }
Here is the caller graph for this function:

◆ setContactIds()

void org.turro.mail.json.JsonMailStructure.setContactIds ( List< String >  contactIds)

Definition at line 84 of file JsonMailStructure.java.

84  {
85  this.contactIds = contactIds;
86  }

◆ setEntityPaths()

void org.turro.mail.json.JsonMailStructure.setEntityPaths ( List< String >  entityPaths)

Definition at line 76 of file JsonMailStructure.java.

76  {
77  this.entityPaths = entityPaths;
78  }

◆ setMessage()

void org.turro.mail.json.JsonMailStructure.setMessage ( String  message)

Definition at line 60 of file JsonMailStructure.java.

60  {
61  this.message = message;
62  }
Here is the caller graph for this function:

◆ setSubject()

void org.turro.mail.json.JsonMailStructure.setSubject ( String  subject)

Definition at line 52 of file JsonMailStructure.java.

52  {
53  this.subject = subject;
54  }
Here is the caller graph for this function:

◆ setUsers()

void org.turro.mail.json.JsonMailStructure.setUsers ( Map< String, String >  users)

Definition at line 92 of file JsonMailStructure.java.

92  {
93  this.users = users;
94  }

◆ subject()

static JsonMailStructure org.turro.mail.json.JsonMailStructure.subject ( String  subject)
static

Definition at line 130 of file JsonMailStructure.java.

130  {
131  JsonMailStructure structure = new JsonMailStructure();
132  structure.setSubject(subject);
133  return structure;
134  }
Here is the call graph for this function:

◆ toJson() [1/2]

String org.turro.mail.json.JsonMailStructure.toJson ( )

Definition at line 139 of file JsonMailStructure.java.

139  {
140  return toJson(this);
141  }
Here is the caller graph for this function:

◆ toJson() [2/2]

String org.turro.mail.json.JsonMailStructure.toJson ( Map< String, Object >  properties)

Definition at line 144 of file JsonMailStructure.java.

144  {
145  return toJson(this, properties);
146  }
Here is the call graph for this function:

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