⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 entitiescacheactionimpl.java

📁 羽量级数据持久层开发框架
💻 JAVA
字号:
package org.speedframework.cache;

/**
 *  ��������Ϣ�����������Ҫְ����ô���
 *
 *
 * @version    $LastChangedRevision: 1945 $, 2007.09.29 at 02:14:29 CST
 * @author     <a href="mailto:falcon8848@gmail.com">piginzoo </a>
 */
public class EntitiesCacheActionImpl extends AbstractCacheActionImpl implements EntitiesCacheAction
 {

    /**
     * ����������Ϣ��
     * ���������ʲô�ģ�
     * ��ε��ã���ø����ô���ʾ��
     *
     * @param region
     * @param key
     *
     * @return
     *
     * @throws Exception
     */
    public Object get(String region, Object key) throws Exception {

        // TODO ????????????
        return EntitiesCacheStorage.get(region, key);
    }

    /**
     * ����������Ϣ��
     * ���������ʲô�ģ�
     * ��ε��ã���ø����ô���ʾ��
     *
     * @param region  表名
     * @param key  主键ID 复合主键转换未字符串以'_'连接
     * @param source 目标对象
     *
     * @return
     *
     * @throws Exception
     */
    public Object update(String region, Object key, Object source) throws Exception {

        // TODO ????????????
        return EntitiesCacheStorage.update(region, key, source);
    }

    /**
     * ����������Ϣ��
     * ���������ʲô�ģ�
     * ��ε��ã���ø����ô���ʾ��
     *
     * @param region
     * @param key
     *
     * @throws Exception
     */
    public void remove(String region, Object key) throws Exception {

        // TODO ????????????
        EntitiesCacheStorage.remove(region, key);
    }

    /**
     * ����������Ϣ��
     * ���������ʲô�ģ�
     * ��ε��ã���ø����ô���ʾ��
     *
     * @param region
     * @param key
     * @param source
     *
     * @return
     *
     * @throws Exception
     */
    public Object save(String region, Object key, Object source) throws Exception {

        // TODO ????????????
        return EntitiesCacheStorage.save(region, key, source);
    }

    /**
     * ����������Ϣ��
     * ���������ʲô�ģ�
     * ��ε��ã���ø����ô���ʾ��
     *
     * @param key
     * @param value
     *
     * @throws Exception
     */
    public void save(Object key, Object value) throws Exception {

        // TODO ????????????
    }

    /**
     * ����������Ϣ��
     * ���������ʲô�ģ�
     * ��ε��ã���ø����ô���ʾ��
     *
     * @param key
     *
     * @throws Exception
     */
    public void remove(Object key) throws Exception {

        // TODO ????????????
    }

    /**
     * ����������Ϣ��
     * ���������ʲô�ģ�
     * ��ε��ã���ø����ô���ʾ��
     *
     * @param key
     *
     * @return
     *
     * @throws Exception
     */
    public Object get(Object key) throws Exception {

        // TODO ????????????
        return null;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -