|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISystem
The interface that represents a system and its attributes.
ISystem contains methods for manipulating system aliases and
for reading the system user mapping for the current user.
A system represents an external application. It wraps a set of properties
that enable connecting to an application or database.
A system can have one or more aliases, which are user-friendly names that can
be used to reference the system. Each alias can be associated with only one
system. The first alias assigned to a system is automatically set as the
default alias. You can add more aliases and then set one of these as the
default alias. You cannot remove the default alias unless it is the only
alias defined for the system.
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| Field Summary | |
|---|---|
static String |
RAI_SYSTEM_CODELINK_VALUE
Determines the value of the codelink property of RAI system |
| Fields inherited from interface com.sap.portal.pcm.IAttributes |
|---|
ADMINISTRATION, ATTRIBUTE_NOT_FOUND, DIALOG, DIALOG_READ_ONLY, NONDIALOG, NONE, PERSONALIZATION, STRING_ATTRIBUTE, TEXT_ATTRIBUTE |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.sap.portal.pcm.admin.IAttributeSet |
|---|
save, validate |
| Methods inherited from interface com.sap.portal.pcm.IMutableAttributes |
|---|
deleteAttribute, deleteMetaAttribute, putAttribute, putAttribute, putMetaAttribute, putMetaAttribute |
| Methods inherited from interface com.sap.portal.pcm.IAttributes |
|---|
getAttribute, getAttribute, getAttributeIds, getAttributeType, getAvailableAttributeLocales, getAvailableMetaAttributeLocales, getMetaAttribute, getMetaAttribute, getMetaAttributeIds, getMetaAttributeType |
| Field Detail |
|---|
static final String RAI_SYSTEM_CODELINK_VALUE
| Method Detail |
|---|
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 data
void addAlias(String aliasName)
throws NamingException,
com.sap.portal.pcm.OperationFailedException
aliasName - the alias to associate with this system
NamingException - if the alias already exists
com.sap.portal.pcm.OperationFailedException - if the operation fails
void changeDefaultAlias(String newDefaultAliasName)
throws NamingException,
DefaultAliasNotFoundException,
ValidationException,
IOException,
DefaultAliasAlreadyExistsException
newDefaultAliasName - the alias to be set as the new
default alias
NamingException - if the alias cannot be saved
in the PCD
DefaultAliasNotFoundException - if the specified alias is
not defined for this system
ValidationException - if newDefaultAliasName
is null
IOException - if the operation fails
DefaultAliasAlreadyExistsException - if the specified alias already
is the default alias
void removeAlias(String aliasName)
throws NamingException,
com.sap.portal.pcm.OperationFailedException
aliasName - the alias to be removed
NamingException - if the alias cannot be saved in the
PCD
com.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
|
|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||