Examples of UrlImpl


Examples of org.wso2.carbon.registry.social.impl.people.userprofile.model.impl.UrlImpl

            } else if (SocialImplConstants.MSG_COLLECTION_URLS.equalsIgnoreCase(field.trim())) {
                List<Url> collectionUrls = new ArrayList<Url>();
                List<String> propertyValues = collectionResource.getPropertyValues(
                        SocialImplConstants.MSG_COLLECTION_URLS);
                for (String urlString : propertyValues) {
                    Url url = new UrlImpl();
                    url.setLinkText(urlString);
                    collectionUrls.add(url);
                }
                collectionObj.setUrls(collectionUrls);

            } else {
View Full Code Here

Examples of org.wso2.carbon.registry.social.impl.people.userprofile.model.impl.UrlImpl

        msgColl.setUnread(3);
        msgColl.setUpdated(new Date());
        msgColl.setId("1");
        msgColl.setTotal(10);
        List<Url> collectionUrls = new ArrayList<Url>();
        Url url = new UrlImpl();
        url.setValue("testURL");
        collectionUrls.add(url);
        msgColl.setUrls(collectionUrls);
        /* create message collection */
        manager.createMessageCollection("UserZ", msgColl, "1");
        Set<String> fields = new HashSet<String>();
View Full Code Here

Examples of org.wso2.carbon.registry.social.impl.people.userprofile.model.impl.UrlImpl

        Url url = getListFieldWithType(PROFILE_URL_TYPE, getUrls());
        if (url != null) {
            url.setValue(profileUrl);
        } else {
            if (profileUrl != null) {
                setUrls(addListField(new UrlImpl(profileUrl, null, PROFILE_URL_TYPE), getUrls()));
            }
        }
    }
View Full Code Here

Examples of railo.runtime.type.scope.URLImpl

         server=ScopeContext.getServerScope(this);
         if(hasFamily) {
           variablesRoot=new VariablesImpl();
           variables=variablesRoot;
           request=new RequestImpl();
           _url=new URLImpl();
           _form=new FormImpl();
           urlForm=new UrlFormImpl(_form,_url);
           undefined=
               new UndefinedImpl(this,config.getScopeCascadingType());
          
View Full Code Here

Examples of railo.runtime.type.scope.URLImpl

 
  @Override
  public Map<String,String[]> getParameterMap() {
    PageContext pc = ThreadLocalPageContext.get();
    FormImpl form=_form(pc);
    URLImpl url=_url(pc);
   
    return ScopeUtil.getParameterMap(
        new URLItem[][]{form.getRaw(),url.getRaw()},
        new String[]{form.getEncoding(),url.getEncoding()});
  }
View Full Code Here

Examples of railo.runtime.type.scope.URLImpl

  }
 
  public static String[] getParameterValues(PageContext pc, String name) {
    pc = ThreadLocalPageContext.get(pc);
    FormImpl form = _form(pc);
    URLImpl url= _url(pc);
   
    return ScopeUtil.getParameterValues(
        new URLItem[][]{form.getRaw(),url.getRaw()},
        new String[]{form.getEncoding(),url.getEncoding()},name);
  }
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.