com.atlassian.confluence.user
Class UserInterfaceState

java.lang.Object
  extended bycom.atlassian.confluence.user.UserInterfaceState

public class UserInterfaceState
extends Object

Represents the current state of the various toggle-able parts of the user interface for this user. Preferences are stored both in the user's current session, and in the user's persistent prefs.


Field Summary
static String DEFAULT_DASHBOARD_TAB
           
static int DEFAULT_MAX_RECENTLY_ADDED_PAGE_COUNT
           
static int DEFAULT_MAX_RECENTLY_UPDATED_PAGE_COUNT
           
static int LIMIT_MAX_RECENTLY_UPDATED_PAGE_COUNT
           
static int LIMIT_RECENTLY_ADDED_PAGE_COUNT
           
 
Constructor Summary
UserInterfaceState(User user)
           
UserInterfaceState(User user, UserAccessor userAccessor)
           
 
Method Summary
 Boolean getAttachmentsShowing()
           
 Boolean getChildrenShowing()
           
 Boolean getCommentsShowing()
           
 String getDashboardSpacesSelectedGroup()
           
 String getDashboardSpacesSelectedTeam()
           
 String getDashboardTab()
           
 Boolean getLabelsShowing()
           
 Boolean getLocationShowing()
           
 int getMaxRecentChangesSize()
           
 int getRecentChangesSize()
           
 Boolean getRestrictionsShowing()
           
 void setAttachmentsShowing(Boolean attachmentsShowing)
           
 void setChildrenShowing(Boolean childrenShowing)
           
 void setCommentsShowing(Boolean commentsShowing)
           
 void setDashboardSpacesSelectedGroup(String selectedGroup)
           
 void setDashboardSpacesSelectedTeam(String selectedTeam)
           
 void setDashboardTab(String dashboardTab)
           
 void setLabelsShowing(Boolean labelsShowing)
           
 void setLocationShowing(Boolean locationShowing)
           
 void setMaxRecentChangesSize(int i)
           
 void setRecentChangesSize(int recentChangesSize)
           
 void setRestrictionsShowing(Boolean restrictionsShowing)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_RECENTLY_ADDED_PAGE_COUNT

public static final int DEFAULT_MAX_RECENTLY_ADDED_PAGE_COUNT
See Also:
Constant Field Values

DEFAULT_MAX_RECENTLY_UPDATED_PAGE_COUNT

public static final int DEFAULT_MAX_RECENTLY_UPDATED_PAGE_COUNT
See Also:
Constant Field Values

LIMIT_RECENTLY_ADDED_PAGE_COUNT

public static final int LIMIT_RECENTLY_ADDED_PAGE_COUNT
See Also:
Constant Field Values

LIMIT_MAX_RECENTLY_UPDATED_PAGE_COUNT

public static final int LIMIT_MAX_RECENTLY_UPDATED_PAGE_COUNT
See Also:
Constant Field Values

DEFAULT_DASHBOARD_TAB

public static final String DEFAULT_DASHBOARD_TAB
See Also:
Constant Field Values
Constructor Detail

UserInterfaceState

public UserInterfaceState(User user)

UserInterfaceState

public UserInterfaceState(User user,
                          UserAccessor userAccessor)
Method Detail

getCommentsShowing

public Boolean getCommentsShowing()

setCommentsShowing

public void setCommentsShowing(Boolean commentsShowing)

getAttachmentsShowing

public Boolean getAttachmentsShowing()

setAttachmentsShowing

public void setAttachmentsShowing(Boolean attachmentsShowing)

getChildrenShowing

public Boolean getChildrenShowing()

setChildrenShowing

public void setChildrenShowing(Boolean childrenShowing)

setRecentChangesSize

public void setRecentChangesSize(int recentChangesSize)

setDashboardTab

public void setDashboardTab(String dashboardTab)

getDashboardTab

public String getDashboardTab()

setDashboardSpacesSelectedTeam

public void setDashboardSpacesSelectedTeam(String selectedTeam)

getDashboardSpacesSelectedTeam

public String getDashboardSpacesSelectedTeam()

setDashboardSpacesSelectedGroup

public void setDashboardSpacesSelectedGroup(String selectedGroup)

getDashboardSpacesSelectedGroup

public String getDashboardSpacesSelectedGroup()

getRecentChangesSize

public int getRecentChangesSize()

getMaxRecentChangesSize

public int getMaxRecentChangesSize()

setMaxRecentChangesSize

public void setMaxRecentChangesSize(int i)

getLocationShowing

public Boolean getLocationShowing()

setLocationShowing

public void setLocationShowing(Boolean locationShowing)

getRestrictionsShowing

public Boolean getRestrictionsShowing()

setRestrictionsShowing

public void setRestrictionsShowing(Boolean restrictionsShowing)

getLabelsShowing

public Boolean getLabelsShowing()

setLabelsShowing

public void setLabelsShowing(Boolean labelsShowing)


Confluence is developed by Atlassian.