com.atlassian.greenhopper.service.issue
Class NotRequiredFieldScreenRenderLayoutItem

java.lang.Object
  extended by com.atlassian.greenhopper.service.issue.NotRequiredFieldScreenRenderLayoutItem
All Implemented Interfaces:
com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

public class NotRequiredFieldScreenRenderLayoutItem
extends java.lang.Object
implements com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

A "fake" FieldScreenRenderLayoutItem that is not requireable.

Since:
v5.8.5

Constructor Summary
NotRequiredFieldScreenRenderLayoutItem()
           
 
Method Summary
 java.lang.String getCreateHtml(webwork.action.Action action, com.atlassian.jira.issue.customfields.OperationContext operationContext, com.atlassian.jira.issue.Issue issue)
           
 java.lang.String getCreateHtml(webwork.action.Action action, com.atlassian.jira.issue.customfields.OperationContext operationContext, com.atlassian.jira.issue.Issue issue, java.util.Map<java.lang.String,java.lang.Object> displayParams)
           
 java.lang.String getEditHtml(webwork.action.Action action, com.atlassian.jira.issue.customfields.OperationContext operationContext, com.atlassian.jira.issue.Issue issue)
           
 java.lang.String getEditHtml(webwork.action.Action action, com.atlassian.jira.issue.customfields.OperationContext operationContext, com.atlassian.jira.issue.Issue issue, java.util.Map<java.lang.String,java.lang.Object> displayParams)
           
 com.atlassian.jira.issue.fields.layout.field.FieldLayoutItem getFieldLayoutItem()
           
 com.atlassian.jira.issue.fields.screen.FieldScreenLayoutItem getFieldScreenLayoutItem()
           
 com.atlassian.jira.issue.fields.OrderableField getOrderableField()
           
 java.lang.String getRendererType()
           
 java.lang.String getViewHtml(webwork.action.Action action, com.atlassian.jira.issue.customfields.OperationContext operationContext, com.atlassian.jira.issue.Issue issue)
           
 java.lang.String getViewHtml(webwork.action.Action action, com.atlassian.jira.issue.customfields.OperationContext operationContext, com.atlassian.jira.issue.Issue issue, java.util.Map<java.lang.String,java.lang.Object> displayParams)
           
 boolean isRequired()
          The only method we care about - we are never required
 boolean isShow(com.atlassian.jira.issue.Issue issue)
           
 void populateDefaults(java.util.Map fieldValuesHolder, com.atlassian.jira.issue.Issue issue)
           
 void populateFromIssue(java.util.Map fieldValuesHolder, com.atlassian.jira.issue.Issue issue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotRequiredFieldScreenRenderLayoutItem

public NotRequiredFieldScreenRenderLayoutItem()
Method Detail

isRequired

public boolean isRequired()
The only method we care about - we are never required

Specified by:
isRequired in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getOrderableField

public com.atlassian.jira.issue.fields.OrderableField getOrderableField()
Specified by:
getOrderableField in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getEditHtml

public java.lang.String getEditHtml(webwork.action.Action action,
                                    com.atlassian.jira.issue.customfields.OperationContext operationContext,
                                    com.atlassian.jira.issue.Issue issue)
Specified by:
getEditHtml in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getCreateHtml

public java.lang.String getCreateHtml(webwork.action.Action action,
                                      com.atlassian.jira.issue.customfields.OperationContext operationContext,
                                      com.atlassian.jira.issue.Issue issue)
Specified by:
getCreateHtml in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getViewHtml

public java.lang.String getViewHtml(webwork.action.Action action,
                                    com.atlassian.jira.issue.customfields.OperationContext operationContext,
                                    com.atlassian.jira.issue.Issue issue)
Specified by:
getViewHtml in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getEditHtml

public java.lang.String getEditHtml(webwork.action.Action action,
                                    com.atlassian.jira.issue.customfields.OperationContext operationContext,
                                    com.atlassian.jira.issue.Issue issue,
                                    java.util.Map<java.lang.String,java.lang.Object> displayParams)
Specified by:
getEditHtml in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getCreateHtml

public java.lang.String getCreateHtml(webwork.action.Action action,
                                      com.atlassian.jira.issue.customfields.OperationContext operationContext,
                                      com.atlassian.jira.issue.Issue issue,
                                      java.util.Map<java.lang.String,java.lang.Object> displayParams)
Specified by:
getCreateHtml in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getViewHtml

public java.lang.String getViewHtml(webwork.action.Action action,
                                    com.atlassian.jira.issue.customfields.OperationContext operationContext,
                                    com.atlassian.jira.issue.Issue issue,
                                    java.util.Map<java.lang.String,java.lang.Object> displayParams)
Specified by:
getViewHtml in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

isShow

public boolean isShow(com.atlassian.jira.issue.Issue issue)
Specified by:
isShow in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

populateDefaults

public void populateDefaults(java.util.Map fieldValuesHolder,
                             com.atlassian.jira.issue.Issue issue)
Specified by:
populateDefaults in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

populateFromIssue

public void populateFromIssue(java.util.Map fieldValuesHolder,
                              com.atlassian.jira.issue.Issue issue)
Specified by:
populateFromIssue in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getRendererType

public java.lang.String getRendererType()
Specified by:
getRendererType in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getFieldLayoutItem

public com.atlassian.jira.issue.fields.layout.field.FieldLayoutItem getFieldLayoutItem()
Specified by:
getFieldLayoutItem in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem

getFieldScreenLayoutItem

public com.atlassian.jira.issue.fields.screen.FieldScreenLayoutItem getFieldScreenLayoutItem()
Specified by:
getFieldScreenLayoutItem in interface com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItem


Copyright © 2007-2013 Atlassian. All Rights Reserved.