Plumtree PEIs  
 

INewEditObjectActions.OnBeforeStoreObject Method 

This will perform some functionality just before the object is stored to the database. The function will return a valid IPTObject that has possible been modified to then be stored.

NOTE: Be very careful in implementing this so that invalid properties are not stored with the object.

IPTObject OnBeforeStoreObject(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   IPTObject _ptObject
);

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
_ptObject
- The actual object that is trying to be stored along with all of its property information.

Return Value

IPTObject - The returned object after possible modifications have been made.

See Also

INewEditObjectActions Interface | com.plumtree.portaluiinfrastructure.pei Namespace