1 /** 2 * Copyright 2014-2024 Bloomreach B.V. (<a href="https://www.bloomreach.com">https://www.bloomreach.com</a>) 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a> 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.onehippo.forge.exdocpicker.api; 17 18 import java.io.Serializable; 19 20 import org.apache.wicket.util.io.IClusterable; 21 22 /** 23 * Facade interface which combines {@link ExternalDocumentSearchService}, {@link ExternalDocumentFieldService} and {@link ExternalDocumentDisplayService}. 24 * 25 * <P> 26 * The CMS plugin UI expects a plugin parameter of an implementation class name of this interface to invoke those service APIs through this facade. 27 * </P> 28 * 29 * @param <T> Domain specific external document POJO type which must be serializable. 30 */ 31 public interface ExternalDocumentServiceFacade<T extends Serializable> 32 extends ExternalDocumentSearchService<T>, ExternalDocumentFieldService<T>, ExternalDocumentDisplayService<T>, 33 ExternalDocumentTreeService<T>, IClusterable { 34 35 }