Class DefaultCMSVersionDeleteStrategy

    • Constructor Detail

      • DefaultCMSVersionDeleteStrategy

        public DefaultCMSVersionDeleteStrategy​(ModelService modelService)
    • Method Detail

      • deleteVersions

        public java.util.Optional<PerformResult> deleteVersions​(java.util.Collection<PK> toBeDeleted)
                                                         throws java.lang.Exception
        Specified by:
        deleteVersions in interface CMSVersionDeleteStrategy
        Parameters:
        toBeDeleted - The list of PKs that need to be deleted
        Returns:
        if you return a result, the job will immediatly stop and return the result
        Throws:
        java.lang.Exception