Uses of Class
com.stratelia.webactiv.SilverpeasRole

Packages that use SilverpeasRole
com.silverpeas.accesscontrol   
com.silverpeas.web Provides the classes and interfaces from which web services can be defined and published in Silverpeas. 
com.silverpeas.web.mock   
com.stratelia.silverpeas.peasCore   
com.stratelia.silverpeas.peasCore.servlets   
com.stratelia.webactiv   
org.silverpeas.admin.web   
org.silverpeas.attachment.model   
org.silverpeas.attachment.web   
 

Uses of SilverpeasRole in com.silverpeas.accesscontrol
 

Methods in com.silverpeas.accesscontrol that return types with arguments of type SilverpeasRole
 Set<SilverpeasRole> AbstractAccessController.getUserRoles(AccessControlContext context, String userId, T object)
          Gets the user roles about the aimed object and by taking in account the context of the access.
 

Method parameters in com.silverpeas.accesscontrol with type arguments of type SilverpeasRole
protected  void NodeAccessController.fillUserRoles(Set<SilverpeasRole> userRoles, AccessControlContext context, String userId, NodePK nodePK)
           
protected  void PublicationAccessController.fillUserRoles(Set<SilverpeasRole> userRoles, AccessControlContext context, String userId, PublicationPK publicationPK)
           
protected  void ComponentAccessController.fillUserRoles(Set<SilverpeasRole> userRoles, AccessControlContext context, String userId, String componentId)
           
protected  void AbstractAccessController.fillUserRoles(Set<SilverpeasRole> userRoles, AccessControlContext context, String userId, T object)
          This method must fill user roles into the given container by taking in account the other parameters.
 boolean ComponentAccessController.isUserAuthorized(Set<SilverpeasRole> componentUserRoles)
           
 boolean NodeAccessController.isUserAuthorized(Set<SilverpeasRole> nodeUserRoles)
           
 

Uses of SilverpeasRole in com.silverpeas.web
 

Methods in com.silverpeas.web that return SilverpeasRole
 SilverpeasRole RESTWebService.getGreaterUserRole()
          Gets the greater role of the user behind the service call.
 

Methods in com.silverpeas.web that return types with arguments of type SilverpeasRole
protected  Collection<SilverpeasRole> RESTWebService.getUserRoles()
          Gets roles of the authenticated user.
 

Methods in com.silverpeas.web with parameters of type SilverpeasRole
 RESTWebService.WebProcess<RETURN_VALUE> RESTWebService.WebProcess.lowestAccessRole(SilverpeasRole lowestRoleAccess)
          Sets the lowest role access that the user behind the service call must verify.
 

Uses of SilverpeasRole in com.silverpeas.web.mock
 

Methods in com.silverpeas.web.mock with parameters of type SilverpeasRole
 void UserDetailWithProfiles.addProfile(String componentId, SilverpeasRole profile)
          Adds a new profile for tests.
 

Method parameters in com.silverpeas.web.mock with type arguments of type SilverpeasRole
 void UserDetailWithProfiles.addProfiles(String componentId, List<SilverpeasRole> roles)
          Defines the profiles for tests.
 

Uses of SilverpeasRole in com.stratelia.silverpeas.peasCore
 

Methods in com.stratelia.silverpeas.peasCore that return SilverpeasRole
 SilverpeasRole AbstractComponentSessionController.getHighestSilverpeasUserRole()
           
 SilverpeasRole ComponentSessionController.getHighestSilverpeasUserRole()
          Gets the highest role the user has on the component.
 

Methods in com.stratelia.silverpeas.peasCore that return types with arguments of type SilverpeasRole
 Collection<SilverpeasRole> AbstractComponentSessionController.getSilverpeasUserRoles()
           
 Collection<SilverpeasRole> ComponentSessionController.getSilverpeasUserRoles()
          Gets the roles the user has on the component.
 

Uses of SilverpeasRole in com.stratelia.silverpeas.peasCore.servlets
 

Methods in com.stratelia.silverpeas.peasCore.servlets that return SilverpeasRole
 SilverpeasRole WebComponentRequestContext.getGreaterUserRole()
           
 

Methods in com.stratelia.silverpeas.peasCore.servlets that return types with arguments of type SilverpeasRole
 Collection<SilverpeasRole> WebComponentRequestContext.getUserRoles()
           
 

Uses of SilverpeasRole in com.stratelia.webactiv
 

Fields in com.stratelia.webactiv with type parameters of type SilverpeasRole
static EnumSet<SilverpeasRole> SilverpeasRole.READER_ROLES
           
 

Methods in com.stratelia.webactiv that return SilverpeasRole
static SilverpeasRole SilverpeasRole.from(String name)
           
static SilverpeasRole SilverpeasRole.getGreaterFrom(Collection<SilverpeasRole> roles)
          Deprecated. use instead getGreatestFrom(Collection)
static SilverpeasRole SilverpeasRole.getGreaterFrom(SilverpeasRole... roles)
          Deprecated. use instead getGreatestFrom(SilverpeasRole...)
static SilverpeasRole SilverpeasRole.getGreatestFrom(Collection<SilverpeasRole> roles)
          Gets the greater role from the given ones.
static SilverpeasRole SilverpeasRole.getGreatestFrom(SilverpeasRole... roles)
          Gets the greatest role from the given ones.
static SilverpeasRole SilverpeasRole.getGreatestOfCurrentUserOn(String componentInstanceId)
          Gets the greatest role on the component represented by the given identifier the current user has.
static SilverpeasRole SilverpeasRole.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SilverpeasRole[] SilverpeasRole.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in com.stratelia.webactiv that return types with arguments of type SilverpeasRole
static Set<SilverpeasRole> SilverpeasRole.from(String[] roles)
           
static Set<SilverpeasRole> SilverpeasRole.listFrom(String roles)
          Lists the roles from a string.
 

Methods in com.stratelia.webactiv with parameters of type SilverpeasRole
static SilverpeasRole SilverpeasRole.getGreaterFrom(SilverpeasRole... roles)
          Deprecated. use instead getGreatestFrom(SilverpeasRole...)
static SilverpeasRole SilverpeasRole.getGreatestFrom(SilverpeasRole... roles)
          Gets the greatest role from the given ones.
 boolean SilverpeasRole.isGreaterThan(SilverpeasRole role)
          Indicates if a role is greater than an other one.
 boolean SilverpeasRole.isGreaterThanOrEquals(SilverpeasRole role)
          Indicates if a role is greater than or equals an other one.
 

Method parameters in com.stratelia.webactiv with type arguments of type SilverpeasRole
static String SilverpeasRole.asString(Set<SilverpeasRole> roles)
          Gets on or several roles as a string.
static SilverpeasRole SilverpeasRole.getGreaterFrom(Collection<SilverpeasRole> roles)
          Deprecated. use instead getGreatestFrom(Collection)
static SilverpeasRole SilverpeasRole.getGreatestFrom(Collection<SilverpeasRole> roles)
          Gets the greater role from the given ones.
 

Uses of SilverpeasRole in org.silverpeas.admin.web
 

Methods in org.silverpeas.admin.web that return SilverpeasRole
 SilverpeasRole UsersAndGroupsRoleEntity.getRole()
           
 

Methods in org.silverpeas.admin.web that return types with arguments of type SilverpeasRole
 Map<SilverpeasRole,UsersAndGroupsRoleEntity> ComponentResource.getUsersAndGroupsRoles(String roles)
          Gets users and groups roles indexed by role names.
 Map<SilverpeasRole,UsersAndGroupsRoleEntity> SpaceResource.getUsersAndGroupsRoles(String spaceId, String roles)
          Gets users and groups roles indexed by role names.
 

Methods in org.silverpeas.admin.web with parameters of type SilverpeasRole
static URI AdminResourceURIs.buildURIOfComponentUsersAndGroupsRoles(String componentId, SilverpeasRole role, javax.ws.rs.core.UriInfo uriInfo)
          Builds a component users and groups roles URI
static URI AdminResourceURIs.buildURIOfSpaceUsersAndGroupsRoles(String spaceId, SilverpeasRole role, javax.ws.rs.core.UriInfo uriInfo)
          Builds a space users and groups roles URI
static UsersAndGroupsRoleEntity UsersAndGroupsRoleEntity.createFrom(SilverpeasRole role, String label)
          Creates a new entity.
 

Uses of SilverpeasRole in org.silverpeas.attachment.model
 

Methods in org.silverpeas.attachment.model that return types with arguments of type SilverpeasRole
 Set<SilverpeasRole> SimpleDocument.getForbiddenDownloadForRoles()
          Gets roles for which download is not allowed.
 

Methods in org.silverpeas.attachment.model with parameters of type SilverpeasRole
 boolean SimpleDocument.addRolesForWhichDownloadIsAllowed(SilverpeasRole... allowedRoles)
          Allows the download for the given roles.
 boolean SimpleDocument.addRolesForWhichDownloadIsForbidden(SilverpeasRole... forbiddenRoles)
          Forbids the download for the given roles.
 

Method parameters in org.silverpeas.attachment.model with type arguments of type SilverpeasRole
 boolean SimpleDocument.addRolesForWhichDownloadIsAllowed(Collection<SilverpeasRole> allowedRoles)
          Allows the download for the given roles.
 boolean SimpleDocument.addRolesForWhichDownloadIsForbidden(Collection<SilverpeasRole> forbiddenRoles)
          Forbids the download for the given roles.
 boolean SimpleDocument.isDownloadAllowedForRoles(Set<SilverpeasRole> roles)
          Indicates if the download of the document is allowed for the given roles.
 

Uses of SilverpeasRole in org.silverpeas.attachment.web
 

Methods in org.silverpeas.attachment.web with parameters of type SilverpeasRole
 boolean VersioningSessionController.isUserInRole(String userId, SilverpeasRole role)
           
 



Copyright © 2016 Silverpeas. All Rights Reserved.