BrightSide Workbench Full Report + Source Code
org.turro.financials.business.CompanyWrapper Class Reference
Inheritance diagram for org.turro.financials.business.CompanyWrapper:
Collaboration diagram for org.turro.financials.business.CompanyWrapper:

Public Member Functions

void setEntity (Company company)
 
String getTabLabel ()
 
String getSelfLabel ()
 
String getTooltiptext ()
 
- Public Member Functions inherited from org.turro.financials.model.business.CompanyWrapper
 CompanyWrapper ()
 
Company save ()
 
boolean delete ()
 
- Public Member Functions inherited from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >
 DaoEntity ()
 
 DaoEntity (Class< T > persistentClass)
 
 DaoEntity (T entity)
 
Dao getDao ()
 
getEntity ()
 
IElephantEntity getIee ()
 
find (ID id)
 
ID getId ()
 
List< String > getMessages ()
 
boolean canDelete ()
 
boolean canSave ()
 
boolean equals (Object obj)
 
int hashCode ()
 

Additional Inherited Members

- Static Public Member Functions inherited from org.turro.financials.model.business.CompanyWrapper
static boolean isValidDate (Date date)
 
static boolean isValidDate (Date date, boolean closing)
 
static Date getCompanyClosingDate ()
 
static int getEndOfYearClosing ()
 
static int getEndOfYearClosing (Date date)
 
static Currency getCompanyCurrency ()
 
static Locale getCompanyLocale ()
 
static NumberFormat getCurrencyFormatter ()
 
static Company getCompanyFrom (DocumentLine line)
 
static Headquarters getHeadquartersFrom (DocumentLine line)
 
static Department getDepartmentFrom (DocumentLine line)
 
static Service getServiceFrom (DocumentLine line)
 
static Company getDefaultCompany ()
 
static Company getDefaultCompany (boolean reload)
 
static void renumRegisters (Integer year, boolean books)
 
static void renumBookRegisters (Integer year)
 
static Service getDefaultService ()
 
static Contract getDefaultContractService ()
 
static void removeExercise (Integer year)
 
- Static Public Member Functions inherited from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >
static Object getEntityId (Object entity)
 
static boolean isNewId (Object id)
 
- Protected Member Functions inherited from org.turro.financials.model.business.CompanyWrapper
Dao createDao ()
 
boolean shouldLog ()
 
- Protected Member Functions inherited from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >
void logEntity (SystemLogType logType, Object entity, String action, String data)
 
String dataEntity (Object entity)
 
void initOperation ()
 
void addMessage (String message)
 
- Protected Attributes inherited from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >
entity
 
ID id
 
List< String > messages = new ArrayList<>()
 

Detailed Description

Member Function Documentation

◆ getSelfLabel()

String org.turro.financials.business.CompanyWrapper.getSelfLabel ( )

Definition at line 38 of file bsfinancials-www/src/main/java/org/turro/financials/business/CompanyWrapper.java.

38  {
39  return I_.get("Company");
40  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTabLabel()

String org.turro.financials.business.CompanyWrapper.getTabLabel ( )

◆ getTooltiptext()

String org.turro.financials.business.CompanyWrapper.getTooltiptext ( )

Definition at line 42 of file bsfinancials-www/src/main/java/org/turro/financials/business/CompanyWrapper.java.

42  {
43  try {
44  return entity.getName();
45  } catch(Exception ex) {
46  return null;
47  }
48  }

◆ setEntity()

void org.turro.financials.business.CompanyWrapper.setEntity ( Company  company)

Definition at line 30 of file bsfinancials-www/src/main/java/org/turro/financials/business/CompanyWrapper.java.

30  {
31  entity = company;
32  }

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