|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opensync.engine.server.Synchronization
This object represents a synchronization
| Field Summary | |
static int |
STATUS_FAIL
The synchronization failed |
static int |
STATUS_NOT_EXDECUTED
The synchronization is not executed |
static int |
STATUS_RUNNING
The synchronization is running |
static int |
STATUS_SUCCESS
The synchronization succed |
| Constructor Summary | |
Synchronization()
Construct a Synchronization object |
|
| Method Summary | |
Source |
getFromSource()
Get the from source |
View |
getFromView()
Get the from view |
java.util.Date |
getLastDone()
Get the date of the last execution |
int |
getLastStatus()
Get the status of the last execution |
java.lang.String |
getName()
Get the name of the synchronization |
Source |
getToSource()
Get the to source |
View |
getToView()
Get the to view |
java.lang.String |
getUrlMapping()
Get the url of the mapping file |
long |
lastModified()
|
void |
setFromSource(Source fromSource)
Set the from source |
void |
setFromView(View fromView)
Set the from view |
void |
setLastDone(java.util.Date lastDone)
Se the date of the last execution |
void |
setLastStatus(int lastStatus)
Set the status of the las execution |
void |
setName(java.lang.String name)
Set the name of the synchronization |
void |
setToSource(Source toSource)
Set the to source |
void |
setToView(View toView)
Set the to view |
void |
setUrlMapping(java.lang.String urlMapping)
Set the url of the mapping file |
java.lang.String |
toString()
Use for debug only |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int STATUS_NOT_EXDECUTED
public static final int STATUS_RUNNING
public static final int STATUS_SUCCESS
public static final int STATUS_FAIL
| Constructor Detail |
public Synchronization()
| Method Detail |
public void setName(java.lang.String name)
name - public java.lang.String getName()
public void setFromSource(Source fromSource)
fromSource - the from sourcepublic Source getFromSource()
public void setFromView(View fromView)
fromView - the from viewpublic View getFromView()
public void setToSource(Source toSource)
toSource - the to sourcepublic Source getToSource()
public void setToView(View toView)
toView - the to viewpublic View getToView()
public void setUrlMapping(java.lang.String urlMapping)
urlMapping - the url of the mapping filepublic java.lang.String getUrlMapping()
public java.util.Date getLastDone()
public void setLastStatus(int lastStatus)
lastStatus - the status of the last executionpublic int getLastStatus()
public long lastModified()
throws OpenSyncException,
java.io.IOException
OpenSyncException
java.io.IOExceptionpublic java.lang.String toString()
public void setLastDone(java.util.Date lastDone)
lastDone - the date of the last execution
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||