
com.antiaction.raptor.dao.SecurityEntityBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of raptor-dbl Show documentation
Show all versions of raptor-dbl Show documentation
Raptor database layer implementation.
The newest version!
/*
* Created on 19/03/2010
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.antiaction.raptor.dao;
import java.sql.Connection;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.antiaction.raptor.sql.DBWrapper;
/**
* TODO extends EntityBase
* @author Nicholas
*
*/
public abstract class SecurityEntityBase extends EntityBase {
public boolean is_admin = false;
public int language_id = 0;
public String login = null;
public String password = null;
public List viewStateList = new ArrayList();
public Map intViewStateMap = new HashMap();
public Map nameViewStateMap = new HashMap();
public ViewState viewState = null;
public abstract List getViewStateList();
public abstract ViewState getViewStateById(int view_id);
public abstract ViewState getViewStateByName(String view);
public abstract void loadPermissions(DBWrapper db, Connection conn);
//public abstract List getPermissions();
public abstract boolean check_permissions(EntityBase content, Integer[] permissions );
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy