Logged out, click to login

JEDI Online help - Details



Back to unit JvAppStorage.pas Back Edit Search Administration

IJvAppStoragePublishedProps

Summary
If a class implements this interface all published properties of the class will be handled by<br> JvAppStorages.Read/WritePersistent

Description
If a class implements this interface all published properties of the class will be handled by<br> JvAppStorages.Read/WritePersistent. This is useful in combination with IJvAppStorageHandler<br> <br> If a class doesn't implement the IJvAppStorageHandler interface or if it also implements the<br> IJvAppStoragePublishedProps interface, all published properties are written (as it currently does) and if the first is implemented it will call those methods (either in addition to the published properties or exclusively):<br> <br> <CODE><PRE> // only published properties TPubOnly1 = class(TPersistent) // only published properties TPubOnly2 = class(TInterfacedPersistent, IJvAppStoragePublishedProps) // only the IJvAppStorageHandler methods are used; does not have to be a TPersistent descendant // or have RTTI TIntfOnly = class(TInterfacedObject, IJvAppStorageHandler) // the IJvAppStorageHandler methods are used in addition to the published properties. TIntfAndPub = class(TInterfacedPersistent, IJVAppStorageHandler, IJvAppStoragePublishedProps) </PRE></CODE>

See Also
TJvCustomAppStorage.ReadPersistent,TJvCustomAppStorage.WritePersistent

Last changed by obones on 2009-01-04 20:48:20 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library