|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.fields.layout.column.DefaultColumnLayoutManager
public class DefaultColumnLayoutManager
Field Summary | |
---|---|
protected static int |
DEFAULT_CACHE_SIZE
|
Constructor Summary | |
---|---|
DefaultColumnLayoutManager(FieldManager fieldManager)
|
Method Summary | |
---|---|
ColumnLayout |
getColumnLayout(User user)
Get the columns layout for a user, if the user does not have one the default is returned |
ColumnLayout |
getColumnLayout(com.atlassian.crowd.embedded.api.User remoteUser)
Get the columns layout for a user, if the user does not have one the default is returned |
ColumnLayout |
getColumnLayout(com.atlassian.crowd.embedded.api.User remoteUser,
SearchRequest searchRequest)
Get the columns layout for a searchRequest, if the searchRequest does not have one the user's columns are returned. |
ColumnLayout |
getColumnLayout(User remoteUser,
SearchRequest searchRequest)
Get the columns layout for a searchRequest, if the searchRequest does not have one the user's columns are returned. |
protected List |
getColumnLayoutItems(String username,
Set availableFields)
|
ColumnLayout |
getDefaultColumnLayout()
|
ColumnLayout |
getDefaultColumnLayout(com.atlassian.crowd.embedded.api.User remoteUser)
Get the default Layout, and filter out the columns which a user cannot see |
ColumnLayout |
getDefaultColumnLayout(User remoteUser)
Get the default Layout, and filter out the columns which a user cannot see |
EditableDefaultColumnLayout |
getEditableDefaultColumnLayout()
Get an editable default column layout for the system |
EditableSearchRequestColumnLayout |
getEditableSearchRequestColumnLayout(User user,
SearchRequest searchRequest)
Get an editable column layout for the searchRequest, returns null if it does not have one |
EditableSearchRequestColumnLayout |
getEditableSearchRequestColumnLayout(com.atlassian.crowd.embedded.api.User user,
SearchRequest searchRequest)
Get an editable column layout for the searchRequest, returns null if it does not have one |
EditableUserColumnLayout |
getEditableUserColumnLayout(User user)
Get an editable column layout for the user, returns null if they do not have one |
EditableUserColumnLayout |
getEditableUserColumnLayout(com.atlassian.crowd.embedded.api.User user)
Get an editable column layout for the user, returns null if they do not have one |
protected FieldManager |
getFieldManager()
|
boolean |
hasColumnLayout(SearchRequest searchRequest)
|
boolean |
hasColumnLayout(User user)
|
boolean |
hasColumnLayout(com.atlassian.crowd.embedded.api.User user)
|
boolean |
hasDefaultColumnLayout()
|
void |
refresh()
|
protected void |
removeColumnLayoutItems(org.ofbiz.core.entity.GenericValue columnLayoutGV)
|
void |
restoreDefaultColumnLayout()
|
void |
restoreSearchRequestColumnLayout(SearchRequest searchRequest)
|
void |
restoreUserColumnLayout(User user)
|
void |
restoreUserColumnLayout(com.atlassian.crowd.embedded.api.User user)
|
protected void |
storeColumnLayoutItems(org.ofbiz.core.entity.GenericValue columnLayoutGV,
ColumnLayout columnLayout)
|
void |
storeEditableDefaultColumnLayout(EditableDefaultColumnLayout editableDefaultColumnLayout)
Writes the default column layout to permanent storage |
void |
storeEditableSearchRequestColumnLayout(EditableSearchRequestColumnLayout editableSearchRequestColumnLayout)
Writes the default column layout to permanent storage |
void |
storeEditableUserColumnLayout(EditableUserColumnLayout editableUserColumnLayout)
Writes the default column layout to permanent storage |
protected List |
verifyColumnLayoutItems(org.ofbiz.core.entity.GenericValue columnLayoutGV,
Set availableFields)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int DEFAULT_CACHE_SIZE
Constructor Detail |
---|
public DefaultColumnLayoutManager(FieldManager fieldManager)
Method Detail |
---|
public boolean hasDefaultColumnLayout() throws ColumnLayoutStorageException
hasDefaultColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public boolean hasColumnLayout(User user) throws ColumnLayoutStorageException
hasColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public boolean hasColumnLayout(com.atlassian.crowd.embedded.api.User user) throws ColumnLayoutStorageException
hasColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public boolean hasColumnLayout(SearchRequest searchRequest) throws ColumnLayoutStorageException
hasColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public ColumnLayout getColumnLayout(User user) throws ColumnLayoutStorageException
ColumnLayoutManager
getColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public ColumnLayout getColumnLayout(com.atlassian.crowd.embedded.api.User remoteUser, SearchRequest searchRequest) throws ColumnLayoutStorageException
ColumnLayoutManager
getColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public ColumnLayout getColumnLayout(com.atlassian.crowd.embedded.api.User remoteUser) throws ColumnLayoutStorageException
ColumnLayoutManager
getColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public ColumnLayout getColumnLayout(User remoteUser, SearchRequest searchRequest) throws ColumnLayoutStorageException
ColumnLayoutManager
getColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public ColumnLayout getDefaultColumnLayout(com.atlassian.crowd.embedded.api.User remoteUser) throws ColumnLayoutStorageException
ColumnLayoutManager
getDefaultColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public ColumnLayout getDefaultColumnLayout() throws ColumnLayoutStorageException
getDefaultColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public void refresh()
refresh
in interface ColumnLayoutManager
public EditableDefaultColumnLayout getEditableDefaultColumnLayout() throws ColumnLayoutStorageException
ColumnLayoutManager
getEditableDefaultColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public EditableUserColumnLayout getEditableUserColumnLayout(User user) throws ColumnLayoutStorageException
ColumnLayoutManager
getEditableUserColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public EditableUserColumnLayout getEditableUserColumnLayout(com.atlassian.crowd.embedded.api.User user) throws ColumnLayoutStorageException
ColumnLayoutManager
getEditableUserColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public EditableSearchRequestColumnLayout getEditableSearchRequestColumnLayout(User user, SearchRequest searchRequest) throws ColumnLayoutStorageException
ColumnLayoutManager
getEditableSearchRequestColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
protected List getColumnLayoutItems(String username, Set availableFields) throws ColumnLayoutStorageException
ColumnLayoutStorageException
protected List verifyColumnLayoutItems(org.ofbiz.core.entity.GenericValue columnLayoutGV, Set availableFields) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public EditableSearchRequestColumnLayout getEditableSearchRequestColumnLayout(com.atlassian.crowd.embedded.api.User user, SearchRequest searchRequest) throws ColumnLayoutStorageException
ColumnLayoutManager
getEditableSearchRequestColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public void storeEditableDefaultColumnLayout(EditableDefaultColumnLayout editableDefaultColumnLayout) throws ColumnLayoutStorageException
ColumnLayoutManager
storeEditableDefaultColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public void storeEditableUserColumnLayout(EditableUserColumnLayout editableUserColumnLayout) throws ColumnLayoutStorageException
ColumnLayoutManager
storeEditableUserColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
protected void storeColumnLayoutItems(org.ofbiz.core.entity.GenericValue columnLayoutGV, ColumnLayout columnLayout) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void storeEditableSearchRequestColumnLayout(EditableSearchRequestColumnLayout editableSearchRequestColumnLayout) throws ColumnLayoutStorageException
ColumnLayoutManager
storeEditableSearchRequestColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public void restoreDefaultColumnLayout() throws ColumnLayoutStorageException
restoreDefaultColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public void restoreUserColumnLayout(User user) throws ColumnLayoutStorageException
restoreUserColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public void restoreUserColumnLayout(com.atlassian.crowd.embedded.api.User user) throws ColumnLayoutStorageException
restoreUserColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
protected void removeColumnLayoutItems(org.ofbiz.core.entity.GenericValue columnLayoutGV) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void restoreSearchRequestColumnLayout(SearchRequest searchRequest) throws ColumnLayoutStorageException
restoreSearchRequestColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
public ColumnLayout getDefaultColumnLayout(User remoteUser) throws ColumnLayoutStorageException
ColumnLayoutManager
getDefaultColumnLayout
in interface ColumnLayoutManager
ColumnLayoutStorageException
protected FieldManager getFieldManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |