public abstract class SecurityActionSupport
extends org.beangle.struts2.action.EntityDrivenAction
| Modifier and Type | Field and Description |
|---|---|
protected org.beangle.security.blueprint.data.service.DataPermissionService |
dataPermissionService |
protected org.beangle.security.blueprint.function.service.FuncPermissionService |
funcPermissionService |
| Constructor and Description |
|---|
SecurityActionSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyPermission(org.beangle.commons.dao.query.builder.OqlBuilder<?> query,
org.beangle.security.blueprint.data.UserProfile profile) |
protected org.beangle.security.blueprint.data.DataPermission |
getDataPermission(String dataResource) |
protected org.beangle.security.blueprint.function.FuncResource |
getResource() |
protected String |
getUser() |
protected Long |
getUserId() |
protected String |
getUsername() |
protected <T> List<T> |
getUserPropertyValues(String name) |
protected boolean |
isAdmin() |
void |
setDataPermissionService(org.beangle.security.blueprint.data.service.DataPermissionService dataPermissionService) |
void |
setFuncPermissionService(org.beangle.security.blueprint.function.service.FuncPermissionService permissionService) |
buildEntityImporter, buildEntityImporter, buildEntityImporter, buildExporter, configExporter, configImporter, edit, editSetting, export, getConfig, getEntity, getEntity, getEntity, getEntityDao, getEntityName, getExportDatas, getImporterListeners, getModel, getModels, getModels, getPropertyExtractor, getQueryBuilder, getShortName, importData, importForm, index, indexSetting, info, populateEntity, populateEntity, populateEntity, remove, remove, remove, removeAndForward, save, saveAndForward, saveOrUpdate, saveOrUpdate, search, search, setConfig, setEntityDaogetId, getIds, getIntId, getIntIds, getLongId, getLongIds, getPageLimit, getPageNo, getPageSize, populate, populate, populate, populate, populate, populate, populate, populate, populateConditions, populateConditionsaddCookie, addCookie, addError, addFlashError, addFlashMessage, addMessage, deleteCookie, execute, forward, forward, forward, forward, forward, get, get, get, getActionErrors, getActionMessages, getAll, getAll, getAttribute, getAttribute, getBool, getBoolean, getCookieValue, getDate, getDateTime, getFlash, getFloat, getInt, getLocale, getLong, getRemoteAddr, getRequest, getResource, getResponse, getSession, getShort, getText, getText, getTextInternal, getTextResource, getTextResource, put, redirect, redirect, redirect, redirectprotected org.beangle.security.blueprint.function.service.FuncPermissionService funcPermissionService
protected org.beangle.security.blueprint.data.service.DataPermissionService dataPermissionService
protected org.beangle.security.blueprint.function.FuncResource getResource()
protected boolean isAdmin()
protected org.beangle.security.blueprint.data.DataPermission getDataPermission(String dataResource)
protected void applyPermission(org.beangle.commons.dao.query.builder.OqlBuilder<?> query,
org.beangle.security.blueprint.data.UserProfile profile)
protected Long getUserId()
protected String getUsername()
protected String getUser()
public void setFuncPermissionService(org.beangle.security.blueprint.function.service.FuncPermissionService permissionService)
public void setDataPermissionService(org.beangle.security.blueprint.data.service.DataPermissionService dataPermissionService)
Copyright © 2005–2013 The Beangle Software Group. All rights reserved.