Class AllowedSpaces
java.lang.Object
org.silverpeas.mobile.server.services.helpers.AllowedSpaces
Configured mobile navigation roots, including all their descendants.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAllowedSpaces(String configuration) AllowedSpaces(String allowed, String excluded) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallows(String spaceId, AllowedSpaces.ParentResolver parents) booleanbooleannavigationRoots(Collection<String> accessibleIds, AllowedSpaces.ParentResolver parents) Select only roots accessible to the user, without duplicating selected descendant branches.static StringnormalizeId(String spaceId)
-
Constructor Details
-
AllowedSpaces
-
AllowedSpaces
-
-
Method Details
-
hasAllowedRoots
public boolean hasAllowedRoots() -
isUnrestricted
public boolean isUnrestricted() -
allows
- Throws:
Exception
-
normalizeId
-