/** * Random Node Repository Module. * @author Andres Rodriguez */ @Name("Random Node Repository Module") public interface RandomModule extends WithContentTypes, WithCategories, Module { /** Provided service. */ NodeRepository repository(); /** Required config. */ void config(RandomConfig config); }
/** Page parameter name. */ @Name("pageParameter") @DefaultValue(Pagination.PAGE) String pageParameter(); }
/** Whether to override module. */ @Name("override") @DefaultValue("false") boolean override(); }
/** Allow multiple values. */ @Name("Permitir valores m\u00faltiples") @DefaultValue("false") boolean allowMultiple(); /** Consilidate multiple values. */
/** Whether to use object wrapping. */ @DefaultValue("false") @Name("wrap") boolean wrap(); }
/** Conditional clause */ @Name("Condici\u00f3n") @DefaultValue("MUST") ConditionalClause condition(); }
/** Sort Type */ @Name("Tipo de ordenaci\u00f3n") @DefaultValue("ASC") SortType type(); }
/** Retrieve bytes. */ @Name("Obtener bytes") @DefaultValue("false") boolean bytes(); }
/** Open in new window. */ @Name("blank") @DefaultValue("false") boolean blank(); }
/** Pages before. */ @Name("before") @Optional Integer pagesBefore(); /** Pages after. */
/** Template file. */ @Name("filterByContentAvailability") @Description("filterByContentAvailability.desc") @DefaultValue("false") boolean filterByContentAvailability(); }
/** Name. */ @Name("name") @Optional String name(); /** Content. */
/** Consilidate multiple values. */ @Name("Consolidar valores m\u00faltiples") @Optional ConditionalClause consolidate(); }
/** Template file. */ @Optional @Name("template") String templateFile(); }
/** JS File in bundle. */ @Name("headerPath") @Optional String headerPath(); }
/** Content id. */ @Name("Content Id") @Optional String contentId(); }
/** Content type. */ @Name("contentType") @Optional ContentType contentType(); }
/** Whether we keep the content key. */ @Optional @Name("keepContentKey") Boolean keepContentKey(); }
/** Pages after. */ @Name("after") @Optional Integer pagesAfter(); }
/** Page size. */ @Name("pageSize") @Optional Integer pageSize(); }