BrightSide Workbench Full Report + Source Code
org.turro.socialgroup.SocialGroup Class Reference

Public Member Functions

String getId ()
 
String getName ()
 
Set< String > getSyndicate ()
 
Set< String > getRoles ()
 
Set< String > getTags ()
 
Set< AllowedSocialGroupgetAllowed ()
 
void loadSet (File confFile)
 
void assignAllowedIds (SocialGroupMap map)
 

Detailed Description

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

Definition at line 39 of file SocialGroup.java.

Member Function Documentation

◆ assignAllowedIds()

void org.turro.socialgroup.SocialGroup.assignAllowedIds ( SocialGroupMap  map)

Definition at line 115 of file SocialGroup.java.

115  {
116  allowed.forEach(a -> a.setId(map.get(a.getName()).id));
117  }

◆ getAllowed()

Set<AllowedSocialGroup> org.turro.socialgroup.SocialGroup.getAllowed ( )

Definition at line 67 of file SocialGroup.java.

67  {
68  return allowed;
69  }

◆ getId()

String org.turro.socialgroup.SocialGroup.getId ( )

Definition at line 47 of file SocialGroup.java.

47  {
48  return id;
49  }

◆ getName()

String org.turro.socialgroup.SocialGroup.getName ( )

Definition at line 51 of file SocialGroup.java.

51  {
52  return name;
53  }
Here is the caller graph for this function:

◆ getRoles()

Set<String> org.turro.socialgroup.SocialGroup.getRoles ( )

Definition at line 59 of file SocialGroup.java.

59  {
60  return roles;
61  }

◆ getSyndicate()

Set<String> org.turro.socialgroup.SocialGroup.getSyndicate ( )

Definition at line 55 of file SocialGroup.java.

55  {
56  return syndicate;
57  }

◆ getTags()

Set<String> org.turro.socialgroup.SocialGroup.getTags ( )

Definition at line 63 of file SocialGroup.java.

63  {
64  return tags;
65  }

◆ loadSet()

void org.turro.socialgroup.SocialGroup.loadSet ( File  confFile)

Definition at line 71 of file SocialGroup.java.

71  {
72  SAXBuilder builder = new SAXBuilder();
73  Document doc;
74  try {
75  if(confFile.exists()) {
76  doc = builder.build(confFile);
77  readXML(doc.getRootElement());
78  }
79  } catch (IOException | JDOMException ex) {
80  Logger.getLogger(SocialGroup.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(null), ex);
81  }
82  }
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: