com.ptc.windchill.upgrade.ius
Class FileSystemBasedUpdateStore
java.lang.Object
com.ptc.windchill.upgrade.ius.FileSystemBasedUpdateStore
- All Implemented Interfaces:
- UpdateStore
- public class FileSystemBasedUpdateStore
- extends Object
- implements UpdateStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AIUD_FILENAME_EXTENSION
private static final String AIUD_FILENAME_EXTENSION
- See Also:
- Constant Field Values
updatesPath_
private File updatesPath_
contentCache_
private HashMap contentCache_
additionalIuDependencies_
private ArrayList additionalIuDependencies_
FileSystemBasedUpdateStore
public FileSystemBasedUpdateStore(File path)
describe
public String describe()
- Specified by:
describe
in interface UpdateStore
createUpdateFileFor
private final File createUpdateFileFor(UUID update_uuid)
deleteUpdate
public void deleteUpdate(UUID update_uuid)
throws UpdateStoreException
- Specified by:
deleteUpdate
in interface UpdateStore
- Throws:
UpdateStoreException
getAllUpdateUuids
public List getAllUpdateUuids()
- The UUIDs for all updates in the store in no particular order.
- Specified by:
getAllUpdateUuids
in interface UpdateStore
- Returns:
- a new non-null list that can be changed by the caller without ill effects
loadUpdate
public IncrementalUpdate loadUpdate(UUID update_uuid)
throws UpdateStoreException
- Specified by:
loadUpdate
in interface UpdateStore
- Throws:
UpdateStoreException
saveUpdate
public void saveUpdate(IncrementalUpdate update)
throws UpdateStoreException
- Specified by:
saveUpdate
in interface UpdateStore
- Throws:
UpdateStoreException
createNewCacheEntryFrom
private static FileSystemBasedUpdateStore.CacheEntry createNewCacheEntryFrom(File file_loaded_from)
throws UpdateStoreException
- Throws:
UpdateStoreException
ensureAdditionalDependenciesAreRead
private void ensureAdditionalDependenciesAreRead()
throws UpdateStoreException
- Throws:
UpdateStoreException
addAdditionalDependenciesTo
private void addAdditionalDependenciesTo(IncrementalUpdate iu)
throws UpdateStoreException
- Throws:
UpdateStoreException