BrightSide Workbench Full Report + Source Code
org.turro.server.db.entities.AxMemberPreferences Class Reference
Inheritance diagram for org.turro.server.db.entities.AxMemberPreferences:
Collaboration diagram for org.turro.server.db.entities.AxMemberPreferences:

Public Member Functions

Long getMemberId ()
 
void setMemberId (Long memberId)
 
boolean isDefaultBan ()
 
void setDefaultBan (boolean defaultBan)
 
WsMember getMember ()
 
Object entityId ()
 
boolean isEmpty ()
 
String toJson ()
 
String toJson (Map< String, Object > properties)
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareSave ()
 
default void prepareDelete ()
 
default void removeEmpties ()
 
default Collection< Collection > collections ()
 

Static Public Member Functions

static AxMemberPreferences fromJson (JsonValue value)
 

Detailed Description

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

Definition at line 36 of file AxMemberPreferences.java.

Member Function Documentation

◆ entityId()

Object org.turro.server.db.entities.AxMemberPreferences.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 67 of file AxMemberPreferences.java.

67  {
68  return memberId;
69  }

◆ fromJson()

static AxMemberPreferences org.turro.server.db.entities.AxMemberPreferences.fromJson ( JsonValue  value)
static

Definition at line 88 of file AxMemberPreferences.java.

88  {
89  return IJSONizable.fromJson(value.toString(), AxMemberPreferences.class);
90  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMember()

WsMember org.turro.server.db.entities.AxMemberPreferences.getMember ( )

Definition at line 60 of file AxMemberPreferences.java.

60  {
61  return Clients.getMember(memberId);
62  }

◆ getMemberId()

Long org.turro.server.db.entities.AxMemberPreferences.getMemberId ( )

Definition at line 42 of file AxMemberPreferences.java.

42  {
43  return memberId;
44  }

◆ isDefaultBan()

boolean org.turro.server.db.entities.AxMemberPreferences.isDefaultBan ( )

Definition at line 50 of file AxMemberPreferences.java.

50  {
51  return defaultBan;
52  }

◆ isEmpty()

boolean org.turro.server.db.entities.AxMemberPreferences.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 72 of file AxMemberPreferences.java.

72  {
73  return memberId == 0;
74  }

◆ setDefaultBan()

void org.turro.server.db.entities.AxMemberPreferences.setDefaultBan ( boolean  defaultBan)

Definition at line 54 of file AxMemberPreferences.java.

54  {
55  this.defaultBan = defaultBan;
56  }

◆ setMemberId()

void org.turro.server.db.entities.AxMemberPreferences.setMemberId ( Long  memberId)

Definition at line 46 of file AxMemberPreferences.java.

46  {
47  this.memberId = memberId;
48  }
Here is the caller graph for this function:

◆ toJson() [1/2]

String org.turro.server.db.entities.AxMemberPreferences.toJson ( )

Definition at line 79 of file AxMemberPreferences.java.

79  {
80  return toJson(this);
81  }
Here is the caller graph for this function:

◆ toJson() [2/2]

String org.turro.server.db.entities.AxMemberPreferences.toJson ( Map< String, Object >  properties)

Definition at line 84 of file AxMemberPreferences.java.

84  {
85  return toJson(this, properties);
86  }
Here is the call graph for this function:

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