com.adobe.idp.taskmanager.dsc.client.task
Interface TaskTimerInfo

All Superinterfaces:
java.io.Serializable

public interface TaskTimerInfo
extends java.io.Serializable

A TaskTimerInfo object identifies the task timer info such as the info for deadline, reminder and esculation for a task.


Method Summary
 int getDays()
          Retrieves the number of days for the task timer component.
 int getHours()
          Retrieves the number of hours for the task timer component.
 int getMinutes()
          Retrieves the number of minutes for the task timer component.
 int getTotalMinutes()
          Retrieves the number of total minutes for the task timer component.
 boolean isUseBusinessDays()
          Retrieves the value to indicate if using business calendar for a task timer component.
 void setDays(int days)
          Sets the number of days for the task timer component.
 void setHours(int hours)
          Sets the number of hours for the task timer component.
 void setMinutes(int minutes)
          Sets the number of minutes for the task timer component.
 void setTimerSetupRequired(boolean timerRequired)
          Indicates if the Timer should be configured by TaskManager.
 void setUseBusinessDays(boolean useBusinessDays)
          Sets whether or not use business calendar for the task timer component.
 

Method Detail

setDays

void setDays(int days)
Sets the number of days for the task timer component.

Parameters:
days - a number of days for the task timer component.

getDays

int getDays()
Retrieves the number of days for the task timer component.

Returns:
The number of days for the task timer component.

setHours

void setHours(int hours)
Sets the number of hours for the task timer component.

Parameters:
hours - a number of hours for the task timer component.

getHours

int getHours()
Retrieves the number of hours for the task timer component.

Returns:
The number of hours for the task timer component.

setMinutes

void setMinutes(int minutes)
Sets the number of minutes for the task timer component.

Parameters:
minutes - a number of minutes for the task timer component.

getMinutes

int getMinutes()
Retrieves the number of minutes for the task timer component.

Returns:
The number of minutes for the task timer component.

getTotalMinutes

int getTotalMinutes()
Retrieves the number of total minutes for the task timer component.

Returns:
The number of total minutes for the task timer component.

setUseBusinessDays

void setUseBusinessDays(boolean useBusinessDays)
Sets whether or not use business calendar for the task timer component.

Parameters:
useBusinessDays - a value to specify whether or not use business calendar for the task timer component.

isUseBusinessDays

boolean isUseBusinessDays()
Retrieves the value to indicate if using business calendar for a task timer component.

Returns:
The boolean value, if true, then use business calendar, otherwise not for the task timer component.

setTimerSetupRequired

void setTimerSetupRequired(boolean timerRequired)
Indicates if the Timer should be configured by TaskManager. Default is to configure timers

Parameters:
timerRequired - true if the timer is to be configured