Examples of mutableClone()


Examples of com.webobjects.foundation.NSDictionary.mutableClone()

        response.setUserInfo(userInfo);
      }
     
      NSMutableArray usedHotKeys = (NSMutableArray)userInfo.objectForKey(ERXAccessibleSubmitButton.class.getName());
      if (usedHotKeys == null) {
        userInfo = userInfo.mutableClone();
        usedHotKeys = new NSMutableArray();
        ((NSMutableDictionary)userInfo).setObjectForKey(usedHotKeys, ERXAccessibleSubmitButton.class.getName());
        response.setUserInfo(userInfo);
      }
      return (NSMutableArray)userInfo.objectForKey(ERXAccessibleSubmitButton.class.getName());
View Full Code Here

Examples of com.webobjects.foundation.NSDictionary.mutableClone()

    NSMutableDictionary options = _bindings;
    WOAssociation optionsBinding = (WOAssociation) _bindings.objectForKey("options");
    if (optionsBinding != null) {
      NSDictionary passedInOptions = (NSDictionary) optionsBinding.valueInComponent(context.component());
      if (passedInOptions != null) {
        options = passedInOptions.mutableClone();
        options.addEntriesFromDictionary(_bindings);
      }
    }
    AjaxOptions._appendToResponse(options, response, context);
    if (_children != null) {
View Full Code Here

Examples of com.webobjects.foundation.NSDictionary.mutableClone()

        NSArray models = databaseContext.database().models();
        for(Enumeration e = models.objectEnumerator(); e.hasMoreElements(); ) {
          EOModel model = (EOModel)e.nextElement();
          NSDictionary connectionDictionary = model.connectionDictionary();
          if (connectionDictionary != null) {
            NSMutableDictionary mutableConnectionDictionary = connectionDictionary.mutableClone();
            mutableConnectionDictionary.setObjectForKey("<password deleted for log>", "password");
            connectionDictionary = mutableConnectionDictionary;
          }
          log.info(model.name() + ": " + (connectionDictionary == null ? "No connection dictionary!" : connectionDictionary.toString()));
        }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.mutableClone()

   * @see #sortOrders()
   * @return a dictionary of the mandatory sort
   */
  public NSDictionary manadatorySortDictionary() {
    NSMutableDictionary manadatorySortDictionary = (NSMutableDictionary) configurationData().objectForKey(MANDATORY_SORT);
    manadatorySortDictionary = manadatorySortDictionary.mutableClone();
    manadatorySortDictionary.setObjectForKey(Boolean.TRUE, MANDATORY_SORT_ORDER_FLAG);

    return manadatorySortDictionary;
  }

View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.mutableClone()

                mutableClassProperties.addObject(copy);
              }
              if (isUsedForLocking) {
                mutableAttributesUsedForLocking.addObject(copy);
              }
              copy.setUserInfo(attributeUserInfo.mutableClone());
            }
            entity.removeAttribute(attribute);
            mutableClassProperties.removeObject(attribute);
            mutableAttributesUsedForLocking.removeObject(attribute);
          }
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.