com.atlassian.jira.issue.fields.screen
Class MockFieldScreenTab

java.lang.Object
  extended by com.atlassian.jira.issue.fields.screen.MockFieldScreenTab
All Implemented Interfaces:
FieldScreenTab

public class MockFieldScreenTab
extends Object
implements FieldScreenTab

Simple mock for FieldScreenTab.

Since:
v4.1

Constructor Summary
MockFieldScreenTab()
           
 
Method Summary
 MockFieldScreenLayoutItem addFieldScreenLayoutItem()
           
 void addFieldScreenLayoutItem(String fieldId)
           
 void addFieldScreenLayoutItem(String fieldId, int position)
           
 FieldScreen getFieldScreen()
           
 FieldScreenLayoutItem getFieldScreenLayoutItem(int position)
           
 FieldScreenLayoutItem getFieldScreenLayoutItem(String fieldId)
           
 List<FieldScreenLayoutItem> getFieldScreenLayoutItems()
           
 org.ofbiz.core.entity.GenericValue getGenericValue()
           
 Long getId()
           
 String getName()
           
 int getPosition()
           
 boolean isContainsField(String fieldId)
           
 boolean isModified()
           
 void moveFieldScreenLayoutItemDown(int fieldPosition)
           
 void moveFieldScreenLayoutItemFirst(int fieldPosition)
           
 void moveFieldScreenLayoutItemLast(int fieldPosition)
           
 void moveFieldScreenLayoutItemToPosition(Map<Integer,FieldScreenLayoutItem> positionsToFields)
           
 void moveFieldScreenLayoutItemUp(int fieldPosition)
           
 void remove()
           
 FieldScreenLayoutItem removeFieldScreenLayoutItem(int fieldPosition)
           
 void setFieldScreen(FieldScreen fieldScreen)
           
 void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue)
           
 MockFieldScreenTab setId(Long id)
           
 void setName(String name)
           
 void setPosition(int position)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockFieldScreenTab

public MockFieldScreenTab()
Method Detail

getId

public Long getId()
Specified by:
getId in interface FieldScreenTab

setId

public MockFieldScreenTab setId(Long id)

getName

public String getName()
Specified by:
getName in interface FieldScreenTab

setName

public void setName(String name)
Specified by:
setName in interface FieldScreenTab

getPosition

public int getPosition()
Specified by:
getPosition in interface FieldScreenTab

setPosition

public void setPosition(int position)
Specified by:
setPosition in interface FieldScreenTab

getFieldScreenLayoutItems

public List<FieldScreenLayoutItem> getFieldScreenLayoutItems()
Specified by:
getFieldScreenLayoutItems in interface FieldScreenTab

getFieldScreenLayoutItem

public FieldScreenLayoutItem getFieldScreenLayoutItem(int position)
Specified by:
getFieldScreenLayoutItem in interface FieldScreenTab

addFieldScreenLayoutItem

public void addFieldScreenLayoutItem(String fieldId)
Specified by:
addFieldScreenLayoutItem in interface FieldScreenTab

addFieldScreenLayoutItem

public void addFieldScreenLayoutItem(String fieldId,
                                     int position)
Specified by:
addFieldScreenLayoutItem in interface FieldScreenTab

addFieldScreenLayoutItem

public MockFieldScreenLayoutItem addFieldScreenLayoutItem()

moveFieldScreenLayoutItemFirst

public void moveFieldScreenLayoutItemFirst(int fieldPosition)
Specified by:
moveFieldScreenLayoutItemFirst in interface FieldScreenTab

moveFieldScreenLayoutItemUp

public void moveFieldScreenLayoutItemUp(int fieldPosition)
Specified by:
moveFieldScreenLayoutItemUp in interface FieldScreenTab

moveFieldScreenLayoutItemDown

public void moveFieldScreenLayoutItemDown(int fieldPosition)
Specified by:
moveFieldScreenLayoutItemDown in interface FieldScreenTab

moveFieldScreenLayoutItemLast

public void moveFieldScreenLayoutItemLast(int fieldPosition)
Specified by:
moveFieldScreenLayoutItemLast in interface FieldScreenTab

removeFieldScreenLayoutItem

public FieldScreenLayoutItem removeFieldScreenLayoutItem(int fieldPosition)
Specified by:
removeFieldScreenLayoutItem in interface FieldScreenTab

getFieldScreenLayoutItem

public FieldScreenLayoutItem getFieldScreenLayoutItem(String fieldId)
Specified by:
getFieldScreenLayoutItem in interface FieldScreenTab

isContainsField

public boolean isContainsField(String fieldId)
Specified by:
isContainsField in interface FieldScreenTab

moveFieldScreenLayoutItemToPosition

public void moveFieldScreenLayoutItemToPosition(Map<Integer,FieldScreenLayoutItem> positionsToFields)
Specified by:
moveFieldScreenLayoutItemToPosition in interface FieldScreenTab

getGenericValue

public org.ofbiz.core.entity.GenericValue getGenericValue()
Specified by:
getGenericValue in interface FieldScreenTab

setGenericValue

public void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue)
Specified by:
setGenericValue in interface FieldScreenTab

isModified

public boolean isModified()
Specified by:
isModified in interface FieldScreenTab

setFieldScreen

public void setFieldScreen(FieldScreen fieldScreen)
Specified by:
setFieldScreen in interface FieldScreenTab

getFieldScreen

public FieldScreen getFieldScreen()
Specified by:
getFieldScreen in interface FieldScreenTab

store

public void store()
Specified by:
store in interface FieldScreenTab

remove

public void remove()
Specified by:
remove in interface FieldScreenTab


Copyright © 2002-2012 Atlassian. All Rights Reserved.