Class PartOfModelRegisterForRemoveInterceptor

    • Constructor Detail

      • PartOfModelRegisterForRemoveInterceptor

        public PartOfModelRegisterForRemoveInterceptor()
    • Method Detail

      • setTypeService

        public void setTypeService​(TypeService typeService)
      • registerForRemoval

        protected void registerForRemoval​(InterceptorContext ctx,
                                          ItemModel parentModel,
                                          ItemModel subModel,
                                          java.lang.String partOfAttrQualifier)
        Hook-in method for special attribute dealing. This method here calls InterceptorContext.registerElement(Object, Object) with the parameters: submodel, null. Overwrite this method to execute your own logic for a given partOf attribute.
        Parameters:
        ctx - the Interceptor context. The submodel will be registered to it.
        parentModel - this is the model which has the part-of attribute
        subModel - the content of the part-of attribute from the parentModel
        partOfAttrQualifier - the attribute qualifier of the part-of attribute
      • excludeIgnoredFromPartOfAttributes

        protected java.util.Set<java.lang.String> excludeIgnoredFromPartOfAttributes​(java.util.Set<java.lang.String> partOfSet,
                                                                                     java.util.Set<java.lang.String> ignoreSet)
      • setIgnoreAttributes

        public void setIgnoreAttributes​(java.util.Set<java.lang.String> ignoreAttributes)