Class PortalProfile
java.lang.Object
com.aquima.interactions.profile.wrapper.ProfileDelegate
com.aquima.interactions.rule.inference.InferenceContextDelegate
com.aquima.interactions.portal.model.session.PortalProfile
- All Implemented Interfaces:
IEventChannel
,IProfile
,IProfileLifecycle
,InferenceContext
,Serializable
Profile delegate class to make sure the system instance cannot be removed.
- Since:
- 5.2
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorDescriptionPortalProfile
(InferenceContext profile) Constructs the wrapper class with the profile that should be wrapped. -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteInstance
(IEntityInstance instance, boolean autoDetach) Deletes an instance from a profileMethods inherited from class com.aquima.interactions.rule.inference.InferenceContextDelegate
getActiveInstance, getInferenceDetails
Methods inherited from class com.aquima.interactions.profile.wrapper.ProfileDelegate
activate, addEventListener, commitTransaction, createInstance, createInstance, getAllInstancesForEntity, getEntityDefinition, getInstance, getInstanceById, getInstanceByName, getProfile, getSingletonInstance, getState, getSupportedEvents, passivate, removeEventListener, restore, rollbackTransaction, startTransaction
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.events.IEventChannel
addEventListener, getSupportedEvents, removeEventListener
Methods inherited from interface com.aquima.interactions.rule.InferenceContext
getActiveInstance, getInferenceDetails
Methods inherited from interface com.aquima.interactions.profile.IProfile
commitTransaction, createInstance, createInstance, getAllInstancesForEntity, getEntityDefinition, getInstance, getInstanceById, getInstanceByName, getSingletonInstance, getState, restore, rollbackTransaction, startTransaction
Methods inherited from interface com.aquima.interactions.profile.IProfileLifecycle
activate, passivate
-
Constructor Details
-
PortalProfile
Constructs the wrapper class with the profile that should be wrapped.- Parameters:
profile
- the profile that should be wrapped.
-
-
Method Details
-
deleteInstance
Deletes an instance from a profile- Specified by:
deleteInstance
in interfaceIProfile
- Overrides:
deleteInstance
in classProfileDelegate
- Parameters:
instance
- the instance to delete, can not be nullautoDetach
- whether to detach the context
-