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 TypeMethodDescriptionvoid
deleteItem
(PModelHandle hDelete) delete the scheduled itemvoid
dumpModel
(PModelHandle mh, String mesg) For debugging only.void
executeItem
(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, update
Methods 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, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getScheduledItems
in interfacePDeferredActionBean
- Throws:
RemoteException
-
getFilteredScheduledItems
filter the scheduled items- Specified by:
getFilteredScheduledItems
in interfacePDeferredActionBean
- Parameters:
sType
- == null to get all scheduled items- Throws:
RemoteException
-
getScheduledTypes
get all poid types of the scheduled items- Specified by:
getScheduledTypes
in interfacePDeferredActionBean
- Throws:
RemoteException
-
executeItem
execute the scheduled item immidiately- Specified by:
executeItem
in interfacePDeferredActionBean
- Parameters:
hExecute
- : PModelHandle to the item- Throws:
RemoteException
-
deleteItem
delete the scheduled item- Specified by:
deleteItem
in 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:
getHierarchyChangeScheduled
in 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:PDeferredActionBean
For debugging only.- Specified by:
dumpModel
in interfacePDeferredActionBean
- Parameters:
mh
- : PModelHandle to the items- Throws:
RemoteException
-