Examples of UrlType


Examples of org.apache.xmpbox.type.URLType

     *
     * @return DocumentId value
     */
    public String getLastURL()
    {
        URLType tt = getLastURLProperty();
        return tt != null ? tt.getStringValue() : null;
    }
View Full Code Here

Examples of org.apache.xmpbox.type.URLType

     * @param url
     *            WebStatemen url value to set
     */
    public void setWebStatement(String url)
    {
        URLType tt = (URLType) instanciateSimple(WEBSTATEMENT, url);
        setWebStatementProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.URLType

     * @param url
     *            certficate url value to set
     */
    public void setCertificate(String url)
    {
        URLType tt = (URLType) instanciateSimple(CERTIFICATE, url);
        setCertificateProperty(tt);
    }
View Full Code Here

Examples of org.apache.xmpbox.type.URLType

    protected void testGetSetURLProperty() throws Exception
    {
        String setName = setMethod(property);
        String getName = getMethod(property);

        URLType tt = metadata.getTypeMapping().createURL(null, schema.getPrefix(), property, (String) value);
        Method setMethod = schemaClass.getMethod(setName, URLType.class);
        Method getMethod = schemaClass.getMethod(getName);

        setMethod.invoke(schema, tt);
        String found = ((TextType) getMethod.invoke(schema)).getStringValue();
View Full Code Here

Examples of org.apache.xmpbox.type.URLType

     * @param url
     *            the Base url value to set
     */
    public void setBaseURL(String url)
    {
        URLType tt = (URLType) instanciateSimple(BASEURL, url);
        setBaseURLProperty(tt);
    }
View Full Code Here

Examples of org.jasig.portal.url.UrlType

     * @see org.apache.pluto.container.PortletMimeResponseContext#getPortletURLProvider(org.apache.pluto.container.PortletURLProvider.TYPE)
     */
    @Override
    public PortletURLProvider getPortletURLProvider(TYPE type) {
        final IPortletWindowId portletWindowId = this.portletWindow.getPortletWindowId();
        final UrlType urlType = UrlType.fromPortletUrlType(type);
        final IPortalUrlBuilder portalUrlBuilder = this.portalUrlProvider.getPortalUrlBuilderByPortletWindow(containerRequest, portletWindowId, urlType);
        final IPortletUrlBuilder portletUrlBuilder = portalUrlBuilder.getPortletUrlBuilder(portletWindowId);
        return new PortletURLProviderImpl(portletUrlBuilder);
    }
View Full Code Here

Examples of org.jasig.portal.url.UrlType

    /**
     * Create a portal URL builder for the specified fname or layoutId (fname takes precedence)
     */
    public IPortalUrlBuilder getPortalUrlBuilder(HttpServletRequest request, String fname, String layoutId, String type) {
        try {
            final UrlType urlType;
            if (StringUtils.isEmpty(type)) {
                urlType = UrlType.RENDER;
            }
            else {
                urlType = UrlType.valueOfIngoreCase(type);
View Full Code Here

Examples of org.jasig.portal.url.UrlType

       
        for (final IPortletRequestInfo portletRequestInfo : portalRequestInfo.getPortletRequestInfoMap().values()) {
            final IPortletWindowId portletWindowId = portletRequestInfo.getPortletWindowId();
            final IPortletWindow portletWindow = this.portletWindowRegistry.getPortletWindow(request, targetedPortletWindowId);
           
            final UrlType urlType = portalRequestInfo.getUrlType();
            switch (urlType) {
                case RENDER: {
                    final Map<String, List<String>> portletParameters = portletRequestInfo.getPortletParameters();
                    portletWindow.setRenderParameters(ParameterMap.convertListMap(portletParameters));
                   
View Full Code Here

Examples of org.jasig.portal.url.UrlType

     * @see org.apache.pluto.container.PortletURLProvider#getType()
     */
    @Override
    public TYPE getType() {
        final IPortalUrlBuilder portalUrlBuilder = this.portletUrlBuilder.getPortalUrlBuilder();
        final UrlType urlType = portalUrlBuilder.getUrlType();
        return urlType.getPortletUrlType();
    }
View Full Code Here

Examples of org.jasig.portal.url.UrlType

    public static String getStringFromPortletUrl(PortletUrl portletUrl, HttpServletRequest request){
      if(portletUrl == null){
        return null;
      }
      //Default urlType
      UrlType urlType = UrlType.RENDER;
      final PortletUrlType type = portletUrl.getType();
      switch(type){
        case ACTION:
          urlType=UrlType.ACTION;
          break;
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.