BrightSide Workbench Full Report + Source Code
org.turro.contacts.control.ContactFieldList Class Reference
Inheritance diagram for org.turro.contacts.control.ContactFieldList:
Collaboration diagram for org.turro.contacts.control.ContactFieldList:

Public Member Functions

ContactField addContactField (ContactFieldType type, boolean required)
 
ContactField addContactField (ContactFieldType type, boolean required, String fieldLabel)
 
ContactFieldList createMinimumContact ()
 
ContactFieldList createMinimumEnterprise ()
 

Detailed Description

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

Definition at line 28 of file ContactFieldList.java.

Member Function Documentation

◆ addContactField() [1/2]

ContactField org.turro.contacts.control.ContactFieldList.addContactField ( ContactFieldType  type,
boolean  required 
)

Definition at line 30 of file ContactFieldList.java.

30  {
31  return addContactField(type, required, null);
32  }
ContactField addContactField(ContactFieldType type, boolean required)
Here is the caller graph for this function:

◆ addContactField() [2/2]

ContactField org.turro.contacts.control.ContactFieldList.addContactField ( ContactFieldType  type,
boolean  required,
String  fieldLabel 
)

Definition at line 34 of file ContactFieldList.java.

34  {
35  ContactField cf = new ContactField(type, required, fieldLabel);
36  add(cf);
37  return cf;
38  }

◆ createMinimumContact()

ContactFieldList org.turro.contacts.control.ContactFieldList.createMinimumContact ( )

Definition at line 40 of file ContactFieldList.java.

40  {
41  addContactField(ContactFieldType.CONTACT_NAME, true);
42  addContactField(ContactFieldType.CONTACT_GID, false);
43  addContactField(ContactFieldType.CONTACT_CONNECTOR, false, IUser.CONNECTOR_EMAIL);
44  addContactField(ContactFieldType.CONTACT_CONNECTOR, false, "Cell");
45  addContactField(ContactFieldType.CONTACT_CONNECTOR, false, "Telephone");
46  addContactField(ContactFieldType.CONTACT_ADDRESS, false, "Fiscal");
47  return this;
48  }
Here is the call graph for this function:

◆ createMinimumEnterprise()

ContactFieldList org.turro.contacts.control.ContactFieldList.createMinimumEnterprise ( )

Definition at line 50 of file ContactFieldList.java.

50  {
51  addContactField(ContactFieldType.CONTACT_NAME, true);
52  addContactField(ContactFieldType.CONTACT_GID, true);
53  addContactField(ContactFieldType.CONTACT_CONNECTOR, false, IUser.CONNECTOR_EMAIL);
54  addContactField(ContactFieldType.CONTACT_CONNECTOR, false, "Cell");
55  addContactField(ContactFieldType.CONTACT_CONNECTOR, false, "Telephone");
56  addContactField(ContactFieldType.CONTACT_CONNECTOR, false, "Fax");
57  addContactField(ContactFieldType.CONTACT_CONNECTOR, false, "Web");
58  addContactField(ContactFieldType.CONTACT_ADDRESS, true, "Fiscal");
59  return this;
60  }
Here is the call graph for this function:

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