Examples of sessionId()


Examples of ariba.ui.aribaweb.core.AWSession.sessionId()

        }
        else {
            // pick up previous context and bind it to this page
            if (ObjectContext.peek() == null || StringUtil.nullOrEmptyString(ObjectContext.get().groupName_debug())) {
                AWSession session = page.requestContext().session(false);
                String id = (session != null) ? session.sessionId() : null;
                ObjectContext.bindNewContext(id);
            }
            ctx = ObjectContext.get();

            setPageContext(page, ctx);
View Full Code Here

Examples of com.goodow.realtime.store.Collaborator.sessionId()

    collaborators.forEach(new ListIterator<JsonObject>() {
      @Override
      public void call(int index, JsonObject obj) {
        boolean isMe = store.getBus().getSessionId().equals(obj.getString("sessionId"));
        Collaborator collaborator = new CollaboratorImpl(obj.set(Key.IS_ME, isMe));
        document.collaborators.set(collaborator.sessionId(), collaborator);
      }
    });

    if (components != null && components.length() > 0) {
      final CollaborativeTransformer transformer = new CollaborativeTransformer();
View Full Code Here

Examples of com.goodow.realtime.store.Collaborator.sessionId()

    if (getClass() != obj.getClass()) {
      return false;
    }
    Collaborator other = (Collaborator) obj;
    if (sessionId == null) {
      if (other.sessionId() != null) {
        return false;
      }
    } else if (!sessionId.equals(other.sessionId())) {
      return false;
    }
View Full Code Here

Examples of com.goodow.realtime.store.Collaborator.sessionId()

    Collaborator other = (Collaborator) obj;
    if (sessionId == null) {
      if (other.sessionId() != null) {
        return false;
      }
    } else if (!sessionId.equals(other.sessionId())) {
      return false;
    }
    if (userId == null) {
      if (other.userId() != null) {
        return false;
View Full Code Here

Examples of com.goodow.realtime.store.Collaborator.sessionId()

          @Override
          public void handle(Message<JsonObject> message) {
            JsonObject body = message.body().set(Key.IS_ME, false);
            Collaborator collaborator = new CollaboratorImpl(body);
            boolean isJoined = !body.has(Key.IS_JOINED) || body.getBoolean(Key.IS_JOINED);
            String sessionId = collaborator.sessionId();
            if (isJoined) {
              if (!collaborators.has(sessionId)) {
                collaborators.set(sessionId, collaborator);
                model.bridge.store.getBus().publishLocal(
                    Constants.Topic.STORE + "/" + model.bridge.id + "/"
View Full Code Here

Examples of com.webobjects.appserver.WOSession.sessionID()

  protected ERXRestTransaction transaction(WOContext context, WORequest request, ERXRestTransactionManager transactionManager) {
    WOSession session = context.session();

    String clientID = clientID(request);
    if (clientID == null) {
      clientID = session.sessionID();
    }

    return transactionManager.transactionForID(clientID);
  }
}
View Full Code Here

Examples of com.webobjects.appserver.WOSession.sessionID()

     * if not it assigns a EOObjectStoreCoordinator to the session.
     * @param n {@link WOSession#SessionDidCreateNotification}
     */
    public void sessionDidCreate(NSNotification n) {
        WOSession s = (WOSession) n.object();
        if (_oscForSession.get(s.sessionID()) == null) {
            _oscForSession.put(s.sessionID(), currentThreadObjectStore());
        }
    }
   
    /** Removes the timed out session from the internal array.
View Full Code Here

Examples of com.webobjects.appserver.WOSession.sessionID()

     * @param n {@link WOSession#SessionDidCreateNotification}
     */
    public void sessionDidCreate(NSNotification n) {
        WOSession s = (WOSession) n.object();
        if (_oscForSession.get(s.sessionID()) == null) {
            _oscForSession.put(s.sessionID(), currentThreadObjectStore());
        }
    }
   
    /** Removes the timed out session from the internal array.
     * session.
 
View Full Code Here

Examples of com.webobjects.appserver.WOSession.sessionID()

        StringBuilder requestHandlerPath = new StringBuilder();
        if (WOApplication.application().pageCacheSize() == 0) {
          if (aSession.storesIDsInURLs()) {
            requestHandlerPath.append(component.name());
            requestHandlerPath.append('/');
            requestHandlerPath.append(aSession.sessionID());
            requestHandlerPath.append('/');
            requestHandlerPath.append(aContextId);
            requestHandlerPath.append(".0");
          }
          else {
View Full Code Here

Examples of com.webobjects.appserver.WOSession.sessionID()

            requestHandlerPath.append(aContextId);
            requestHandlerPath.append(".0");
          }
        }
        else if (aSession.storesIDsInURLs()) {
          requestHandlerPath.append(aSession.sessionID());
          requestHandlerPath.append('/');
          requestHandlerPath.append(aContextId);
          requestHandlerPath.append(".0");
        }
        else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.