com.jniwrapper.win32.com.impl
Class IPersistStorageImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.com.impl.IPersistImpl
              extended bycom.jniwrapper.win32.com.impl.IPersistStorageImpl
All Implemented Interfaces:
AutoDeleteParameter, IPersist, IPersistStorage, IUnknown, PointerParameter

public class IPersistStorageImpl
extends IPersistImpl
implements IPersistStorage

Represents COM interface IPersistStorage.


Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
IUnknownImpl.MemoryBufferImpl
 
Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Fields inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
DebugComfyJ, LICENSE_TYPE, PTR_NULL
 
Fields inherited from class com.jniwrapper.Parameter
V
 
Constructor Summary
  IPersistStorageImpl()
           
  IPersistStorageImpl(CLSID clsid, ClsCtx dwClsContext)
           
  IPersistStorageImpl(CLSID clsid, IUnknown pUnkOuter, ClsCtx dwClsContext)
           
  IPersistStorageImpl(IUnknown that)
           
protected IPersistStorageImpl(IUnknownImpl that)
           
 
Method Summary
 java.lang.Object clone()
           
 IID getIID()
           
 void handsOffStorage()
           
 void initNew(IStorage pStg)
           
 Int32 isDirty()
           
 void load(IStorage pStg)
           
 void save(IStorage pStgSave, VariantBool fSameAsLoad)
           
 void saveCompleted(IStorage pStgNew)
           
 
Methods inherited from class com.jniwrapper.win32.com.impl.IPersistImpl
getClassID
 
Methods inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
acceptIOPerformer, addRef, asVoidPointer, dumpVTBL, equals, fromVoidPointer, getDebugInfo, getInterfaceIdentifier, getLength, hashCode, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, isAutoDelete, isNull, isSameObject, queryInterface, queryInterface, read, release, setAutoDelete, setNull, setValue, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jniwrapper.win32.com.IPersist
getClassID
 
Methods inherited from interface com.jniwrapper.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

public static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

IPersistStorageImpl

public IPersistStorageImpl()

IPersistStorageImpl

protected IPersistStorageImpl(IUnknownImpl that)
                       throws ComException

IPersistStorageImpl

public IPersistStorageImpl(IUnknown that)

IPersistStorageImpl

public IPersistStorageImpl(CLSID clsid,
                           ClsCtx dwClsContext)
                    throws ComException

IPersistStorageImpl

public IPersistStorageImpl(CLSID clsid,
                           IUnknown pUnkOuter,
                           ClsCtx dwClsContext)
                    throws ComException
Method Detail

isDirty

public Int32 isDirty()
Specified by:
isDirty in interface IPersistStorage

initNew

public void initNew(IStorage pStg)
             throws ComException
Specified by:
initNew in interface IPersistStorage
Parameters:
pStg - [in]
Throws:
ComException

load

public void load(IStorage pStg)
          throws ComException
Specified by:
load in interface IPersistStorage
Parameters:
pStg - [in]
Throws:
ComException

save

public void save(IStorage pStgSave,
                 VariantBool fSameAsLoad)
          throws ComException
Specified by:
save in interface IPersistStorage
Parameters:
pStgSave - [in]
fSameAsLoad - [in]
Throws:
ComException

saveCompleted

public void saveCompleted(IStorage pStgNew)
                   throws ComException
Specified by:
saveCompleted in interface IPersistStorage
Parameters:
pStgNew - [in]
Throws:
ComException

handsOffStorage

public void handsOffStorage()
                     throws ComException
Specified by:
handsOffStorage in interface IPersistStorage
Throws:
ComException

getIID

public IID getIID()
Overrides:
getIID in class IPersistImpl

clone

public java.lang.Object clone()
Overrides:
clone in class IPersistImpl