Class PortalProfile

All Implemented Interfaces:
IEventChannel, IProfile, IProfileLifecycle, InferenceContext, Serializable

public class PortalProfile extends InferenceContextDelegate implements InferenceContext
Profile delegate class to make sure the system instance cannot be removed.
Since:
5.2
Author:
Jon van Leuven
See Also:
  • Constructor Details

    • PortalProfile

      public PortalProfile(InferenceContext profile)
      Constructs the wrapper class with the profile that should be wrapped.
      Parameters:
      profile - the profile that should be wrapped.
  • Method Details

    • deleteInstance

      public void deleteInstance(IEntityInstance instance, boolean autoDetach)
      Deletes an instance from a profile
      Specified by:
      deleteInstance in interface IProfile
      Overrides:
      deleteInstance in class ProfileDelegate
      Parameters:
      instance - the instance to delete, can not be null
      autoDetach - whether to detach the context