Plumtree PEIs  
 

IObjectActions.OnBeforeMigrateObject Method 

This function will perform some functionality during the Migration process of a set of objects.

string OnBeforeMigrateObject(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   int _nClassID,
   int[] _arrObjectIDs
);

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
_nClassID
- The type of object being migrated
_arrObjectIDs
- The specific set of objects being migrated.

Return Value

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

See Also

IObjectActions Interface | com.plumtree.portalpages.pei Namespace