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

Public Member Functions

boolean isMine (Object entity)
 
void cleanEntity (Object entity, CleanupMode mode)
 
void cleanOrphans ()
 
- Public Member Functions inherited from org.turro.cleanup.AbstractCleanup
void setConsole (ICleanupConsole console)
 
void cleanFromCommons (String entityPath, CleanupMode mode, Set< Commons > commons)
 
Set< String > pathsForRoot (String root, Commons common)
 

Additional Inherited Members

- Protected Member Functions inherited from org.turro.cleanup.AbstractCleanup
ICleanupConsole getConsole ()
 
Set< String > getOrphans (Set< String > entities, Set< String > mapped)
 
void cleanOrphansFor (String root, Set< String > entities)
 

Detailed Description

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

Definition at line 29 of file ContractsCleanup.java.

Member Function Documentation

◆ cleanEntity()

void org.turro.cleanup.ContractsCleanup.cleanEntity ( Object  entity,
CleanupMode  mode 
)

Implements org.turro.cleanup.IElephantCleanup.

Definition at line 37 of file ContractsCleanup.java.

37  {
38 
39  }

◆ cleanOrphans()

void org.turro.cleanup.ContractsCleanup.cleanOrphans ( )

Reimplemented from org.turro.cleanup.AbstractCleanup.

Definition at line 42 of file ContractsCleanup.java.

42  {
43  Dao dao = new FinancialsPU();
44  cleanOrphansFor("contract", getEntityPaths(dao, Long.class, "Contract", "id", "contract"));
45  }
void cleanOrphansFor(String root, Set< String > entities)
Here is the call graph for this function:

◆ isMine()

boolean org.turro.cleanup.ContractsCleanup.isMine ( Object  entity)

Implements org.turro.cleanup.IElephantCleanup.

Definition at line 32 of file ContractsCleanup.java.

32  {
33  return false;
34  }

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