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

Static Public Member Functions

static boolean isActor (String actor)
 
static boolean isActor (IContact contact, String actor)
 
static boolean isActorFor (Object entity, String actor)
 
static boolean isActorFor (IContact contact, Object entity, String actor)
 
static boolean isActorFor (IElephantEntity iee, String actor)
 
static boolean isActorFor (IContact contact, IElephantEntity iee, String actor)
 
static Set< String > getActors ()
 
static List< String > getSortedActors ()
 

Detailed Description

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

Definition at line 43 of file Actors.java.

Member Function Documentation

◆ getActors()

static Set<String> org.turro.actor.Actors.getActors ( )
static

Definition at line 71 of file Actors.java.

71  {
72  return load().stringPropertyNames();
73  }
Here is the caller graph for this function:

◆ getSortedActors()

static List<String> org.turro.actor.Actors.getSortedActors ( )
static

Definition at line 75 of file Actors.java.

75  {
76  return getActors().stream().sorted().collect(Collectors.toList());
77  }
static Set< String > getActors()
Definition: Actors.java:71
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isActor() [1/2]

static boolean org.turro.actor.Actors.isActor ( IContact  contact,
String  actor 
)
static

Definition at line 49 of file Actors.java.

49  {
50  return isActorFor(contact, null, actor);
51  }
static boolean isActorFor(Object entity, String actor)
Definition: Actors.java:53
Here is the call graph for this function:

◆ isActor() [2/2]

static boolean org.turro.actor.Actors.isActor ( String  actor)
static

Definition at line 45 of file Actors.java.

45  {
46  return isActorFor((IContact) Application.getUser(), null, actor);
47  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isActorFor() [1/4]

static boolean org.turro.actor.Actors.isActorFor ( IContact  contact,
IElephantEntity  iee,
String  actor 
)
static

Definition at line 65 of file Actors.java.

65  {
66  return Scripting.evalFor(contact, iee, getFormula(actor));
67  }
Here is the call graph for this function:

◆ isActorFor() [2/4]

static boolean org.turro.actor.Actors.isActorFor ( IContact  contact,
Object  entity,
String  actor 
)
static

Definition at line 57 of file Actors.java.

57  {
58  return isActorFor(contact, Entities.getController(entity), actor);
59  }
Here is the call graph for this function:

◆ isActorFor() [3/4]

static boolean org.turro.actor.Actors.isActorFor ( IElephantEntity  iee,
String  actor 
)
static

Definition at line 61 of file Actors.java.

61  {
62  return isActorFor((IContact) Application.getUser(), iee, actor);
63  }
Here is the call graph for this function:

◆ isActorFor() [4/4]

static boolean org.turro.actor.Actors.isActorFor ( Object  entity,
String  actor 
)
static

Definition at line 53 of file Actors.java.

53  {
54  return isActorFor((IContact) Application.getUser(), entity, actor);
55  }
Here is the call graph for this function:
Here is the caller graph for this function:

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