Powered by Zoomin Software. For more details please contactZoomin

OpenEdge ABL API Reference

OpenEdge.DataAdmin.IDataAdminSerializable

  • Last Updated: January 15, 2026
  • 2 minute read
    • OpenEdge
    • Documentation
Namespace: OpenEdge.DataAdmin
Type: Interface IDataAdminSerializable
Parent Classes:
Inherits: Progress.Lang.Object


/* Copyright (c) 2011 by progress Software Corporation.
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
Purpose:serializable interface
Defines a common property and methods for both
entities and collections
Author(s):hdaniels
Created:Tue Aug 17 09:05:17 EDT 2010
Notes:subcinterfaces are IDataAdminEntity and IDataAdminCollection



Method Summary
  Options Name Purpose
  Attach (IDataAdminContext) /** Attaches the object to the context/model @param context IDataAdminContext that holds the data Call cntxt:Copy(oldcontext) if IsAttached is false and context is valid */
  LOGICAL CanAttach (IDataAdminContext)
  ExportAsProcedure (character)
  ExportAsProcedure (character, character)
  Progress.Json.ObjectModel.JsonObject GetJSONExport (IContextTree) /* optional call back from context tree. return json to export instead of dataset return unknown to use standard dataset. write-json */
  INTEGER Serialize (handle) /* serialize to stream abl standard export format return num rows exported */
  WriteTree (IContextTree) /** Writetree is a visitor/serialize method that adds this object and its collections to the passed ContextTree @param tree the IContextTree to add the object to */
  WriteTree (IContextTree, character) /** Writetree is a visitor/serialize method that adds this object and the specified collections to the passed ContextTree. The context tree @param tree the IContextTree to add the object to @collections collections comma spearated list of child collections to add to the tree */

Property Summary
  Options Name Purpose
  CHARACTER CodeExtension
  OpenEdge.DataAdmin.IRequestInfo RequestInfo
  CHARACTER SerializeName


Method Detail
Top

Attach (IDataAdminContext)

Purpose: Attaches the object to the context/model
Call cntxt:Copy(oldcontext) if IsAttached is false and context is valid
Parameters:
context OpenEdge.DataAdmin.Binding.IDataAdminContext
  IDataAdminContext that holds the data
Top

LOGICAL CanAttach (IDataAdminContext)

Parameters:
context OpenEdge.DataAdmin.Binding.IDataAdminContext
 
Returns LOGICAL
 
Top

ExportAsProcedure (character)

Parameters:
pcfile CHARACTER
 
Top

ExportAsProcedure (character, character)

Parameters:
pcfile CHARACTER
 
pcCollectionlist CHARACTER
 
Top

Progress.Json.ObjectModel.JsonObject GetJSONExport (IContextTree)

/* optional call back from context tree.
return json to export instead of dataset
return unknown to use standard dataset. write-json
Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
 
Returns Progress.Json.ObjectModel.JsonObject
 
Top

INTEGER Serialize (handle)

/* serialize to stream abl standard export format
return num rows exported
Parameters:
phStream HANDLE
 
Returns INTEGER
 
Top

WriteTree (IContextTree)

Purpose: Writetree is a visitor/serialize method that adds this object and its collections to the passed ContextTree
Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
  the IContextTree to add the object to */
Top

WriteTree (IContextTree, character)

Purpose: Writetree is a visitor/serialize method that adds this object and the specified collections to the
passed ContextTree. The context tree
@collections collections comma spearated list of child collections to add to the tree
Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
  the IContextTree to add the object to
pcCollections CHARACTER
 


Property Detail
Top

CHARACTER CodeExtension

Returns CHARACTER
 
Top

OpenEdge.DataAdmin.IRequestInfo RequestInfo

Top

CHARACTER SerializeName

Returns CHARACTER
 


TitleResults for “How to create a CRG?”Also Available inAlert