|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SilverpeasRole | |
---|---|
com.silverpeas.accesscontrol | |
com.stratelia.webactiv | |
org.silverpeas.attachment.model |
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 |
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. |
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.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |