com.sap.portal.directory

Interface IDirOperations


public interface IDirOperations

Interface that provides important tree operations with respect to a given object.


Method Summary
 void copy(String newID)
          Deep copy
 void delete()
          delete the object/context specified by name and all it sub objects/contexts.
 void move(String targetFolderID)
          Move the object from its location to another folder
 void rename(String atominName)
          Rename of the object without moving it to a different location.
 

Method Detail

copy

void copy(String newID)
          throws NamingException
Deep copy

Parameters:
newID - the full JNDI URL of the newly created object
Throws:
NamingException

move

void move(String targetFolderID)
          throws NamingException
Move the object from its location to another folder

Parameters:
targetFolderID - Moves the object from its location to be a child of the specified targetFolderID
Throws:
NamingException

rename

void rename(String atominName)
            throws NamingException
Rename of the object without moving it to a different location. e.g. in the PCD, this will only change the technical name

Parameters:
atominName - the new name of the object (without the path!)
Throws:
NamingException

delete

void delete()
            throws NamingException
delete the object/context specified by name and all it sub objects/contexts.

Throws:
NamingException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/basis/jndisupportdeprecated api EP-PIN-PRT


Copyright 2012 SAP AG Complete Copyright Notice