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

Public Member Functions

String getDescription ()
 
Dao createDao ()
 
WhereClause getQuery (Path entityPath)
 
boolean getCanDelete (ValueIt v)
 
String getDescription (ValueIt v)
 
void doDelete (ValueIt v)
 
void doShow (ValueIt v)
 
void onChange (Object entity)
 
void onDelete (Object entity)
 
boolean getCanChangeFor (ValueIt v)
 
void doChangeFor (ValueIt v, Path toPath)
 
Object getReferringEntity (ValueIt v)
 
- Public Member Functions inherited from org.turro.activity.JpaParticipationCatcher< ValueIt >
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 ValueItParticipationCatcher.java.

Member Function Documentation

◆ createDao()

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

Definition at line 41 of file ValueItParticipationCatcher.java.

41  {
42  return new ContactsPU();
43  }

◆ doChangeFor()

void org.turro.activity.ValueItParticipationCatcher.doChangeFor ( ValueIt  v,
Path  toPath 
)

Definition at line 90 of file ValueItParticipationCatcher.java.

90  {
91  // do nothing
92  }

◆ doDelete()

void org.turro.activity.ValueItParticipationCatcher.doDelete ( ValueIt  v)

Definition at line 65 of file ValueItParticipationCatcher.java.

Here is the call graph for this function:

◆ doShow()

void org.turro.activity.ValueItParticipationCatcher.doShow ( ValueIt  v)

Definition at line 70 of file ValueItParticipationCatcher.java.

70  {
71  // nothing to show?
72  }

◆ getCanChangeFor()

boolean org.turro.activity.ValueItParticipationCatcher.getCanChangeFor ( ValueIt  v)

Definition at line 85 of file ValueItParticipationCatcher.java.

85  {
86  return false;
87  }

◆ getCanDelete()

boolean org.turro.activity.ValueItParticipationCatcher.getCanDelete ( ValueIt  v)

Definition at line 55 of file ValueItParticipationCatcher.java.

55  {
56  return true;
57  }

◆ getDescription() [1/2]

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

Definition at line 36 of file ValueItParticipationCatcher.java.

36  {
37  return "BrightSide Contacts - ValueIt";
38  }

◆ getDescription() [2/2]

String org.turro.activity.ValueItParticipationCatcher.getDescription ( ValueIt  v)

Definition at line 60 of file ValueItParticipationCatcher.java.

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

◆ getQuery()

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

Definition at line 46 of file ValueItParticipationCatcher.java.

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

◆ getReferringEntity()

Object org.turro.activity.ValueItParticipationCatcher.getReferringEntity ( ValueIt  v)

Definition at line 95 of file ValueItParticipationCatcher.java.

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

◆ onChange()

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

Definition at line 75 of file ValueItParticipationCatcher.java.

75  {
76  // do nothing
77  }

◆ onDelete()

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

Definition at line 80 of file ValueItParticipationCatcher.java.

80  {
81  // do nothing
82  }

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