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

Public Member Functions

 ProjectImporterProvider ()
 
- 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 ProjectImporterProvider.java.

Constructor & Destructor Documentation

◆ ProjectImporterProvider()

org.turro.importer.ProjectImporterProvider.ProjectImporterProvider ( )

Definition at line 32 of file ProjectImporterProvider.java.

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

Member Function Documentation

◆ isInRole()

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

Reimplemented from org.turro.importer.AbstractImporterProvider.

Definition at line 37 of file ProjectImporterProvider.java.

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

◆ process()

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

Reimplemented from org.turro.importer.AbstractImporterProvider.

Definition at line 42 of file ProjectImporterProvider.java.

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

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