|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nonesole.persistence.file.catalog.Catalog
public class Catalog
Control Catalog
Constructor Summary | |
---|---|
Catalog(java.lang.String fileName)
Construction |
Method Summary | |
---|---|
void |
bind(CatalogEntry ce)
Bind CatalogEntry |
void |
destroy()
Destroy current object |
long |
getCircleTime()
Circle time(ms) |
java.lang.String |
getFolderPath()
Get folder path |
boolean |
hasNext()
Whether or not exist next object |
boolean |
isSynchronization()
Saving data is whether or not synchronization. |
CatalogEntry |
lookup(java.lang.String id)
Search CatalogEntry by id |
CatalogEntry |
next()
Get next CatalogEntry object |
void |
rebind(CatalogEntry ce)
Rebind CatalogEntry |
void |
rewind()
Reset all of internal variables |
ICatalog |
setCircleTime(long circleTime)
Set circle time(ms) |
ICatalog |
setSynchronization(boolean isSynchronization)
Set synchronization. |
void |
unbind(CatalogEntry ce)
Unbind CatalogEntry |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Catalog(java.lang.String fileName) throws OperationsException
fileName
-
OperationsException
Method Detail |
---|
public void bind(CatalogEntry ce) throws OperationsException
ICatalog
bind
in interface ICatalog
ce
- - CatalogEntry object
OperationsException
public void rebind(CatalogEntry ce) throws OperationsException
ICatalog
rebind
in interface ICatalog
ce
- - CatalogEntry object
OperationsException
public void unbind(CatalogEntry ce) throws OperationsException
ICatalog
unbind
in interface ICatalog
ce
- - CatalogEntry object
OperationsException
public CatalogEntry lookup(java.lang.String id)
ICatalog
lookup
in interface ICatalog
public void destroy() throws java.lang.InterruptedException
ICatalog
destroy
in interface ICatalog
java.lang.InterruptedException
public boolean isSynchronization()
ICatalog
isSynchronization
in interface ICatalog
public ICatalog setSynchronization(boolean isSynchronization)
ICatalog
setSynchronization
in interface ICatalog
isSynchronization
- - true: synchronizationpublic long getCircleTime()
ICatalog
getCircleTime
in interface ICatalog
public ICatalog setCircleTime(long circleTime)
ICatalog
setCircleTime
in interface ICatalog
public boolean hasNext()
ICatalog
hasNext
in interface ICatalog
public CatalogEntry next()
ICatalog
next
in interface ICatalog
public void rewind()
ICatalog
rewind
in interface ICatalog
public java.lang.String getFolderPath()
ICatalog
getFolderPath
in interface ICatalog
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |