File object, represents a File in GCN
name | data type | description |
---|---|---|
typeId | number | Type ID |
inheritedFrom | string | Name of the node, this file was inherited from |
inheritedFromId | number | Return id of the node, this file was inherited from. |
masterNode | string | Name of the node, the master object belongs to |
masterNodeId | number | Id of the node, the master object belongs to. |
folderName | string | Name of the folder of this file |
channelId | object | Channel ID |
text | string | Name of the file |
leaf | boolean | This is a file so leaf is true |
cls | string | This is a file cls |
iconCls | string | Define attribute to select the appropriate class |
fileType | string | File type |
description | string | Description |
folderId | number | Folder ID |
fileSize | number | File size |
tags | map of Tag | Map of object tags of this file |
url | string | URL to the file |
liveUrl | string | Live URL to the page |
inherited | boolean | |
path | string | Folder path of this file |
forceOnline | boolean | True if the file shall be force to go online, even if nothing depends on it (may be null if status is undetermined). |
online | boolean | True if the file is online, false if it is offline |
broken | boolean | True for broken files |
disinheritedChannels | array of Node | the set of disinherited channels for this object |
excluded | boolean | Whether this page is excluded from multichannelling. |
disinheritDefault | boolean | Whether this folder is disinherited by default in new channels. |
disinherited | boolean | True if the file is disinherited in some channels |
Properties inherited from ContentNodeItem |
||
id | number | ID of the item |
globalId | string | Global ID of the item |
name | string | Name of the item |
creator | User | Creator of the item |
cdate | number | Creation date of the item |
editor | User | Last editor of the item |
edate | number | Last Edit Date of the item |
type | ItemType | Item type |
deleted | DeleteInfo | Deletion information, if object was deleted |
masterDeleted | DeleteInfo | Deletion information about the master (if the object is not a master itself). |
folderDeleted | DeleteInfo | Deletion information about the containing folder. |
Example
{ "typeId" : 12345, "inheritedFrom" : "...", "inheritedFromId" : 12345, "masterNode" : "...", "masterNodeId" : 12345, "folderName" : "...", "channelId" : { }, "text" : "...", "leaf" : true, "cls" : "...", "iconCls" : "...", "fileType" : "...", "description" : "...", "folderId" : 12345, "fileSize" : 12345, "tags" : { "property1" : { "id" : 12345, "name" : "...", "constructId" : 12345, "active" : true, "properties" : { "property1" : { "type" : "VELOCITY", "stringValue" : "...", "booleanValue" : true, "fileId" : 12345, "imageId" : 12345, "folderId" : 12345, "pageId" : 12345, "stringValues" : [ "...", "..." ], "options" : [ { }, { } ], "selectedOptions" : [ { }, { } ], "datasourceId" : 12345, "overview" : { }, "templateId" : 12345, "contentTagId" : 12345, "templateTagId" : 12345, "nodeId" : 12345, "partId" : 12345, "id" : 12345, "globalId" : "..." }, "property2" : { "type" : "PAGE", "stringValue" : "...", "booleanValue" : true, "fileId" : 12345, "imageId" : 12345, "folderId" : 12345, "pageId" : 12345, "stringValues" : [ "...", "..." ], "options" : [ { }, { } ], "selectedOptions" : [ { }, { } ], "datasourceId" : 12345, "overview" : { }, "templateId" : 12345, "contentTagId" : 12345, "templateTagId" : 12345, "nodeId" : 12345, "partId" : 12345, "id" : 12345, "globalId" : "..." } }, "type" : "OBJECTTAG" }, "property2" : { "id" : 12345, "name" : "...", "constructId" : 12345, "active" : true, "properties" : { "property1" : { "type" : "STRING", "stringValue" : "...", "booleanValue" : true, "fileId" : 12345, "imageId" : 12345, "folderId" : 12345, "pageId" : 12345, "stringValues" : [ "...", "..." ], "options" : [ { }, { } ], "selectedOptions" : [ { }, { } ], "datasourceId" : 12345, "overview" : { }, "templateId" : 12345, "contentTagId" : 12345, "templateTagId" : 12345, "nodeId" : 12345, "partId" : 12345, "id" : 12345, "globalId" : "..." }, "property2" : { "type" : "BOOLEAN", "stringValue" : "...", "booleanValue" : true, "fileId" : 12345, "imageId" : 12345, "folderId" : 12345, "pageId" : 12345, "stringValues" : [ "...", "..." ], "options" : [ { }, { } ], "selectedOptions" : [ { }, { } ], "datasourceId" : 12345, "overview" : { }, "templateId" : 12345, "contentTagId" : 12345, "templateTagId" : 12345, "nodeId" : 12345, "partId" : 12345, "id" : 12345, "globalId" : "..." } }, "type" : "OBJECTTAG" } }, "url" : "...", "liveUrl" : "...", "inherited" : true, "path" : "...", "forceOnline" : true, "online" : true, "broken" : true, "disinheritedChannels" : [ { "folderId" : 12345, "publishDir" : "...", "binaryPublishDir" : "...", "pubDirSegment" : true, "https" : true, "host" : "...", "utf8" : true, "publishFs" : true, "publishFsPages" : true, "publishFsFiles" : true, "publishContentMap" : true, "publishContentMapPages" : true, "publishContentMapFiles" : true, "publishContentMapFolders" : true, "contentRepositoryId" : 12345, "disablePublish" : true, "editorVersion" : 12345, "contentEditor" : "LiveEditor", "defaultFileFolderId" : 12345, "defaultImageFolderId" : 12345, "languagesId" : [ 12345, 12345 ], "masterId" : 12345, "inheritedFromId" : 12345, "masterNodeId" : 12345, "urlRenderWayPages" : 12345, "urlRenderWayFiles" : 12345, "meshPreviewUrl" : "...", "meshProject" : "...", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "edate" : 12345, "type" : "image", "deleted" : { "at" : 12345, "by" : { } }, "masterDeleted" : { "at" : 12345, "by" : { } }, "folderDeleted" : { "at" : 12345, "by" : { } } }, { "folderId" : 12345, "publishDir" : "...", "binaryPublishDir" : "...", "pubDirSegment" : true, "https" : true, "host" : "...", "utf8" : true, "publishFs" : true, "publishFsPages" : true, "publishFsFiles" : true, "publishContentMap" : true, "publishContentMapPages" : true, "publishContentMapFiles" : true, "publishContentMapFolders" : true, "contentRepositoryId" : 12345, "disablePublish" : true, "editorVersion" : 12345, "contentEditor" : "AlohaEditor", "defaultFileFolderId" : 12345, "defaultImageFolderId" : 12345, "languagesId" : [ 12345, 12345 ], "masterId" : 12345, "inheritedFromId" : 12345, "masterNodeId" : 12345, "urlRenderWayPages" : 12345, "urlRenderWayFiles" : 12345, "meshPreviewUrl" : "...", "meshProject" : "...", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "edate" : 12345, "type" : "node", "deleted" : { "at" : 12345, "by" : { } }, "masterDeleted" : { "at" : 12345, "by" : { } }, "folderDeleted" : { "at" : 12345, "by" : { } } } ], "excluded" : true, "disinheritDefault" : true, "disinherited" : true, "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "edate" : 12345, "type" : "node", "deleted" : { "at" : 12345, "by" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." } }, "masterDeleted" : { "at" : 12345, "by" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." } }, "folderDeleted" : { "at" : 12345, "by" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." } } }