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

All Known Implementing Classes:
DefaultFieldLayoutManager

public interface FieldLayoutManager


Method Summary
 void addSchemeAssociation(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue fieldLayoutScheme, java.lang.String issueTypeId)
           
 org.ofbiz.core.entity.GenericValue createFieldLayoutScheme(java.lang.String name, java.lang.String description)
           
 void deleteFieldLayoutScheme(org.ofbiz.core.entity.GenericValue fieldLayoutScheme)
           
 EditableDefaultFieldLayout getEditableDefaultFieldLayout()
           
 EditableSchemeFieldLayout getEditableSchemeFieldLayout(org.ofbiz.core.entity.GenericValue schemeLayout)
           
 FieldLayout getFieldLayout()
           
 FieldLayout getFieldLayout(org.ofbiz.core.entity.GenericValue issue)
           
 FieldLayout getFieldLayout(org.ofbiz.core.entity.GenericValue projectOrScheme, java.lang.String issueTypeId)
           
 org.ofbiz.core.entity.GenericValue getFieldLayoutScheme(org.ofbiz.core.entity.GenericValue project, java.lang.String issueTypeId)
           
 org.ofbiz.core.entity.GenericValue getFieldLayoutScheme(java.lang.Long schemeId)
           
 org.ofbiz.core.entity.GenericValue getFieldLayoutScheme(java.lang.String schemeName)
           
 java.util.List getFieldLayoutSchemes()
           
 java.util.Collection getProjects(org.ofbiz.core.entity.GenericValue issueFieldScheme)
           
 boolean hasDefaultFieldLayout()
           
 boolean isProjectDefaultScheme(java.lang.Long projectId, java.lang.String issueTypeId, java.lang.Long fieldLayoutSchemeId)
           
 void refresh()
           
 void removeSchemeAssociation(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue fieldLayoutScheme, java.lang.String issueTypeId)
           
 void restoreDefaultFieldLayout()
           
 void restoreSchemeFieldLayout(org.ofbiz.core.entity.GenericValue scheme)
           
 void storeEditableDefaultFieldLayout(EditableDefaultFieldLayout editableDefaultFieldLayout)
           
 void storeEditableSchemeFieldLayout(EditableSchemeFieldLayout editableSchemeFieldLayout)
           
 void updateFieldLayoutScheme(org.ofbiz.core.entity.GenericValue fieldLayoutScheme, java.lang.String name, java.lang.String description)
           
 

Method Detail

createFieldLayoutScheme

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

getFieldLayoutScheme

public org.ofbiz.core.entity.GenericValue getFieldLayoutScheme(java.lang.Long schemeId)
                                                        throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayoutScheme

public org.ofbiz.core.entity.GenericValue getFieldLayoutScheme(java.lang.String schemeName)
                                                        throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayoutSchemes

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

updateFieldLayoutScheme

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

deleteFieldLayoutScheme

public void deleteFieldLayoutScheme(org.ofbiz.core.entity.GenericValue fieldLayoutScheme)
                             throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayoutScheme

public org.ofbiz.core.entity.GenericValue getFieldLayoutScheme(org.ofbiz.core.entity.GenericValue project,
                                                               java.lang.String issueTypeId)
                                                        throws FieldLayoutStorageException,
                                                               org.ofbiz.core.entity.GenericEntityException
Throws:
FieldLayoutStorageException
org.ofbiz.core.entity.GenericEntityException

addSchemeAssociation

public void addSchemeAssociation(org.ofbiz.core.entity.GenericValue project,
                                 org.ofbiz.core.entity.GenericValue fieldLayoutScheme,
                                 java.lang.String issueTypeId)
                          throws FieldLayoutStorageException,
                                 org.ofbiz.core.entity.GenericEntityException
Throws:
FieldLayoutStorageException
org.ofbiz.core.entity.GenericEntityException

removeSchemeAssociation

public void removeSchemeAssociation(org.ofbiz.core.entity.GenericValue project,
                                    org.ofbiz.core.entity.GenericValue fieldLayoutScheme,
                                    java.lang.String issueTypeId)
                             throws FieldLayoutStorageException,
                                    org.ofbiz.core.entity.GenericEntityException
Throws:
FieldLayoutStorageException
org.ofbiz.core.entity.GenericEntityException

getFieldLayout

public FieldLayout getFieldLayout()
                           throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayout

public FieldLayout getFieldLayout(org.ofbiz.core.entity.GenericValue issue)
                           throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getFieldLayout

public FieldLayout getFieldLayout(org.ofbiz.core.entity.GenericValue projectOrScheme,
                                  java.lang.String issueTypeId)
                           throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getEditableDefaultFieldLayout

public EditableDefaultFieldLayout getEditableDefaultFieldLayout()
                                                         throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getEditableSchemeFieldLayout

public EditableSchemeFieldLayout getEditableSchemeFieldLayout(org.ofbiz.core.entity.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(org.ofbiz.core.entity.GenericValue scheme)
                              throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

hasDefaultFieldLayout

public boolean hasDefaultFieldLayout()
                              throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getProjects

public java.util.Collection getProjects(org.ofbiz.core.entity.GenericValue issueFieldScheme)
                                 throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

isProjectDefaultScheme

public boolean isProjectDefaultScheme(java.lang.Long projectId,
                                      java.lang.String issueTypeId,
                                      java.lang.Long fieldLayoutSchemeId)
                               throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

refresh

public void refresh()


Copyright © 2002-2005 Atlassian. All Rights Reserved.