Example #1
0
 /**
  * 当前用户所拥有的资源信息
  *
  * @return {@link List}
  */
 public String getUserResourceIds() {
   OnLineObject onLineObject = (OnLineObject) this.session.get("onLineObject");
   if (onLineObject != null) {
     return onLineObject.getSelfResource();
   } else {
     return null;
   }
 }
Example #2
0
 /**
  * 取当前操作人员的详细信息
  *
  * @return {@link FkUserModel}
  */
 public FkUserModel getCurrentUser() {
   OnLineObject onLineObject = (OnLineObject) this.session.get("onLineObject");
   if (onLineObject != null) {
     return onLineObject.getCurrentUser();
   } else {
     return null;
   }
 }