Plumtree PEIs  
 

IDirectoryActions.OnBeforeDeleteDirectoryFolder Method 

This function will perform some functionality before the deletion process of a Directory Folder.

string OnBeforeDeleteDirectoryFolder(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   int _nFolderID
);

Parameters

_asCurrentSpace
- Provides access to the current MVC classes as well as the Application and the HTTP Session
_ptUserSession
- Plumtree session object for the current user
_nFolderID
- The specific folder being deleted

Return Value

String - Error message if the deletion should not continue, empty string or null if it should.

See Also

IDirectoryActions Interface | com.plumtree.portalpages.pei Namespace