com.atlassian.jira.web.component.schemepicker
Class SchemePickerWebComponent

java.lang.Object
  extended by com.atlassian.jira.web.component.AbstractWebComponent
      extended by com.atlassian.jira.web.component.schemepicker.SchemePickerWebComponent

public class SchemePickerWebComponent
extends AbstractWebComponent

This is meant to be a reusable UI component that allows you to select schemes based on their type.


Field Summary
 
Fields inherited from class com.atlassian.jira.web.component.AbstractWebComponent
applicationProperties
 
Constructor Summary
SchemePickerWebComponent(Map schemesByType, Map schemeTypes, String defaultSchemeType, String[] selectedSchemeIds)
           
 
Method Summary
 String getHtml(String actionNameFori18n)
           
 Map getSchemes()
           
static String getSchemeType(Map params)
           
 Map getSchemeTypes()
           
static Collection getSelectedSchemeIds(Map params)
           
 String getSelectedSchemeType()
           
 boolean isSchemeSelected(Long schemeId)
           
 
Methods inherited from class com.atlassian.jira.web.component.AbstractWebComponent
getHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemePickerWebComponent

public SchemePickerWebComponent(Map schemesByType,
                                Map schemeTypes,
                                String defaultSchemeType,
                                String[] selectedSchemeIds)
Method Detail

getHtml

public String getHtml(String actionNameFori18n)

getSelectedSchemeIds

public static Collection getSelectedSchemeIds(Map params)

getSchemeType

public static String getSchemeType(Map params)

getSchemes

public Map getSchemes()
               throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getSchemeTypes

public Map getSchemeTypes()

getSelectedSchemeType

public String getSelectedSchemeType()

isSchemeSelected

public boolean isSchemeSelected(Long schemeId)


Copyright © 2002-2014 Atlassian. All Rights Reserved.