コード例 #1
0
  private BasicEventResponse performEvent(IEvent event) throws Exception {
    DeleteGridDocumentAction action = new DeleteGridDocumentAction();
    _sm.setAttribute(IAttributeKeys.SESSION_ID, _sessionID);
    _sm.setAttribute(IAttributeKeys.USER_ID, _userID);

    action.init(_sm);
    action.doStart();
    action.validateEvent(event);
    BasicEventResponse response = (BasicEventResponse) action.perform(event);
    action.doEnd();
    return response;
  }
コード例 #2
0
  protected BasicEventResponse performEvent(IEvent event) throws Exception {
    GetChannelInfoListAction action = new GetChannelInfoListAction();
    _sm.setAttribute(IAttributeKeys.SESSION_ID, _openSession);
    _sm.setAttribute(IAttributeKeys.USER_ID, _user);

    action.init(_sm);
    action.doStart();
    action.validateEvent(event);
    BasicEventResponse response = (BasicEventResponse) action.perform(event);
    action.doEnd();
    return response;
  }