Class ProfileDescription
- java.lang.Object
-
- org.silverpeas.core.admin.component.model.ProfileDescription
-
- Direct Known Subclasses:
Profile
public class ProfileDescription extends Object
Description of a user profile. It defines the common properties of such profile. A profile defines the access rights of a user in an application instance according to the role he plays. The user profile is then a mix between a role and some privileges. The profile name is the role name.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
help
protected Map<String,String>
label
protected ComponentSpaceProfileMapping
spaceProfileMapping
-
Constructor Summary
Constructors Constructor Description ProfileDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>
getHelp()
Gets the value of the help property.protected Map<String,String>
getLabel()
Gets the value of the label property.ComponentSpaceProfileMapping
getSpaceProfileMapping()
Gets the value of the spaceMapping property.void
putHelp(String language, String help)
Puts a localized help directly linked to theProfileDescription
instance.void
putLabel(String language, String label)
Puts a localized label directly linked to theProfileDescription
instance.void
setSpaceProfileMapping(ComponentSpaceProfileMapping value)
Gets the value of the spaceMapping property.
-
-
-
Method Detail
-
getLabel
protected Map<String,String> getLabel()
Gets the value of the label property.- Returns:
- possible object is
Multilang
-
putLabel
public void putLabel(String language, String label)
Puts a localized label directly linked to theProfileDescription
instance.- Parameters:
language
- the language the label is localized into.label
- a localized label.
-
getHelp
protected Map<String,String> getHelp()
Gets the value of the help property.- Returns:
- possible object is
Multilang
-
putHelp
public void putHelp(String language, String help)
Puts a localized help directly linked to theProfileDescription
instance.- Parameters:
language
- the language the help is localized into.help
- a localized help.
-
getSpaceProfileMapping
public ComponentSpaceProfileMapping getSpaceProfileMapping()
Gets the value of the spaceMapping property.- Returns:
- possible object is
ComponentSpaceProfileMapping
or null if no mapping is defined.
-
setSpaceProfileMapping
public void setSpaceProfileMapping(ComponentSpaceProfileMapping value)
Gets the value of the spaceMapping property.- Parameters:
value
- allowed object isComponentSpaceProfileMapping
-
-