com.sapportals.portal.pcd.gl

Interface IDeltaLink

All Superinterfaces:
Context, DirContext, IObservable, IPcdContext

public interface IDeltaLink
extends IPcdContext

An extension of IPcdContext that provides additional functionality for deltalinks.

This interface is not intended to be implemented by clients.


Field Summary
static String NAME_SUFFIX_PATTERN_FOR_CLASHING_PLUS_ENTRIES
          Clashing plus-entries are renamed by deltalinks by appending this suffix plus a integer number.
 
Fields inherited from interface com.sapportals.portal.pcd.gl.IPcdContext
APPLICATION_OBJECT_FACTORIES, APPLICATION_STATE_FACTORIES, CRAWLER_OBJECTS, FACTORY_SERVICE_ID, PCD_DISABLE_OBJECT_CLASS_CHECK, PCD_FILTER, PCD_GL_OBJECT_FACTORY, PCD_GL_STATE_FACTORY, PCD_INITIAL_CONTEXT_FACTORY, PCD_PERSONALIZATION_PRINCIPAL, PCD_REPORTING_PRINCIPAL, PCD_RETURN_OBJECT_CLASS_IN_ENUMERATIONS, PCD_RUNTIME_PERMISSION_CHECK, PCD_SCHEMA_PREFIX, PCD_USE_NON_PERSONALIZED_COPY_SOURCE, PCD_VERSION_CONTROL_ACTIVITY, REQUESTED_INTERFACE, UCD_INITIAL_CONTEXT_FACTORY, UCD_SCHEMA_PREFIX
 
Fields inherited from interface javax.naming.directory.DirContext
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE
 
Fields inherited from interface javax.naming.Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
 
Method Summary
 Name getTargetAsName()
          Retrieve the target of this deltalink as Name.
 String getTargetAsString()
          Retrieve the target of this deltalink as Name.
 Name setTarget(Name target)
          Set the target of this deltalink (by Name).
 Name setTarget(Name target, boolean keepDelta)
          Set the target of this deltalink (by Name).
 String setTarget(String target)
          Set the target of this deltalink (by String).
 String setTarget(String target, boolean keepDelta)
          Set the target of this deltalink (by String).
 
Methods inherited from interface com.sapportals.portal.pcd.gl.IPcdContext
bind, bind, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, createDeltaLink, createDeltaLink, createDeltaLink, createDeltaLink, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, destroySubcontext, destroySubcontext, getAccessUrl, getAclHandle, getAtomicName, getAttributes, getAttributes, getChildPosition, getChildPosition, getDateOfLastChange, getDateOfLastChange, getDlModificationState, getDlModificationState, getUnit, getUnit, getWhereUsedList, getWhereUsedList, isPartOfUnit, isPartOfUnit, isRootOfUnit, isRootOfUnit, list, list, listBindings, listBindings, listRelations, listRelations, listSize, listSize, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, rebind, rebind, removeAttributeModifications, removeAttributeModifications, removeModifications, removeModifications, rename, rename, rename, rename, rename, rename, search, search, search, setChildPosition, setChildPosition, unbind, unbind
 
Methods inherited from interface javax.naming.directory.DirContext
bind, bind, createSubcontext, createSubcontext, getAttributes, getAttributes, getAttributes, getAttributes, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, rebind, rebind, search, search, search, search, search, search, search
 
Methods inherited from interface javax.naming.Context
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
 
Methods inherited from interface com.sapportals.portal.pcd.gl.notif.IObservable
register
 

Field Detail

NAME_SUFFIX_PATTERN_FOR_CLASHING_PLUS_ENTRIES

static final String NAME_SUFFIX_PATTERN_FOR_CLASHING_PLUS_ENTRIES
Clashing plus-entries are renamed by deltalinks by appending this suffix plus a integer number.

See Also:
Constant Field Values
Method Detail

setTarget

Name setTarget(Name target)
               throws NamingException
Set the target of this deltalink (by Name). All modifications will be get lost and will not be applied to the new target. See also setTarget(Name target, boolean keepDelta)

Parameters:
target -
Returns:
Target
Throws:
NamingException

setTarget

String setTarget(String target)
                 throws NamingException
Set the target of this deltalink (by String).

Parameters:
target -
Returns:
Target
Throws:
NamingException

setTarget

Name setTarget(Name target,
               boolean keepDelta)
               throws NamingException
Set the target of this deltalink (by Name). Allows to keep the modifications that are stored in the deltalink.

Parameters:
target -
keepDelta - if true, then deltaDefinitions are kept and applied to the new target
Returns:
Throws:
NamingException

setTarget

String setTarget(String target,
                 boolean keepDelta)
                 throws NamingException
Set the target of this deltalink (by String).

Parameters:
target -
keepDelta - if true, then deltaDefinitions are kep and applied on the new target
Returns:
Target
Throws:
NamingException

getTargetAsName

Name getTargetAsName()
Retrieve the target of this deltalink as Name.

Returns:
TargetAsName

getTargetAsString

String getTargetAsString()
Retrieve the target of this deltalink as Name.

Returns:
TargetAsString
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api - EP-PIN
[sap.com] EP-BASIS [sap.com] tc/epbc/pcd/pars/srvgldeprecated api BC-PIN-PCD
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2011 SAP AG Complete Copyright Notice