|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.groupware.pref.AbstractPreferences | +--portlets.compoze.groupware.pref.HomePreferences
This class represents the user configurables settings for the 'Home' feature.
For changes to be committed, the update
method must be called.
Field Summary | |
static int |
DEFAULT_CALENDAR_SUMMARY_VIEW_TYPE
|
static int |
DEFAULT_CALENDAR_VIEW
|
static int |
DEFAULT_NUMBER_OF_MESSAGES_PER_PAGE
|
static int |
DEFAULT_NUMBER_OF_TASKS_PER_PAGE
|
Constructor Summary | |
HomePreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
java.lang.String sInstanceLabel)
Constructor. |
Method Summary | |
int |
getCalendarDefaultSummaryViewType()
Gets the default calendar summary view type. |
int |
getCalendarDefaultView()
Gets the default calendar view. |
boolean |
getIncludeHome()
Gets the include home flag. |
boolean |
getIncludeSummary()
Gets the include summary flag. |
int |
getNumberOfDaysInCalendar()
Gets the number of days in calendar. |
int |
getNumberOfMessagesPerPage()
Gets the number of messages per page. |
int |
getNumberOfTasksPerPage()
Gets the number of tasks per page. |
TasksPreferences.TaskFiltering |
getTaskFiltering()
Gets the filtering. |
TasksPreferences.TaskOrdering |
getTaskOrdering()
Gets the task ordering. |
void |
setCalendarDefaultSummaryViewType(int iDefaultCalendarSummaryViewType)
Sets the default calendar summary view type. |
void |
setCalendarDefaultView(int iDefaultView)
Sets the default calendar view. |
void |
setIncludeHome(boolean bFlag)
Sets the include home flag. |
void |
setIncludeSummary(boolean bFlag)
Sets the include summary flag. |
void |
setNumberOfDaysInCalendar(int iNumber)
Sets the number of days in calendar. |
void |
setNumberOfMessagesPerPage(int iNum)
Sets the number of messages per page. |
void |
setNumberOfTasksPerPage(int iNum)
Sets the number of tasks per page. |
void |
setTaskFiltering(TasksPreferences.TaskFiltering taskFiltering)
Sets the filtering. |
void |
setTaskOrdering(TasksPreferences.TaskOrdering taskOrdering)
Sets the task ordering. |
Methods inherited from class portlets.compoze.groupware.pref.AbstractPreferences |
getInstanceLabel, getPreference, setPreference, setPreference, setPreference, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_NUMBER_OF_MESSAGES_PER_PAGE
public static final int DEFAULT_NUMBER_OF_TASKS_PER_PAGE
public static final int DEFAULT_CALENDAR_VIEW
public static final int DEFAULT_CALENDAR_SUMMARY_VIEW_TYPE
Constructor Detail |
public HomePreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper, java.lang.String sInstanceLabel) throws GroupwareException
userProfileWrapper
- the user profile (may not be null
)Method Detail |
public int getNumberOfMessagesPerPage()
public void setNumberOfMessagesPerPage(int iNum)
iNum
- the number of messages per page (must be > 0)public int getNumberOfTasksPerPage()
public void setNumberOfTasksPerPage(int iNum)
iNum
- the number of tasks per page (must be > 0)public boolean getIncludeHome()
true
to include home; false
otherwisepublic void setIncludeHome(boolean bFlag)
bFlag
- true
to include home; false
otherwisepublic boolean getIncludeSummary()
true
to include summary; false
otherwisepublic void setIncludeSummary(boolean bFlag)
bFlag
- true
to include summary; false
otherwisepublic int getNumberOfDaysInCalendar()
public void setNumberOfDaysInCalendar(int iNumber)
iNumber
- the number of days in calendarpublic int getCalendarDefaultView()
public void setCalendarDefaultView(int iDefaultView)
iDefaultView
- the default view preferencepublic TasksPreferences.TaskOrdering getTaskOrdering()
public TasksPreferences.TaskFiltering getTaskFiltering()
public void setTaskFiltering(TasksPreferences.TaskFiltering taskFiltering)
taskFiltering
- the filtering (may not be null
)public void setTaskOrdering(TasksPreferences.TaskOrdering taskOrdering)
taskOrdering
- the task ordering (may not be null
)public int getCalendarDefaultSummaryViewType()
public void setCalendarDefaultSummaryViewType(int iDefaultCalendarSummaryViewType)
iDefaultCalendarSummaryViewType
- the default calendar summary view type preference
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |