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

📄 reportstsusageaction.java

📁 开源的OpenId的一个java实现
💻 JAVA
字号:
package org.wso2.solutions.identity.admin.ui.action;import java.util.List;import org.wso2.solutions.identity.admin.ReportAdmin;import com.opensymphony.xwork2.ActionSupport;public class ReportSTSUsageAction extends ActionSupport {        private List userActions = null;        private String fromDate = null;        private String toDate = null;        private String description = null;        private String type = null;        private String username = null;    public String execute() throws Exception {        return SUCCESS;    }        public String listUserActions() throws Exception{        if(username !=null){            description = "Listing actions for "+username;            ReportAdmin admin = new ReportAdmin();            userActions = admin.getUserActionsByUser(username, null, null);        }        return INPUT;    }    public String getUsername() {        return username;    }    public void setUsername(String username) {        this.username = username;    }    public List getUserActions() {        return userActions;    }    public void setUserActions(List userActions) {        this.userActions = userActions;    }    public String getFromDate() {        return fromDate;    }    public void setFromDate(String fromDate) {        this.fromDate = fromDate;    }    public String getToDate() {        return toDate;    }    public void setToDate(String toDate) {        this.toDate = toDate;    }    public String getDescription() {        return description;    }    public void setDescription(String description) {        this.description = description;    }    public String getType() {        return type;    }    public void setType(String type) {        this.type = type;    }            }

⌨️ 快捷键说明

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