Allgemein
Regeln des Typs "DatasourceRule" müssen das Interface "DatasourceRule" implementieren.
Innerhalb des Baums mit der Regelbibliothek werden sie dem Knoten "DatasourceRule" zugeschrieben.
Struktur
Quellcode einer Klasse des Typs "Aktualisieren":
package org.nuclet.handel; import org.nuclos.api.rule.DatasourceRule; import org.nuclos.api.businessobject.SearchExpression; import java.util.Map; import org.nuclos.api.annotation.Rule; import org.nuclos.api.exception.BusinessException; /** @name * @description * @usage * @change */ @Rule(name="MeineDatasourceRule", description="hghgf") public class MeineDatasourceRule implements DatasourceRule { public Long count(SearchExpression context,Map context1) throws BusinessException { } public DatasourceResult getAll(SearchExpression context,Map context1) throws BusinessException { } public DatasourceResult getData(Map context) throws BusinessException { } public List getAllIds(SearchExpression context,Map context1) throws BusinessException { } public DatasourceResult getByIds(Map context) throws BusinessException { } public DatasourceResult getById(Map context) throws BusinessException { } }
TODO Beschreibung
Überblick
Inhalte