Package com.portal.app.cc.comp
Class PDeferredActionBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.cc.comp.PDeferredActionBeanImpl
- All Implemented Interfaces:
PDeferredActionBean,PIACollectionBean,PControllerBean,Serializable,Remote,Unreferenced
public class PDeferredActionBeanImpl
extends PIAComponentCollectionBean
implements PDeferredActionBean
Controller class for deferred action items management
This class calls the PCM_OP_ACT_SCHEDULE_DELETE and PCM_OP_ACT_SCHEDULE_EXECUTE
to delete and execute the deferred action items
- Version:
- %version: 1.1.2 % %date_modified: Thu Jul 26 12:24:56 2001 %
- Author:
- dachywan
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteItem(PModelHandle hDelete) delete the scheduled itemvoiddumpModel(PModelHandle mh, String mesg) For debugging only.voidexecuteItem(PModelHandle hExecute) execute the scheduled item immidiatelygetFilteredScheduledItems(String sType) filter the scheduled itemsgetHierarchyChangeScheduled(PModelHandle acctModel) checks whether a deferred move has been scheduled (status == PENDING) using the opcode PCM_OP_CUSTCARE_MOVE_ACCTget all scheduled objects from PortalObject[]get all poid types of the scheduled itemsMethods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, updateMethods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PDeferredActionBeanImpl
Creates an instance of this controller class- Throws:
RemoteException
-
-
Method Details
-
getScheduledItems
get all scheduled objects from Portal- Specified by:
getScheduledItemsin interfacePDeferredActionBean- Throws:
RemoteException
-
getFilteredScheduledItems
filter the scheduled items- Specified by:
getFilteredScheduledItemsin interfacePDeferredActionBean- Parameters:
sType- == null to get all scheduled items- Throws:
RemoteException
-
getScheduledTypes
get all poid types of the scheduled items- Specified by:
getScheduledTypesin interfacePDeferredActionBean- Throws:
RemoteException
-
executeItem
execute the scheduled item immidiately- Specified by:
executeItemin interfacePDeferredActionBean- Parameters:
hExecute- : PModelHandle to the item- Throws:
RemoteException
-
deleteItem
delete the scheduled item- Specified by:
deleteItemin interfacePDeferredActionBean- Parameters:
hDelete- : PModelHandle to the item- Throws:
RemoteException
-
getHierarchyChangeScheduled
checks whether a deferred move has been scheduled (status == PENDING) using the opcode PCM_OP_CUSTCARE_MOVE_ACCT- Specified by:
getHierarchyChangeScheduledin interfacePDeferredActionBean- Parameters:
acctModel- The PModelHandle of the account of interest returns the date if the move has been deferred, null otherwise if more than one move has been scheduled, the date of the first move will be returned.- Throws:
RemoteException
-
dumpModel
Description copied from interface:PDeferredActionBeanFor debugging only.- Specified by:
dumpModelin interfacePDeferredActionBean- Parameters:
mh- : PModelHandle to the items- Throws:
RemoteException
-