com.plumtree.portalpages.admin.objmgr
Interface IObjMgrDeleteRO

All Known Implementing Classes:
AdminSearchModel, ObjMgrModel

public interface IObjMgrDeleteRO

Author:
Don Hayler

Method Summary
 boolean CheckAuthSourceForDelete()
          This method checks if any users or groups came from an auth source other than plumtree.
 boolean CheckFoldersForDelete()
           
 boolean CheckPageTemplatesForDelete()
          This method checks whether or not the user is trying to delete any page templates.
 void SetFoldersForDeleteCheck(boolean tf)
          This method checks whether or not the user is trying to delete any folders.
 void SetObjectsForDeleteCheck(int[] nObjectIDPairs)
          This method is used to set the list of folder IDs (temporary) to be checked for delete.
 

Method Detail

CheckAuthSourceForDelete

boolean CheckAuthSourceForDelete()
This method checks if any users or groups came from an auth source other than plumtree. This assumes that any objects to check were set on the model earlier in the request (as they will be deleted between requests).

Returns:
true implies objects did come from an outside auth source

CheckPageTemplatesForDelete

boolean CheckPageTemplatesForDelete()
This method checks whether or not the user is trying to delete any page templates.

Returns:
true implies page templates are being deleted

SetFoldersForDeleteCheck

void SetFoldersForDeleteCheck(boolean tf)
This method checks whether or not the user is trying to delete any folders.


SetObjectsForDeleteCheck

void SetObjectsForDeleteCheck(int[] nObjectIDPairs)
This method is used to set the list of folder IDs (temporary) to be checked for delete.

Parameters:
int[] - of object class id / object id pairs.

CheckFoldersForDelete

boolean CheckFoldersForDelete()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.