com.sapportals.portal.pcd.gl

Interface IPcdProtectable


public interface IPcdProtectable

ACL access interface.

This interface is implemented by all PCD objects that can be protected using ACLs.


Method Summary
 IAclHandle getAclHandle()
          Returns the Acl Handle which allowes you to access the ACL object and ACE objects.
 boolean hasPermission(String permission)
          Checks if the current user (from the environment) has the given permission.
 

Method Detail

getAclHandle

IAclHandle getAclHandle()
                        throws NamingException
Returns the Acl Handle which allowes you to access the ACL object and ACE objects.

Returns:
IAclHandle
Throws:
NamingException

hasPermission

boolean hasPermission(String permission)
                      throws NamingException
Checks if the current user (from the environment) has the given permission.

Parameters:
permission -
Returns:
boolean true if the user has the permission
Throws:
NamingException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS [sap.com] tc/epbc/pcd/pars/srvgldeprecated api BC-PIN-PCD
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api - EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/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


Copyright 2015 SAP AG Complete Copyright Notice