Package org.infoglue.deliver.applications.databeans

Examples of org.infoglue.deliver.applications.databeans.SupplementedComponentBinding


                    {
                      supplementingEntityId = new Integer(supplementingEntityIdString);
                    }
                    String supplementingAssetKey = supplementingBindingElement.getAttributeValue(supplementingBindingElement.getNamespaceName(), "assetKey");
                    supplementingAssetKey = StringEscapeUtils.unescapeXml(supplementingAssetKey);
                    componentBinding = new SupplementedComponentBinding(supplementingEntityId, supplementingAssetKey);
                  }
                  catch (NumberFormatException ex)
                  {
                    logger.error("Could not make Integer from supplementing entity id [id: " + supplementingEntityIdString + "]. Will ignore it!. Property name: " + propertyName);
                    componentBinding = new ComponentBinding();
View Full Code Here


          entity.setEntity(this.templateController.getContent(contentId));
          if (componentBinding instanceof SupplementedComponentBinding)
          {
            try
            {
              SupplementedComponentBinding supplementedComponentBinding = (SupplementedComponentBinding)componentBinding;
              Integer supplementingEntityId = supplementedComponentBinding.getSupplementingEntityId();
              String supplementingAssetKey = supplementedComponentBinding.getSupplementingAssetKey();
              DigitalAssetVO asset = this.templateController.getAsset(supplementingEntityId, supplementingAssetKey);
              entity.setSupplementingEntity(asset);
            }
            catch (Exception ex)
            {
View Full Code Here

          if (componentBinding instanceof SupplementedComponentBinding)
          {
            try
            {
              SupplementedComponentBinding supplementedComponentBinding = (SupplementedComponentBinding)componentBinding;
              Integer supplementingEntityId = supplementedComponentBinding.getSupplementingEntityId();
              String supplementingAssetKey = supplementedComponentBinding.getSupplementingAssetKey();
              DigitalAssetVO asset = this.templateController.getAsset(supplementingEntityId, supplementingAssetKey);
              entity.setSupplementingEntity(asset);
            }
            catch (Exception ex)
            {
View Full Code Here

TOP

Related Classes of org.infoglue.deliver.applications.databeans.SupplementedComponentBinding

Copyright © 2018 www.massapicom. 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.