com.atlassian.jira.issue.fields.layout.field
Interface FieldLayoutManager

All Known Implementing Classes:
DefaultFieldLayoutManager

public interface FieldLayoutManager


Method Summary
 void addSchemeToProject(GenericValue project, GenericValue fieldLayoutScheme)
           
 GenericValue createFieldLayoutScheme(java.lang.String name, java.lang.String description)
           
 void deleteFieldLayoutScheme(GenericValue fieldLaynoutScheme)
           
 EditableDefaultFieldLayout getEditableDefaultFieldLayout()
           
 EditableSchemeFieldLayout getEditableSchemeFieldLayout(GenericValue schemeLayout)
           
 FieldLayout getFieldLayout()
           
 FieldLayout getFieldLayout(GenericValue genericValue)
           
 GenericValue getFieldLayoutScheme(java.lang.Long schemeId)
           
 GenericValue getFieldLayoutScheme(java.lang.String schemeName)
           
 java.util.List getFieldLayoutSchemes()
           
 java.util.List getProjects(GenericValue issueFieldScheme)
           
 boolean hasDefaultFieldLayout()
           
 void refresh()
           
 void restoreDefaultFieldLayout()
           
 void restoreSchemeFieldLayout(GenericValue project)
           
 void storeEditableDefaultFieldLayout(EditableDefaultFieldLayout editableDefaultFieldLayout)
           
 void storeEditableSchemeFieldLayout(EditableSchemeFieldLayout editableSchemeFieldLayout)
           
 void updateFieldLayoutScheme(GenericValue fieldLayoutScheme, java.lang.String name, java.lang.String description)
           
 

Method Detail

createFieldLayoutScheme

public GenericValue createFieldLayoutScheme(java.lang.String name,
                                            java.lang.String description)
                                     throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayoutScheme

public GenericValue getFieldLayoutScheme(java.lang.Long schemeId)
                                  throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayoutScheme

public GenericValue getFieldLayoutScheme(java.lang.String schemeName)
                                  throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayoutSchemes

public java.util.List getFieldLayoutSchemes()
                                     throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

updateFieldLayoutScheme

public void updateFieldLayoutScheme(GenericValue fieldLayoutScheme,
                                    java.lang.String name,
                                    java.lang.String description)
                             throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

deleteFieldLayoutScheme

public void deleteFieldLayoutScheme(GenericValue fieldLaynoutScheme)
                             throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

addSchemeToProject

public void addSchemeToProject(GenericValue project,
                               GenericValue fieldLayoutScheme)
                        throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayout

public FieldLayout getFieldLayout()
                           throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayout

public FieldLayout getFieldLayout(GenericValue genericValue)
                           throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getEditableDefaultFieldLayout

public EditableDefaultFieldLayout getEditableDefaultFieldLayout()
                                                         throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getEditableSchemeFieldLayout

public EditableSchemeFieldLayout getEditableSchemeFieldLayout(GenericValue schemeLayout)
                                                       throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

storeEditableDefaultFieldLayout

public void storeEditableDefaultFieldLayout(EditableDefaultFieldLayout editableDefaultFieldLayout)
                                     throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

storeEditableSchemeFieldLayout

public void storeEditableSchemeFieldLayout(EditableSchemeFieldLayout editableSchemeFieldLayout)
                                    throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

restoreDefaultFieldLayout

public void restoreDefaultFieldLayout()
                               throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

restoreSchemeFieldLayout

public void restoreSchemeFieldLayout(GenericValue project)
                              throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

hasDefaultFieldLayout

public boolean hasDefaultFieldLayout()
                              throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getProjects

public java.util.List getProjects(GenericValue issueFieldScheme)
                           throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

refresh

public void refresh()