|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPortalBasicRoleFactory
Interface for Portal Basic Role Factory
| Field Summary | |
|---|---|
static String |
ATTR_PCD_ATOMICNAME
Deprecated. The attribute name for the PCD atomic name. |
static String |
ATTR_PCD_TITLE
Deprecated. The attribute name for the PCD tile (language dependent). |
| Method Summary | |
|---|---|
boolean |
checkExistenceByShortName(String roleShortName)
Deprecated. Check role existence |
String |
convertRoleNameToShortName(String roleName)
Deprecated. Convert the name (PCD URL) to the short name. |
String |
convertRoleShortNameToName(String roleShortName)
Deprecated. Convert the short name to the name (PCD URL). |
String |
escapeSearchAttributeValue(String searchAttributeValue)
Deprecated. Make the search attribute value RFC 2254 compliant. |
IPortalBasicRole |
getRoleByShortName(String roleShortName)
Deprecated. Get the role by its short name. |
IPortalBasicRole |
getRoleByShortName(String roleShortName,
com.sap.security.api.IPrincipal principal)
Deprecated. Get the role by its short name. |
boolean |
isAlive()
Deprecated. |
void |
registerEventListener(String name,
IPortalBasicRoleEventListener listener)
Deprecated. Registration of an event listener. |
void |
registerFactoryEventListener(IPortalBasicRoleFactoryEventListener listener)
Deprecated. Register for shutdown/startup events from the PCD |
Enumeration |
searchRoleShortNames(Set allowedPcdNamespaces,
String searchFilter,
Locale searchLocale,
long maxNumber,
int timeout)
Deprecated. Search for roles with a given attribute filtered for a set of PCD Namespaces. |
Enumeration |
searchRoleShortNames(Set allowedPcdNamespaces,
String attributeName,
String attributeValue,
Locale searchLocale,
long maxNumber,
int timeout,
boolean caseSensitive)
Deprecated. Search for roles with a given attribute. |
void |
unregisterEventListener(String name)
Deprecated. Unregistration of an event listener. |
| Field Detail |
|---|
static final String ATTR_PCD_TITLE
static final String ATTR_PCD_ATOMICNAME
| Method Detail |
|---|
IPortalBasicRole getRoleByShortName(String roleShortName)
throws NamingException
roleShortName -
NamingException - if the role can not be foundIPortalBasicRole.getShortName()
IPortalBasicRole getRoleByShortName(String roleShortName,
com.sap.security.api.IPrincipal principal)
throws NamingException
roleShortName - principal - user for role assignment
NamingException - if the role could not be found or
if the user has no permissions for role assignment
Enumeration searchRoleShortNames(Set allowedPcdNamespaces,
String searchFilter,
Locale searchLocale,
long maxNumber,
int timeout)
throws NamingException
allowedPcdNamespaces - a Set of allowed
namespaces; if values are provided, only roles
with a namespace contained in this Set will be
returned; the empty namespace can be specified
providing an empty String in this set; if empty,
the method behaves like the unfiltered versionsearchFilter - the RFC2254 compatible
search filter, for example (|(att1=val1)(att2=val2))searchLocale - the Locale in which to search; if this is
null, the search will be performed in the "Empty"
Locale, i.e. the fallback Locale of the objectmaxNumber - timeout -
NamingException
Enumeration searchRoleShortNames(Set allowedPcdNamespaces,
String attributeName,
String attributeValue,
Locale searchLocale,
long maxNumber,
int timeout,
boolean caseSensitive)
throws NamingException
allowedPcdNamespaces - a Set of allowed
namespaces; if values are provided, only roles
with a namespace contained in this Set will be
returned; the empty namespace can be specified
providing an empty String in this set; if empty,
the method behaves like the unfiltered versionattributeName - the attribute name including the namespaceattributeValue - the value (with '*' as wildcard)searchLocale - the Locale in which to search; if this is
null, the search will be performed in the "Empty"
Locale, i.e. the fallback Locale of the objectmaxNumber - the maximum number of roles to return; 0 for all objectstimeout - timeout in milliseconds, 0 for no timeoutcaseSensitive -
NamingException
void registerEventListener(String name,
IPortalBasicRoleEventListener listener)
throws NamingException
name - a unique name for registration. Only one registration
per name is possiblelistener -
NamingExceptionvoid unregisterEventListener(String name)
name -
String convertRoleShortNameToName(String roleShortName)
throws NamingException
roleShortName - the short (hashed) name without provider prefix
NamingException
String convertRoleNameToShortName(String roleName)
throws NamingException
roleName - the PCD URL including the prefix ("pcd:")
NamingExceptionboolean checkExistenceByShortName(String roleShortName)
roleShortName - the short (hashed) role name without provider prefix
String escapeSearchAttributeValue(String searchAttributeValue)
searchAttributeValue - search attribute value to be escaped
void registerFactoryEventListener(IPortalBasicRoleFactoryEventListener listener)
listener - boolean isAlive()
registerEventListener(String, IPortalBasicRoleEventListener)| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||