/** * @param <P> the type of the properties bean * @version $Id: 7c09b14c44c26e14ee6e1325444799f88e121c99 $ * @since 6.2M1 */ @Role public interface BeanInputFilterStream<P> extends InputFilterStream { void setProperties(P properties) throws FilterException; }
/** * Provide a @Role for JGRoups {@link Receiver} interface. Can be implemented using channel name as hint to provide a * specific {@link Receiver} to a channel. * * @version $Id: 6131e972ecc5d8de10f01090052b62bf8a604a8e $ * @since 2.0M3 */ @Role public interface JGroupsReceiver extends Receiver { }
/** * * @version $Id: 7aabbbc8643fe7bf1abfd530d0c930c7a4164cb6 $ * @since 5.2 */ @Role public interface InstanceModel { List<String> getWikis() throws WikiStreamException; List<String> getSpaces(String wiki) throws WikiStreamException; List<String> getDocuments(String wiki, String space) throws WikiStreamException; }
@Role public interface ApiFactory { ApiDataConverter getApiVersion(String apiVersion); Set<String> getSupportedApiVersions(); }
@Role public interface Ontology { public abstract int load(AbstractSolrScriptService source); public abstract int load(File source); public abstract String getRealId(String id); public abstract OntologyTerm getTerm(String id); public abstract String getName(String id); public abstract String getRootId(); public abstract IDAGNode getRoot(); public abstract Set<String> getAncestors(String termId); }
/** * XWiki's wrapping of the {@link org.xml.sax.EntityResolver} interface so that we can create components that implement * it. * * @version $Id: 43f4d628371921223f4addc1ac7c81653662fde1 $ * @since 1.9M2 */ @Role public interface EntityResolver extends org.xml.sax.EntityResolver { }
/** * @version $Id: 707ef25e7dc0378fb43cbdbf33cd9ce06f4fd022 $ */ @Role public interface EntityIndexDocumentPurveyor<E extends Entity> { Map<String, Object> purveyDocument(E entity); Map<String, Object> purveyDocument(E entity, Tenant tenant); }
/** * @version $Id: 41fa8b456281ca39957cf65ed237b22aa1c072a6 $ */ @Role public interface UserDataSupplier { void supply(User user, Map<String, Object> data); }
/** * @version $Id: 1aa3f984887b985bcb006c363ddf18d1ebf1cff0 $ */ @Role public interface Webhook { String getName(); }
/** * @version $Id: bd2f1c83a93d99d7f87609e13362132434566fbf $ */ @Role public interface EntityConfigurationContributor { String contributesTo(); void contribute(Map<String, Object> configuration); }
/** * @version $Id: 01d85fd874134f58f85d82977179565ac3f17cf4 $ */ @Role public interface ThumbnailStore { void createOrUpdateThumbnail(Thumbnail thumbnail); List<Thumbnail> findAll(Attachment attachment); List<Thumbnail> findAllForIds(List<UUID> ids); }
/** * @version $Id: 8dd54e9f40e1e740f6b30254b3af92e08fff4529 $ */ @Role public interface EntityDataLoader { <E extends Entity> EntityData<E> load(E entity, LoadingOption... options); <E extends Entity> List<EntityData<E>> load(List<E> entities, LoadingOption... options); }
/** * @version $Id: fb717baafdd91883e6989cd74643e10251bb5238 $ * @since 6.2M1 */ @Role public interface InputFilterStreamFactory extends FilterStreamFactory { InputFilterStream createInputFilterStream(Map<String, Object> properties) throws FilterException; }
/** * @param <P> the type of the properties bean * @version $Id: fe1e360697a7663f6f1de4d88791d1a1b736bc42 $ * @since 5.2M2 */ @Role public interface BeanOutputWikiStream<P> extends OutputWikiStream { void setProperties(P properties) throws WikiStreamException; }
@Role public interface Ontology { int load(AbstractSolrScriptService source); int load(File source); String getRealId(String id); OntologyTerm getTerm(String id); String getName(String id); String getRootId(); IDAGNode getRoot(); Set<String> getAncestors(String termId); }
@Role public interface RemoteConfigurationManager { List<BaseObject> getListOfRemotes(XWikiContext context); BaseObject getRemoteConfiguration(String baseURL, XWiki wiki, XWikiContext context) throws XWikiException; BaseObject getRemoteConfigurationGivenRemoteIPAndToken(String remoteIP, String providedToken, XWikiContext context); BaseObject getRemoteConfigurationGivenRemoteServerID(String remoteServerID, XWikiContext context); }
/** * TODO fix the doc */ @Role public interface SearchRequestProcessor { JSONObject processHTTPSearchRequest(ApiDataConverter apiVersionSpecificConverter, String json, ExecutorService queue, String remoteServerId, HttpServletRequest httpRequest) throws Exception; }
/** * @param <P> the type of the properties bean * @version $Id: c9aed800212d173a249344a4b794119868e84528 $ * @since 6.2M1 */ @Role public interface BeanOutputFilterStream<P> extends OutputFilterStream { void setProperties(P properties) throws FilterException; }
/** * @param <P> the type of the properties bean * @version $Id: c906af4d468a0942ee4964d78f67d17ba8093762 $ * @since 5.2M2 */ @Role public interface BeanInputWikiStream<P> extends InputWikiStream { void setProperties(P properties) throws WikiStreamException; }
/** * @version $Id: c28ac88dae57a8e4f0c7123b07e62191cb6cea9e $ * @since 6.2M1 */ @Role public interface OutputInstanceFilterStreamFactory extends OutputFilterStreamFactory { }