Interface CMSSyncSearchRestrictionService

  • All Known Implementing Classes:
    DefaultCMSSyncSearchRestrictionService

    public interface CMSSyncSearchRestrictionService
    The Interface CMSSyncSearchRestrictionService responsible for managing SearchRestriction of synchronization.
    • Method Detail

      • createCmsSyncSearchRestriction

        SearchRestrictionModel createCmsSyncSearchRestriction​(java.lang.String restrictionCode,
                                                              java.lang.Class<?> restrictedTypeClass,
                                                              java.lang.String query)
        Creates and saves a search restriction with the given data.
        Parameters:
        restrictionCode - The code used to identify the search restriction to create
        restrictedTypeClass - The type that will be restricted by this search restriction
        query - The query used to perform the search restriction
        Returns:
        The new created SearchRestrictionModel