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_2007-10-03-14:53:27_00001__www.ccpn.ac.uk_Fogh_2006-09-14-16:28:57_00002
|
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
|
|