|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.model.AbstractModel
portlets.compoze.groupware.model.tasks.TasksModel
portlets.compoze.groupware.model.tasks.ViewTasksModel
This class represents the data model for the tasks view (view_tasks.jsp
).
Field Summary | |
static int |
QUICK_VIEW_ALL
|
static int |
QUICK_VIEW_COMPLETED
|
static int |
QUICK_VIEW_NOT_COMPLETED
|
static int |
QUICK_VIEW_OVERDUE
|
Constructor Summary | |
ViewTasksModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
TasksPreferences tasksPrefs,
Accounts accounts)
Constructor. |
Method Summary | |
Pagination |
getPagination()
Gets the pagination. |
int |
getQuickView()
Gets the quick view. |
SortProperty |
getSortProperty()
Gets the sort property. |
Task[] |
getTasks()
Gets the tasks. |
void |
setPagination(Pagination pagination)
Sets the pagination. |
void |
setQuickView(int iQuickView)
Sets the quick view. |
void |
setSortProperty(SortProperty sortProperty)
Sets the sort property. |
void |
setTasks(Task[] tasks)
Sets the tasks. |
Methods inherited from class portlets.compoze.groupware.model.tasks.TasksModel |
getTasksPreferences |
Methods inherited from class portlets.compoze.groupware.model.AbstractModel |
getAccounts, getActualTitle, getFeatureGroup, getGroupwarePreferences, getImAccount, getProviderCapabilities, getTitle, getTitleArgs, getTitleCrumbTrailKeys, isImAvailable, setActualTitle, setImAccount, setImAvailable, setTitle, setTitleArgs, setTitleCrumbTrailKeys |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int QUICK_VIEW_ALL
public static final int QUICK_VIEW_COMPLETED
public static final int QUICK_VIEW_NOT_COMPLETED
public static final int QUICK_VIEW_OVERDUE
Constructor Detail |
public ViewTasksModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, TasksPreferences tasksPrefs, Accounts accounts)
capabilities
- the capabilities of the provider (may not be null
)featureGroup
- the feature group (may not be null
)groupwarePrefs
- the groupware preferences (may not be null
)tasksPrefs
- the tasks preferences (may not be null
)Method Detail |
public void setQuickView(int iQuickView)
iQuickView
- the the quick view (see QUICK_VIEW_
constants)public int getQuickView()
QUICK_VIEW_
constants)public Pagination getPagination()
public void setPagination(Pagination pagination)
pagination
- the pagination (may not be null
)public SortProperty getSortProperty()
public void setSortProperty(SortProperty sortProperty)
sortProperty
- the sort property (may not be null
)public void setTasks(Task[] tasks)
tasks
- an array of tasks (may not be null
)public Task[] getTasks()
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |