|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.almanach.control.AlmanachDTO
public class AlmanachDTO
A DTO on an almanach instance. It is used to transfer almanach instance data to the view page. By default, the almanach instance isn't an agregated one, so don't forget to set this option in the case the DTO is about an agregated almanach.
Constructor Summary | |
---|---|
AlmanachDTO()
|
Method Summary | |
---|---|
String |
getColor()
Gets the color with which the events of this almanach should be displayed in a calendar. |
String |
getInstanceId()
Gets the unique identifier of the almanach instance. |
String |
getLabel()
Gets the label of the almanach. |
String |
getSpaceId()
Gets the identifier of the workspace into which the almanach is defined. |
String |
getUrl()
Gets the URL of this almanach instance. |
boolean |
isAgregated()
Is this almanach an agregated one? |
AlmanachDTO |
setAggregated(boolean isAggregated)
Indicates whether this almanach is an aggregated one. |
AlmanachDTO |
setColor(String color)
Sets the color with which the events of this almanach should be displayed in a calendar. |
AlmanachDTO |
setInstanceId(String instanceId)
Sets the unique identifier of this almanach instance. |
AlmanachDTO |
setLabel(String label)
Sets a label to this almanach. |
AlmanachDTO |
setSpaceId(String spaceId)
Sets the workspace into which this almanach is defined. |
AlmanachDTO |
setUrl(String url)
Sets the URL of the almanach instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlmanachDTO()
Method Detail |
---|
public String getColor()
public AlmanachDTO setColor(String color)
color
- the color of this almanach's events.
public String getInstanceId()
public AlmanachDTO setInstanceId(String instanceId)
instanceId
- the almanach instance identifier.
public String getSpaceId()
public AlmanachDTO setSpaceId(String spaceId)
spaceId
- the identifier of the workspace.
public boolean isAgregated()
public AlmanachDTO setAggregated(boolean isAggregated)
isAggregated
- true is this almanach an agregated one, false otherwise.
public String getLabel()
public AlmanachDTO setLabel(String label)
label
- the almanach label.
public String getUrl()
public AlmanachDTO setUrl(String url)
url
- the almanach instance URL.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |