com.stratelia.webactiv.calendar.model
Class Schedulable

java.lang.Object
  extended by com.stratelia.webactiv.calendar.model.Schedulable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JournalHeader, ToDoHeader

public abstract class Schedulable
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Schedulable()
           
Schedulable(String name, String delegatorId)
           
Schedulable(String id, String name, String delegatorId)
           
 
Method Summary
 Classification getClassification()
           
abstract  Schedulable getCopy()
           
 String getDelegatorId()
           
 String getDescription()
           
 Date getEndDate()
           
 String getEndDay()
           
 String getEndHour()
           
 String getExternalId()
           
 String getId()
           
 int getMinuteDuration()
           
 String getName()
           
 Priority getPriority()
           
 Date getStartDate()
           
 String getStartDay()
           
 String getStartHour()
           
 String getStringDuration()
           
static String hourMinuteToString(int hour, int minute)
           
 boolean isOver(Schedulable schedule)
           
static String quaterCountToHourString(int quaterCount)
           
 void setDelegatorId(String delegatorId)
           
 void setDescription(String description)
           
 void setEndDate(Date end)
           
 void setEndDay(String date)
           
 void setEndHour(String hour)
           
 void setExternalId(String outlookId)
           
 void setId(String id)
           
 void setName(String name)
           
 void setStartDate(Date start)
           
 void setStartDay(String date)
           
 void setStartHour(String hour)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Schedulable

public Schedulable()

Schedulable

public Schedulable(String name,
                   String delegatorId)

Schedulable

public Schedulable(String id,
                   String name,
                   String delegatorId)
Method Detail

getCopy

public abstract Schedulable getCopy()

getName

public String getName()

setName

public void setName(String name)

getId

public String getId()

setId

public void setId(String id)

setDelegatorId

public void setDelegatorId(String delegatorId)

getDelegatorId

public String getDelegatorId()

setDescription

public void setDescription(String description)

getDescription

public String getDescription()

getClassification

public Classification getClassification()

getPriority

public Priority getPriority()

setStartDay

public void setStartDay(String date)
                 throws ParseException
Throws:
ParseException

setStartHour

public void setStartHour(String hour)
                  throws ParseException
Throws:
ParseException

getStartDay

public String getStartDay()

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date start)

getStartHour

public String getStartHour()

setEndDay

public void setEndDay(String date)
               throws ParseException
Throws:
ParseException

setEndHour

public void setEndHour(String hour)
                throws ParseException
Throws:
ParseException

getEndDay

public String getEndDay()

getEndHour

public String getEndHour()

getEndDate

public Date getEndDate()

setEndDate

public void setEndDate(Date end)

getStringDuration

public String getStringDuration()

getMinuteDuration

public int getMinuteDuration()

isOver

public boolean isOver(Schedulable schedule)

toString

public String toString()
Overrides:
toString in class Object

hourMinuteToString

public static String hourMinuteToString(int hour,
                                        int minute)

quaterCountToHourString

public static String quaterCountToHourString(int quaterCount)

getExternalId

public String getExternalId()

setExternalId

public void setExternalId(String outlookId)


Copyright © 2016 Silverpeas. All Rights Reserved.