FactDev  0.1
Utils::HierarchicalSystem Class Reference

The HierarchicalSystem class Create class which contains hierarchical system of FactDev. More...

#include <hierarchicalsystem.h>

Public Member Functions

 HierarchicalSystem ()
 HierarchicalSystem::HierarchicalSystem Construct a HierarchicalSystem.
 
void getAllProjects ()
 HierarchicalSystem::getAllProjects Get all projects and add each project to Customer linked.
 
void getAllBillings ()
 HierarchicalSystem::getAllBillings Get all billings and add each billing to Project linked.
 
void updateData ()
 HierarchicalSystem::updateData Update data on Customers, Projects, Billings.
 
void addProjectToCustomer (Project *p, Customer c)
 HierarchicalSystem::addProjectToCustomer Add the Project p to the Customer c More...
 
void addBillingToProject (Billing *b, Project *p)
 HierarchicalSystem::addBillingToProject Add the Billing b to the Project p More...
 
QMap< Project *, CustomergetCustomers () const
 HierarchicalSystem::getCustomers Return all customers and these projects linked. More...
 
QMap< Billing *, Project * > getProjects () const
 HierarchicalSystem::getProjects Return all projects and these billing linked. More...
 

Detailed Description

The HierarchicalSystem class Create class which contains hierarchical system of FactDev.

Author
Florent Berbie
See Also
Customer
Project
Billing

Member Function Documentation

void Utils::HierarchicalSystem::addBillingToProject ( Billing b,
Project p 
)

HierarchicalSystem::addBillingToProject Add the Billing b to the Project p

Parameters
bBilling
pProject
void Utils::HierarchicalSystem::addProjectToCustomer ( Project p,
Customer  c 
)

HierarchicalSystem::addProjectToCustomer Add the Project p to the Customer c

Parameters
pProject
cCustomer
QMap< Project *, Customer > Utils::HierarchicalSystem::getCustomers ( ) const

HierarchicalSystem::getCustomers Return all customers and these projects linked.

Returns
Projects linked to Customers
QMap< Billing *, Project * > Utils::HierarchicalSystem::getProjects ( void  ) const

HierarchicalSystem::getProjects Return all projects and these billing linked.

Returns
Billing linked to Projects

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