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

Public Member Functions

 PermissionMap (FlatPermissions contactPermissions)
 
int size ()
 
boolean isEmpty ()
 
boolean containsKey (Object key)
 
boolean containsValue (Object value)
 
Boolean get (Object key)
 
Boolean put (String key, Boolean value)
 
Boolean remove (Object key)
 
void putAll (Map<? extends String, ? extends Boolean > m)
 
void clear ()
 
Set< String > keySet ()
 
Collection< Boolean > values ()
 
Set< Map.Entry< String, Boolean > > entrySet ()
 

Detailed Description

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

Definition at line 29 of file PermissionMap.java.

Constructor & Destructor Documentation

◆ PermissionMap()

org.turro.security.PermissionMap.PermissionMap ( FlatPermissions  contactPermissions)

Definition at line 33 of file PermissionMap.java.

33  {
34  this.flatPermissions = contactPermissions;
35  }

Member Function Documentation

◆ clear()

void org.turro.security.PermissionMap.clear ( )

Definition at line 78 of file PermissionMap.java.

78  {
79  throw new UnsupportedOperationException("Not supported yet.");
80  }

◆ containsKey()

boolean org.turro.security.PermissionMap.containsKey ( Object  key)

Definition at line 48 of file PermissionMap.java.

48  {
49  return flatPermissions.containsKey(key);
50  }

◆ containsValue()

boolean org.turro.security.PermissionMap.containsValue ( Object  value)

Definition at line 53 of file PermissionMap.java.

53  {
54  throw new UnsupportedOperationException("Not supported yet.");
55  }

◆ entrySet()

Set<Map.Entry<String, Boolean> > org.turro.security.PermissionMap.entrySet ( )

Definition at line 93 of file PermissionMap.java.

93  {
94  throw new UnsupportedOperationException("Not supported yet.");
95  }

◆ get()

Boolean org.turro.security.PermissionMap.get ( Object  key)

Definition at line 58 of file PermissionMap.java.

58  {
59  return flatPermissions.isInRole((String) key);
60  }
Here is the call graph for this function:

◆ isEmpty()

boolean org.turro.security.PermissionMap.isEmpty ( )

Definition at line 43 of file PermissionMap.java.

43  {
44  return flatPermissions.isEmpty();
45  }

◆ keySet()

Set<String> org.turro.security.PermissionMap.keySet ( )

Definition at line 83 of file PermissionMap.java.

83  {
84  return flatPermissions.keySet();
85  }

◆ put()

Boolean org.turro.security.PermissionMap.put ( String  key,
Boolean  value 
)

Definition at line 63 of file PermissionMap.java.

63  {
64  throw new UnsupportedOperationException("Not supported yet.");
65  }

◆ putAll()

void org.turro.security.PermissionMap.putAll ( Map<? extends String, ? extends Boolean >  m)

Definition at line 73 of file PermissionMap.java.

73  {
74  throw new UnsupportedOperationException("Not supported yet.");
75  }

◆ remove()

Boolean org.turro.security.PermissionMap.remove ( Object  key)

Definition at line 68 of file PermissionMap.java.

68  {
69  throw new UnsupportedOperationException("Not supported yet.");
70  }

◆ size()

int org.turro.security.PermissionMap.size ( )

Definition at line 38 of file PermissionMap.java.

38  {
39  return flatPermissions.size();
40  }

◆ values()

Collection<Boolean> org.turro.security.PermissionMap.values ( )

Definition at line 88 of file PermissionMap.java.

88  {
89  throw new UnsupportedOperationException("Not supported yet.");
90  }

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