|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The ISystem provides an interface to a system allowing properties manipulation.
A system represents an external application. It wraps a set of properties
that allow to connect to the application it represents.
A system allows aliasing manipulation. "Aliases" are friendly names that represent
a system and provides reference to the system location. Many aliases can be associated
with a system whereas only one system can be refernced from a single alias.
The basic concept is that there must be at least one default alias if aliases are
defined for the system. To enforce this concept if an alias is added to a system, it
is defined as default if it is the first one. However, removing a default alias is
allowed if it is the only alias defined for the system.
The ISystem can be instanciated when a "lookup" is performed with the proper URL.
In order to get an ISystem instance, when performing a JNDI lookup, the ISystem
must be associated with a proper JNDI object factory.
Being a semantic object the ISystem provides all the PCD capabilities as declared in
super interface com.sap.portal.pcm.admin.IAttributeSet.
| Fields inherited from interface com.sap.portal.pcm.admin.IAttributeSet |
ADMINISTRATION, ATTRIBUTE_NOT_FOUND, DIALOG, DIALOG_READ_ONLY, NONDIALOG, NONE, PERSONALIZATION, STRING_ATTRIBUTE, TEXT_ATTRIBUTE |
| Method Summary | |
void |
addAlias(java.lang.String aliasName)
Associates this ISystem instance with a given alias name. |
void |
changeDefaultAlias(java.lang.String newDefaultAliasName)
Replaces the default alias defined for this ISystem with a new default alias name. |
java.lang.String[] |
getAliases()
Retrieves all aliases of this system. |
java.lang.String |
getDefaultAlias()
Retrieves the name of a default alias whose target is the URL of this system. |
ISystemUserMappingData |
getUserMappingData(com.sap.security.api.IPrincipal principal)
Creates an ISystemUserMappingData instance with the user mapping properties of this system |
void |
removeAlias(java.lang.String aliasName)
Removes the specified alias. |
| Methods inherited from interface com.sap.portal.pcm.admin.IAttributeSet |
deleteAttribute, deleteMetaAttribute, getAttribute, getAttribute, getAttributeIds, getAttributeType, getAvailableAttributeLocales, getAvailableMetaAttributeLocales, getMetaAttribute, getMetaAttribute, getMetaAttributeIds, getMetaAttributeType, putAttribute, putAttribute, putMetaAttribute, putMetaAttribute, save, validate |
| Method Detail |
public java.lang.String getDefaultAlias()
public java.lang.String[] getAliases()
public ISystemUserMappingData getUserMappingData(com.sap.security.api.IPrincipal principal)
principle -
public void addAlias(java.lang.String aliasName)
throws javax.naming.NamingException,
com.sap.portal.pcm.OperationFailedException
aliasName - - The alias name to associate with this ISystemjavax.naming.NamingException - com.sap.portal.pcm.OperationFailedException -
public void changeDefaultAlias(java.lang.String newDefaultAliasName)
throws javax.naming.NamingException,
DefaultAliasNotFoundException,
com.sap.portal.pcm.admin.ValidationException,
java.io.IOException,
DefaultAliasAlreadyExistsException
newDefaultAliasName - - the alias to be set as the new default aliasjavax.naming.NamingException - DefaultAliasNotFoundException - - If no default alias is predefinedcom.sap.portal.pcm.admin.ValidationException - java.io.IOException -
public void removeAlias(java.lang.String aliasName)
throws javax.naming.NamingException,
com.sap.portal.pcm.OperationFailedException
aliasName - - alias to be removed.javax.naming.NamingException - com.sap.portal.pcm.OperationFailedException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||