|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPermission
The interface that provides information about the permissions of a portal object.
The permissions may be proprietary to the object type.
The object is expected to respond to the portal's permissions (as defined below).
| Field Summary | |
|---|---|
static String |
PCM_ADMIN_FULL_CONTROL
A constant that represents a permission to read, change and delete the object's properties. |
static String |
PCM_ADMIN_OWNER
A constant that represents an owner permission. |
static String |
PCM_ADMIN_READ
A constant that represents a permission to read the object's properties. |
static String |
PCM_ADMIN_READ_WRITE
A constant that represents a permission to read and change the object's properties. |
static String |
PCM_ADMIN_WRITE
A constant that represents a permission to change the object's properties. |
static String |
PCM_END_USER
A constant that represents the permission for an end user to navigate to this portal object. |
| Method Summary | |
|---|---|
PermissionDescriptor |
getAllowedPermissions(Object principal,
Locale locale)
Gets an object that represents the allowed permissions of the specified principal for the specified locale. |
String[] |
getAllPermissions()
Lists all possible permissions for this object. |
String |
getPermissionTitle(String permission,
Locale locale)
Gets the permission title for the specified locale. |
boolean |
isAllowed(Object principal,
String permission)
Indicates whether the given principal has the specified permission. |
| Field Detail |
|---|
static final String PCM_ADMIN_READ
static final String PCM_ADMIN_WRITE
static final String PCM_ADMIN_READ_WRITE
static final String PCM_ADMIN_FULL_CONTROL
static final String PCM_ADMIN_OWNER
full control permission and the ability to define other owners to this object.
static final String PCM_END_USER
| Method Detail |
|---|
boolean isAllowed(Object principal,
String permission)
principal - a user, role or a group (when using UME, provide IPrincipal)permission - a string representation of the permission
String[] getAllPermissions()
String getPermissionTitle(String permission,
Locale locale)
throws UnsupportedOperationException
permission - a string representation of the permissionlocale - the preferred locale
UnsupportedOperationException - if the permission is not assigned to the object, or if this object does
not support a permission title
PermissionDescriptor getAllowedPermissions(Object principal,
Locale locale)
locale - the preferred localeprincipal - a user, role or a group (when using UME, provide IPrincipal)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcm/admin/public/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||