![JAR search and dependency download from the Maven repository](/logo.png)
com.jk.data.dynamic.dataaccess.JKObjectDataAccess Maven / Gradle / Ivy
package com.jk.data.dynamic.dataaccess;
///*
// * Copyright 2002-2018 Jalal Kiswani.
// * E-mail: [email protected]
// *
// * Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
// * distributed under the License is distributed on an "AS IS" BASIS,
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// * See the License for the specific language governing permissions and
// * limitations under the License.
// */
//package com.jk.db.test.dynamic.dataaccess;
//
//import java.util.List;
//import java.util.Map;
//
//import com.jk.metadata.core.EntityMetadata;
//
//// TODO: Auto-generated Javadoc
///**
// * The Interface JKObjectDataAccess.
// */
//public interface JKObjectDataAccess {
//
// /**
// * Insert.
// *
// * @param object the object
// * @return the integer
// */
// public Integer insert(Object object);
//
// /**
// * Update.
// *
// * @param object the object
// */
// public void update(Object object);
//
// /**
// * Insert or update.
// *
// * @param object the object
// */
// public void insertOrUpdate(Object object);
//
// /**
// * Find.
// *
// * @param the generic type
// * @param class1 the class 1
// * @param id the id
// * @return the t
// */
// public T find(Class class1, Integer id);
//
// /**
// * Delete.
// *
// * @param the generic type
// * @param clas the clas
// * @param id the id
// * @return the t
// */
// public T delete(Class clas, Integer id);
//
// /**
// * Gets the all.
// *
// * @param the generic type
// * @param clas the clas
// * @return the all
// */
// public List getAll(Class clas);
//
// /**
// * Find one by example.
// *
// * @param the generic type
// * @param filter the filter
// * @return the t
// */
// public T findOneByExample(T filter);
//
// /**
// * Find by example.
// *
// * @param the generic type
// * @param filter the filter
// * @return the list
// */
// public List findByExample(T filter);
//
// /**
// * Delete.
// *
// * @param the generic type
// * @param model the model
// * @return the t
// */
// public T delete(T model);
//
// /**
// * Find by filter.
// *
// * @param the generic type
// * @param clas the clas
// * @param filter the filter
// * @return the list
// */
// public List findByFilter(Class clas, List filter) ;
//
// /**
// * Find by field value.
// *
// * @param the generic type
// * @param clas the clas
// * @param fieldName the field typeName
// * @param value the value
// * @return the list
// */
// public List findByFieldValue(Class clas, String fieldName, Object value) ;
//
// public void updateFields(Class class1, int id, Map map);
//
// public T findOneByFieldValue(Class clas, String fieldName, Object value);
//
//}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy