/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.objectmodel.DeleteException
 *  com.l7tech.objectmodel.Entity
 *  com.l7tech.objectmodel.EntityHeader
 *  com.l7tech.objectmodel.EntityManager
 *  com.l7tech.objectmodel.EntityType
 *  com.l7tech.objectmodel.FindException
 *  com.l7tech.objectmodel.Goid
 *  com.l7tech.objectmodel.SaveException
 *  com.l7tech.objectmodel.UpdateException
 *  com.l7tech.policy.GenericEntityHeader
 */
package com.l7tech.server.entity;

import com.l7tech.objectmodel.DeleteException;
import com.l7tech.objectmodel.Entity;
import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.EntityManager;
import com.l7tech.objectmodel.EntityType;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;
import com.l7tech.objectmodel.SaveException;
import com.l7tech.objectmodel.UpdateException;
import com.l7tech.policy.GenericEntityHeader;
import com.l7tech.server.entity.GenericEntityManager;
import com.l7tech.server.entity.GenericEntityManagerImpl;
import java.util.Collection;
import java.util.List;
import java.util.Map;

class b
implements EntityManager<ET, GenericEntityHeader> {
    final GenericEntityManager val$gem;
    final Class val$entityClass;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    b(GenericEntityManagerImpl genericEntityManagerImpl, GenericEntityManager genericEntityManager, Class clazz) {
        this.val$gem = genericEntityManager;
        this.val$entityClass = clazz;
    }

    public ET findByPrimaryKey(Goid goid) throws FindException {
        return this.val$gem.findByGenericClassAndPrimaryKey(this.val$entityClass, goid);
    }

    public Collection<GenericEntityHeader> findAllHeaders() throws FindException {
        return this.val$gem.findAllHeaders(this.val$entityClass);
    }

    public Collection<GenericEntityHeader> findAllHeaders(int n2, int n3) throws FindException {
        return this.val$gem.findAllHeaders(this.val$entityClass, n2, n3);
    }

    public Collection<ET> findAll() throws FindException {
        return this.val$gem.findAll(this.val$entityClass);
    }

    public Goid save(ET ET) throws SaveException {
        return this.val$gem.save(this.val$entityClass, ET);
    }

    public void save(Goid goid, ET ET) throws SaveException {
        this.val$gem.save(goid, this.val$entityClass, ET);
    }

    public Integer getVersion(Goid goid) throws FindException {
        return this.val$gem.getVersion(this.val$entityClass, goid);
    }

    public Map<Goid, Integer> findVersionMap() throws FindException {
        return this.val$gem.findVersionMap(this.val$entityClass);
    }

    public void delete(ET ET) throws DeleteException {
        this.val$gem.delete(this.val$entityClass, ET);
    }

    public ET getCachedEntity(Goid goid, int n2) throws FindException {
        return this.val$gem.getCachedEntity(this.val$entityClass, goid, n2);
    }

    public Class<? extends Entity> getInterfaceClass() {
        return this.val$entityClass;
    }

    public EntityType getEntityType() {
        return this.val$gem.getEntityType();
    }

    public String getTableName() {
        return this.val$gem.getTableName();
    }

    public ET findByUniqueName(String string) throws FindException {
        return this.val$gem.findByUniqueName(this.val$entityClass, string);
    }

    public void delete(Goid goid) throws DeleteException, FindException {
        this.val$gem.delete(this.val$entityClass, goid);
    }

    public void update(ET ET) throws UpdateException {
        this.val$gem.update(this.val$entityClass, ET);
    }

    public ET findByHeader(EntityHeader entityHeader) throws FindException {
        return this.val$gem.findByHeader(this.val$entityClass, entityHeader);
    }

    public List<ET> findPagedMatching(int n2, int n3, String string, Boolean bl2, Map<String, List<Object>> map) throws FindException {
        return this.val$gem.findPagedMatching(this.val$entityClass, n2, n3, string, bl2, map);
    }

    public Class<? extends Entity> getImpClass() {
        return this.val$entityClass;
    }
}

