|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPortalBasicRole
Interface for the Roles interface for UME
| Method Summary | |
|---|---|
String |
getDescription(Locale locale)
Deprecated. The Locale-dependent description (long text) for the role. |
String |
getId()
Deprecated. The ID (the PCD atomic name). |
String |
getLocation()
Deprecated. The location (the directory) including the JNDI scheme. |
String |
getPcdName()
Deprecated. The PCD URL including the JNDI scheme. |
String |
getPcdNamespace()
Deprecated. The namespace of this role in the PCD. |
String |
getPcdRootName()
Deprecated. The root name of that role in the PCD, i.e. the atomic name without the namespace. |
String |
getShortName()
Deprecated. The short name (Hashed name). |
String |
getTitle(Locale locale)
Deprecated. The Locale-dependent title for the role. |
Attributes |
getUmAttributes(String namespace)
Deprecated. A subset of the role's attributes with an internal namespace. |
NamingEnumeration |
getUmNamespaces()
Deprecated. The Usermanagement namespaces for which attributes are stored in the role. |
void |
saveUmAttributes(String namespace,
Attributes attributesToSave)
Deprecated. Saves the UM attributes. |
| Method Detail |
|---|
String getPcdName()
throws NamingException
pcd:portal_content/roles/com.sap.exampleRole
NamingException
String getId()
throws NamingException
com.sap.exampleRole
NamingException
String getLocation()
throws NamingException
pcd:portal_content/roles
NamingExceptionString getTitle(Locale locale)
locale - the Locale for which to read the title.
May be null; the title in the PCD default Locale will then
be searched. If no title is found, the title in
the original Locale of the role will then be returned.String getDescription(Locale locale)
getTitle(Locale)
String getShortName()
throws NamingException
++XI/Xc875e20oQwidGJaTd+FTw=
NamingException
Attributes getUmAttributes(String namespace)
throws NamingException
NamingException
void saveUmAttributes(String namespace,
Attributes attributesToSave)
throws NamingException
namespace - the namespace. All existing attributes
with this namespace will be deleted before saving the
attributes provided in the Attributes parameterattributesToSave - contains the attributes to save.
The attrbutes are expected to have IDs that start with
the proper namespace.
NamingException
NamingEnumeration getUmNamespaces()
throws NamingException
saveUmAttributes is performed with a namespace
and a non-empty Attributes parameter, the given namespace will
be added to this list if it wasn't there already. If
saveAttributes with an empty Attributes parameter
is performed (which amounts to deleting all attributes of this
namespace), the namespace will be removed from the list.
NamingException - if no namespaces are found
String getPcdNamespace()
throws NamingException
com.sap.exampleRole,
the namespace would be com.sap,
whereas the root name would be exampleRole.
In the case of an atomic name ending with a '.',
e.g. com.sap.dotRole., the namespace
would be com.sap.dotRole and the
root name would be empty. If the atomic name starts
with a '.' or does not contain any '.', the namespace is empty.
NamingExceptiongetPcdRootName(),
getId()
String getPcdRootName()
throws NamingException
com.sap.exampleRole,
the root name would be exampleRole. If the atomic
ends with a '.', the root name would be empty. If the atomic name
starts with a '.', the root name is equal to the atomic
name after removing the '.'.
NamingExceptiongetPcdNamespace(),
getId()| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||