|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.repository.Repository.ReadLockedItem
org.progeeks.repository.Repository.WriteLockedItem
protected class Repository.WriteLockedItem
Repository item implementation for items that are locked for reading and writing.
| Constructor Summary | |
|---|---|
Repository.WriteLockedItem(java.lang.String itemId,
java.io.File dataFile,
java.io.File metaDataFile)
|
|
| Method Summary | |
|---|---|
void |
delete()
Deletes the item and its meta-data from the repository. |
void |
setMetaData(MetaObject metaData)
Sets the meta-data for a file, replacing any existing meta-data it had. |
| Methods inherited from class org.progeeks.repository.Repository.ReadLockedItem |
|---|
getDataFile, getId, getLock, getMetaData, release, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Repository.WriteLockedItem(java.lang.String itemId,
java.io.File dataFile,
java.io.File metaDataFile)
| Method Detail |
|---|
public void delete()
RepositoryItem
delete in interface RepositoryItemdelete in class Repository.ReadLockedItempublic void setMetaData(MetaObject metaData)
RepositoryItem
setMetaData in interface RepositoryItemsetMetaData in class Repository.ReadLockedItem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||