Method: touch
Set storage.isModified to True, so that the storage is saved at the next saveModified command. Fails if the storage is not loaded or not modifiable.
guid:
|
www.ccpn.ac.uk_Fogh_2006-08-17-14:16:26_00018__www.ccpn.ac.uk_Fogh_2006-08-16-14:22:53_00047
|
OpType:
|
other
|
OpSubType:
|
None
|
isQuery:
|
False
|
isAbstract:
|
False
|
Scope:
|
instance_level
|
Code:
|
# NB must be done by direct access
if not self.isLoaded:
raise ApiError("Attempt to touch non-loaded TopObject %s" % self)
if not self.isModifiable:
raise ApiError("Attempt to touch non-modifiable TopObject %s" % self)
dataDict['isModified'] = True
|
|