public interface ISystem extends IAttributeSet
ISystem contains methods for manipulating system aliases and
for reading the system user mapping for the current user.
ISystem can be instantiated via a JNDI lookup using
the system PCD path.
ISystem inherits the interface
com.sap.portal.pcm.admin.IAttributeSet, which enables
manipulation of its attributes.IAttributeSet| Modifier and Type | Field and Description |
|---|---|
static String |
RAI_SYSTEM_CODELINK_VALUE
Determines the value of the codelink property of RAI system
|
ADMINISTRATION, ATTRIBUTE_NOT_FOUND, DIALOG, DIALOG_READ_ONLY, NONDIALOG, NONE, PERSONALIZATION, STRING_ATTRIBUTE, TEXT_ATTRIBUTE| Modifier and Type | Method and Description |
|---|---|
void |
addAlias(String aliasName)
Adds an alias for this system.
|
void |
changeDefaultAlias(String newDefaultAliasName)
Sets an alias as the default alias for this system.
|
String[] |
getAliases()
Gets all aliases for this system.
|
String |
getDefaultAlias()
Gets the system's default alias.
|
ISystemUserMappingData |
getUserMappingData(com.sap.security.api.IPrincipal principal)
Gets user mapping properties associated with this system for the
IPrincipal passed to this method. |
boolean |
isRAISystem() |
void |
removeAlias(String aliasName)
Removes the specified alias.
|
save, validatedeleteAttribute, deleteMetaAttribute, putAttribute, putAttribute, putMetaAttribute, putMetaAttributegetAttribute, getAttribute, getAttributeIds, getAttributeType, getAvailableAttributeLocales, getAvailableMetaAttributeLocales, getMetaAttribute, getMetaAttribute, getMetaAttributeIds, getMetaAttributeTypestatic final String RAI_SYSTEM_CODELINK_VALUE
String getDefaultAlias()
String[] getAliases()
ISystemUserMappingData getUserMappingData(com.sap.security.api.IPrincipal principal)
IPrincipal passed to this method. User mapping data
includes the user name and password associated with a system for the
current user.principal - the user for which to retrieve user mapping datavoid addAlias(String aliasName) throws NamingException, com.sap.portal.pcm.OperationFailedException
aliasName - the alias to associate with this systemNamingException - if the alias already existscom.sap.portal.pcm.OperationFailedException - if the operation failsvoid changeDefaultAlias(String newDefaultAliasName) throws NamingException, DefaultAliasNotFoundException, ValidationException, IOException, DefaultAliasAlreadyExistsException
newDefaultAliasName - the alias to be set as the new
default aliasNamingException - if the alias cannot be saved
in the PCDDefaultAliasNotFoundException - if the specified alias is
not defined for this systemValidationException - if newDefaultAliasName
is nullIOException - if the operation failsDefaultAliasAlreadyExistsException - if the specified alias already
is the default aliasvoid removeAlias(String aliasName) throws NamingException, com.sap.portal.pcm.OperationFailedException
aliasName - the alias to be removedNamingException - if the alias cannot be saved in the
PCDcom.sap.portal.pcm.OperationFailedException - if the operation failsboolean isRAISystem()
RAI_SYSTEM_CODELINK_VALUE value| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
Copyright 2018 SAP AG Complete Copyright Notice