TWebsiteProject Class

Unit: uLWG_Projects
System.TObject
  uDocumentsAncestor.TDocumentAncestor
    uDocumentsAncestor.TJSONDocumentAncestor
      uLWG_Projects.TWebsiteProject
type TWebsiteProject = class(TJSONDocumentAncestor)

The TWebsiteProject type exposes the following members.

Show:
 NameDescription
Create

Used to create a new instance of this class. It's better to use TDocument.DefaultDocument if you have only one document in your project, but create instances for each document if you want to edit more than one at the same time. (Overrides uDocumentsAncestor.TDocumentAncestor.Create .)

Top
Show:
 NameDescription
API_Download_Endpoint

API_PrivKey

API_PubKey

API_URL

API_Upload_Endpoint

FileName

The FileName for this document (no path, no extension) if opened by LoadFromFile(WithAName) or it has been saved by SaveToFile(WithAName) (Inherited from uDocumentsAncestor.TDocumentAncestor .)

HasChanged

Returns True if a document parameter has changed since last Clear(), LoadXXX() or SaveXXX() (Inherited from uDocumentsAncestor.TDocumentAncestor .)

Path

Path to the folder where this document will be saved. (Inherited from uDocumentsAncestor.TDocumentAncestor .)

Top
Show:
 NameDescription
AsJSON

Get the JSON object version of this instance. (Overrides uDocumentsAncestor.TJSONDocumentAncestor.AsJSON .)

Clear

Used to clean current instance and reset all properties and fields to their default values (Overrides uDocumentsAncestor.TDocumentAncestor.Clear .)

GetDocumentExtension

Returns the file extension for the storrage file of this document. (Overrides uDocumentsAncestor.TDocumentAncestor.GetDocumentExtension .)

GetDocumentGUID

Returns the unique identifier used in the document jeader to check if the file is compatible with this project. (Overrides uDocumentsAncestor.TDocumentAncestor.GetDocumentGUID .)

GetEncoding

Returns the encoding format of the JSON document source string (Inherited from uDocumentsAncestor.TJSONDocumentAncestor .)

GetPrivateXORKey

Returns the optional key to use to crypt/uncrypt the document file. (Overrides uDocumentsAncestor.TJSONDocumentAncestor.GetPrivateXORKey .)

IsCrypted

Returns True if this document has a Private XOR Key and should by crypted (Inherited from uDocumentsAncestor.TJSONDocumentAncestor .)

LoadFromFile

Load this document from a file. (Inherited from uDocumentsAncestor.TJSONDocumentAncestor .)

LoadFromJSONObject

Fill this instance from a JSON object. (Overrides uDocumentsAncestor.TJSONDocumentAncestor.LoadFromJSONObject .)

SaveToFile

Save this document to a file. (Inherited from uDocumentsAncestor.TJSONDocumentAncestor .)

SetHasChanged
ToJSON

Get the JSON source version of this instance. (Inherited from uDocumentsAncestor.TJSONDocumentAncestor .)

Top