com.sap.portal.pcm.admin

Class PermissionDescriptor

java.lang.Object
  extended by com.sap.portal.pcm.admin.PermissionDescriptor

public class PermissionDescriptor
extends Object

The class that represents the allowed permissions of an object and a permission description.

This class is created by the semantics and used in the permission editor.


Field Summary
protected  String[] allowedPermissions
           
protected  String descriptiveString
           
 
Constructor Summary
PermissionDescriptor(String[] allowedPermissions, String descriptiveString)
          Constructs a PermissionDescriptor with the permissions allowed and a descriptive string.
 
Method Summary
 String[] getAllowedPermissions()
          Gets the allowed permissions.
 String getDescriptiveString()
          Gets the descriptive string.
 void setAllowedPermission(String[] allowedPermissions)
          Sets the allowed permission.
 void setDescriptiveString(String descriptiveString)
          Sets the descriptive string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowedPermissions

protected String[] allowedPermissions

descriptiveString

protected String descriptiveString
Constructor Detail

PermissionDescriptor

public PermissionDescriptor(String[] allowedPermissions,
                            String descriptiveString)
Constructs a PermissionDescriptor with the permissions allowed and a descriptive string.

Parameters:
allowedPermissions - the permissions allowed
descriptiveString - a descriptive string
Method Detail

getAllowedPermissions

public String[] getAllowedPermissions()
Gets the allowed permissions.

Returns:
the permissions allowed

getDescriptiveString

public String getDescriptiveString()
Gets the descriptive string.

Returns:
the descriptive string

setAllowedPermission

public void setAllowedPermission(String[] allowedPermissions)
Sets the allowed permission.

If permissions are already defined, these permissions are overwritten.

Parameters:
allowedPermissions - the allowed permission

setDescriptiveString

public void setDescriptiveString(String descriptiveString)
Sets the descriptive string. If a string is already defined, this string is overwritten.

Parameters:
descriptiveString - the descriptive string
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcm/admin/public/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice