Package-level declarations

Types

Link copied to clipboard
annotation class BatchQueryImpl
The BatchQueryImpl annotation is useful to indicate an implementation of a com.tecknobit.equinoxbackend.environment.services.builtin.service.EquinoxItemsHelper.BatchQuery


// The Simple object represents a table with the id, simple, and week columns


 // not mandatory
  description= """
         Informative description about the behavior of the implemented batch query"
        """ // suggested text block
)
public class SimpleBatchQuery implements EquinoxItemsHelper.BatchQuery<Simple> {

    private List<Simple> data;

    public SimpleBatchQuery(List<Simple> data) {
        this.data = data;
    }

    
    public Collection<Simple> getData() {
        return data;
    }

    
    public void prepareQuery(Query query, int index, Collection<Simple> items) {
        for (Simple item : items) {
            query.setParameter(index++, item.getId());
            query.setParameter(index++, item.getSimple());
            query.setParameter(index++, item.getWeek());
        }
    }

    
    public String[] getColumns() {
        return new String[]{"id", "simple", "week"};
    }

}
Link copied to clipboard
annotation class BatchQueryItem
The BatchQueryItem annotation is useful to indicate an object which its scope is the support to handle the data and manipulate them during the batch operations


 // not mandatory
  description= """
         Informative description about the scope of the this item, such the operation where is used what data are
         manipulated, etc...
         """ // suggested text block
)
public class SimpleItem {

    private final String id;

    private final String ownedEntityId;

    ... rest of the item ...

}
Link copied to clipboard
annotation class BatchSyncProcedureImpl
The BatchSyncProcedureImpl annotation is useful to indicate an implementation of a com.tecknobit.equinoxbackend.batch.BatchSynchronizationProcedure


 // not mandatory
  description= """
         Informative description about the behavior of the implemented procedure"
        """ // suggested text block
)
public class SimpleBatchQuerySyncProcedure extends BatchSynchronizationProcedure<Integer, String, SimpleCalendarBatchItem> {
     ... rest of the procedure
}
Link copied to clipboard
The EmptyConstructor annotation is used to mark the default constructors required for the Spring Boot entities management.
Link copied to clipboard
The FiltersAdder annotation is useful to indicate those methods used to adding the extracted filters to the filtered query.
Link copied to clipboard
The FiltersExtractor annotation is useful to indicate those methods used to extract from the raw filters set the specific set indicates by the method.
Link copied to clipboard
annotation class TableColumns
The TableColumns annotation is useful to indicate the columns of a table and which order those columns have in that table.