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

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 DocumentsCleanup.java.

Member Function Documentation

◆ cleanEntity()

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

Implements org.turro.cleanup.IElephantCleanup.

Definition at line 37 of file DocumentsCleanup.java.

37  {
38 
39  }

◆ cleanOrphans()

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

Reimplemented from org.turro.cleanup.AbstractCleanup.

Definition at line 42 of file DocumentsCleanup.java.

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

◆ isMine()

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

Implements org.turro.cleanup.IElephantCleanup.

Definition at line 32 of file DocumentsCleanup.java.

32  {
33  return false;
34  }

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