Package org.jasig.portal.portlets.portletadmin.xmlsupport

Examples of org.jasig.portal.portlets.portletadmin.xmlsupport.ChannelPublishingDefinition


   

  }
 
  public void validateSetParameters(ChannelDefinitionForm def, MessageContext context) {
    ChannelPublishingDefinition cpd = channelPublishingDefinitionDao.getChannelPublishingDefinition(def.getTypeId());
    for (CPDStep step : cpd.getParams().getSteps()) {
      if (step.getParameters() != null) {
        for (CPDParameter param : step.getParameters()) {
         
          // if the user has entered a value for this parameter,
          // check it against the CPD
View Full Code Here


   * @param cpd
   * @return
   */
  public Set<String> getArbitraryPortletPreferenceNames(ChannelDefinitionForm form) {
    // set default values for all channel parameters
    ChannelPublishingDefinition cpd = this.channelPublishingDefinitionDao.getChannelPublishingDefinition(form.getTypeId());
    Set<String> currentPrefs = new HashSet<String>();
    currentPrefs.addAll(form.getPortletPreferences().keySet());
    for (CPDStep step : cpd.getParams().getSteps()) {
      if (step.getPreferences() != null) {
        for (CPDPreference pref : step.getPreferences()) {
          currentPrefs.remove(pref.getName());
        }
      }
View Full Code Here

TOP

Related Classes of org.jasig.portal.portlets.portletadmin.xmlsupport.ChannelPublishingDefinition

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.