BrightSide Workbench Full Report + Source Code
org.turro.importer.ContactImporterProvider Class Reference
Inheritance diagram for org.turro.importer.ContactImporterProvider:
Collaboration diagram for org.turro.importer.ContactImporterProvider:

Public Member Functions

 ContactImporterProvider ()
 
- Public Member Functions inherited from org.turro.importer.AbstractImporterProvider
 AbstractImporterProvider (String name, String service)
 
String getName ()
 
String getService ()
 
boolean inRole ()
 
void setType (ImporterDataType type)
 
void setType (String fileName)
 
void clear ()
 
void setFullImport (boolean fullImport)
 
boolean isFullImport ()
 
void importData (Reader reader)
 
List< String > getHeaders ()
 
List< ImporterRegister > getData ()
 
void processData (WsMember member)
 

Protected Member Functions

boolean isInRole ()
 
void process (WsMember member, List< ImporterRegister > data)
 
- Protected Member Functions inherited from org.turro.importer.AbstractImporterProvider
List< ImporterRegister > importDataFrom (Reader reader)
 

Detailed Description

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

Definition at line 30 of file ContactImporterProvider.java.

Constructor & Destructor Documentation

◆ ContactImporterProvider()

org.turro.importer.ContactImporterProvider.ContactImporterProvider ( )

Definition at line 32 of file ContactImporterProvider.java.

32  {
33  super("Alliance Contact Importer", AxClient.CLIENT_SERVICE);
34  }

Member Function Documentation

◆ isInRole()

boolean org.turro.importer.ContactImporterProvider.isInRole ( )
protected

Reimplemented from org.turro.importer.AbstractImporterProvider.

Definition at line 37 of file ContactImporterProvider.java.

37  {
38  return Application.getApplication().isInRole("alliance:import");
39  }
Here is the call graph for this function:

◆ process()

void org.turro.importer.ContactImporterProvider.process ( WsMember  member,
List< ImporterRegister >  data 
)
protected

Reimplemented from org.turro.importer.AbstractImporterProvider.

Definition at line 42 of file ContactImporterProvider.java.

42  {
43  ImportFromMembers imp = new ImportFromMembers();
44  if(isFullImport()) imp.removeContactsFromMember(member);
45  imp.importContactsFromRegister(member, data);
46  }
Here is the call graph for this function:

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