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

Public Member Functions

String getDescription ()
 
Dao createDao ()
 
WhereClause getQuery (Path entityPath)
 
boolean getCanDelete (Tag v)
 
String getDescription (Tag v)
 
void doDelete (Tag v)
 
void doShow (Tag v)
 
void onChange (Object entity)
 
void onDelete (Object entity)
 
boolean getCanChangeFor (Tag v)
 
void doChangeFor (Tag v, Path toPath)
 
Object getReferringEntity (Tag v)
 
- Public Member Functions inherited from org.turro.activity.JpaParticipationCatcher< Tag >
List< IParticipationgetParticipations (Path entityPath)
 
Dao getDao ()
 
abstract Dao createDao ()
 
abstract WhereClause getQuery (Path entityPath)
 
abstract boolean getCanDelete (V v)
 
abstract boolean getCanChangeFor (V v)
 
abstract String getDescription (V v)
 
abstract void doDelete (V v)
 
abstract void doShow (V v)
 
abstract void doChangeFor (V v, Path toPath)
 
abstract Object getReferringEntity (V v)
 

Detailed Description

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

Definition at line 33 of file TagParticipationCatcher.java.

Member Function Documentation

◆ createDao()

Dao org.turro.activity.TagParticipationCatcher.createDao ( )

Definition at line 41 of file TagParticipationCatcher.java.

41  {
42  return new ElephantPU();
43  }

◆ doChangeFor()

void org.turro.activity.TagParticipationCatcher.doChangeFor ( Tag  v,
Path  toPath 
)

Definition at line 90 of file TagParticipationCatcher.java.

90  {
91  // do nothing
92  }

◆ doDelete()

void org.turro.activity.TagParticipationCatcher.doDelete ( Tag  v)

Definition at line 65 of file TagParticipationCatcher.java.

Here is the call graph for this function:

◆ doShow()

void org.turro.activity.TagParticipationCatcher.doShow ( Tag  v)

Definition at line 70 of file TagParticipationCatcher.java.

70  {
71  // nothing to show?
72  }

◆ getCanChangeFor()

boolean org.turro.activity.TagParticipationCatcher.getCanChangeFor ( Tag  v)

Definition at line 85 of file TagParticipationCatcher.java.

85  {
86  return false;
87  }

◆ getCanDelete()

boolean org.turro.activity.TagParticipationCatcher.getCanDelete ( Tag  v)

Definition at line 55 of file TagParticipationCatcher.java.

55  {
56  return true;
57  }

◆ getDescription() [1/2]

String org.turro.activity.TagParticipationCatcher.getDescription ( )

Definition at line 36 of file TagParticipationCatcher.java.

36  {
37  return "Elephant Commons - Tag";
38  }

◆ getDescription() [2/2]

String org.turro.activity.TagParticipationCatcher.getDescription ( Tag  v)

Definition at line 60 of file TagParticipationCatcher.java.

60  {
61  return v.getTagName();
62  }
Here is the call graph for this function:

◆ getQuery()

WhereClause org.turro.activity.TagParticipationCatcher.getQuery ( Path  entityPath)

Definition at line 46 of file TagParticipationCatcher.java.

46  {
47  WhereClause wc = new WhereClause();
48  wc.addClause("select distinct t from Tag t");
49  wc.addClause("where t.entityPath = :path");
50  wc.addNamedValue("path", entityPath.getPath());
51  return wc;
52  }
Here is the call graph for this function:

◆ getReferringEntity()

Object org.turro.activity.TagParticipationCatcher.getReferringEntity ( Tag  v)

Definition at line 95 of file TagParticipationCatcher.java.

95  {
96  return Entities.getController(v.getEntityPath()).getEntity();
97  }
Here is the call graph for this function:

◆ onChange()

void org.turro.activity.TagParticipationCatcher.onChange ( Object  entity)

Definition at line 75 of file TagParticipationCatcher.java.

75  {
76  // do nothing
77  }

◆ onDelete()

void org.turro.activity.TagParticipationCatcher.onDelete ( Object  entity)

Definition at line 80 of file TagParticipationCatcher.java.

80  {
81  // do nothing
82  }

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