|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujoframework.extensions.AbstractUjo org.ujoframework.implementation.map.MapUjo net.ponec.jworksheet.bo.WorkSpace
public class WorkSpace
This is a root of all persistent business objects.
Field Summary | |
---|---|
static UjoProperty<WorkSpace,java.util.Date> |
P_ARCHIVED
Date of the last file archivation. |
static UjoProperty<WorkSpace,java.util.Date> |
P_CREATED
Date of the last file saving. |
static ListProperty<WorkSpace,WorkDay> |
P_DAYS
Work day list |
static ListProperty<WorkSpace,Project> |
P_PROJS
Code-book of all projects. |
static UjoProperty<WorkSpace,java.lang.String> |
P_VERSN
Version of the persistence file format. |
Fields inherited from class org.ujoframework.implementation.map.MapUjo |
---|
data |
Constructor Summary | |
---|---|
WorkSpace()
|
Method Summary | |
---|---|
void |
assingTasks()
Assing tasks and projects. |
void |
createDemoData()
Create a DemoData |
Project |
findDefaultProject()
Returns the first "default" TaskType, null. |
Project |
findProject(java.lang.Integer id)
Find a workDay. |
WorkDay |
findWorkDay(YearMonthDay dayId)
Find a workDay or create new. |
java.util.ArrayList<Project> |
getOpenProjects()
Returns all open Projects. |
boolean |
readAuthorization(UjoAction action,
UjoProperty property,
java.lang.Object value)
An authorization of ACTION_XML_EXPORT |
void |
sortDays()
Sort Days by a YearMonthDay |
Methods inherited from class org.ujoframework.implementation.map.MapUjo |
---|
newListProperty, newProperty, newProperty, newProperty, newPropertyList, readValue, writeValue |
Methods inherited from class org.ujoframework.extensions.AbstractUjo |
---|
clone, equals, init, init, readProperties, readUjoManager, readValueString, toString, writeValueString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final UjoProperty<WorkSpace,java.lang.String> P_VERSN
public static final UjoProperty<WorkSpace,java.util.Date> P_CREATED
public static final UjoProperty<WorkSpace,java.util.Date> P_ARCHIVED
public static final ListProperty<WorkSpace,WorkDay> P_DAYS
public static final ListProperty<WorkSpace,Project> P_PROJS
Constructor Detail |
---|
public WorkSpace()
Method Detail |
---|
public WorkDay findWorkDay(YearMonthDay dayId)
public Project findProject(java.lang.Integer id)
public Project findDefaultProject()
public java.util.ArrayList<Project> getOpenProjects()
public void assingTasks()
public void createDemoData()
public void sortDays()
public boolean readAuthorization(UjoAction action, UjoProperty property, java.lang.Object value)
readAuthorization
in interface Ujo
readAuthorization
in class AbstractUjo
|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |