Data Model version 2.1.2
Acknowledgements
Diagram | Class Map | Attribute Map | Method Map | Help | License
Home | Package | Class | Attribute | Method: { prev | next }

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
  Data Model Version 2.1.2
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Mon Mar 2 17:24:24 2015    from data model package  memops.api.Implementation.MemopsRoot   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk