|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Principal
A principal represents a user or a user group defined on the CMS.
It is comprised of a name and a type.
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of the principal (user or group) this object refers to. |
PrincipalType |
getType()
Get the type of principal (user or group) this object refers to. |
void |
setName(java.lang.String value)
Set the name of the principal (user or group) this object refers to. |
void |
setType(PrincipalType value)
Set the type of principal (user or group) this object refers to. |
Method Detail |
---|
java.lang.String getName()
String
containing the name of the principal.com.sap.sl.sdk.authoring.cms.UniverseSecurityCache#getPrincipals(SecurityProfile) UniverseSecurityCache.getPrincipals(SecurityProfile)}
void setName(java.lang.String value)
value
- A String
containing the name of the principalcom.sap.sl.sdk.authoring.cms.UniverseSecurityCache#getPrincipals(SecurityProfile) UniverseSecurityCache.getPrincipals(SecurityProfile)}
PrincipalType getType()
PrincipalType.USER
if the principal is a user, or PrincipalType.USER_GROUP
if the principal is a group.com.sap.sl.sdk.authoring.security.PrincipalType PrincipalType}
,
com.sap.sl.sdk.authoring.cms.UniverseSecurityCache#getPrincipals(SecurityProfile) UniverseSecurityCache.getPrincipals(SecurityProfile)}
void setType(PrincipalType value)
value
- PrincipalType.USER
if the principal is a user, or PrincipalType.USER_GROUP
if the principal is a group.com.sap.sl.sdk.authoring.security.PrincipalType PrincipalType}
,
com.sap.sl.sdk.authoring.cms.UniverseSecurityCache#getPrincipals(SecurityProfile) UniverseSecurityCache.getPrincipals(SecurityProfile)}
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |