패키지 | com.adobe.livecycle.content |
클래스 | public class File |
상속 | File EventDispatcher Object |
구현 | IManaged |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
속성 | 정의 주체 | ||
---|---|---|---|
baseURL : String [정적]
The baseURL of Experience Server. | File | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
contentStreamPath : String
TempPath when content is temporarily uploaded. | File | ||
contextRoot : String [정적]
The context root of launchpad application. | File | ||
created : Date
Date when file is created. | File | ||
createdBy : String
The user ID of user who created file. | File | ||
extendedPropertyMap : Object
Additional key-value attributes whichare persisted along with file. | File | ||
fileName : String
The name of the file. | File | ||
id : String
The identifier of the file node. | File | ||
lastModified : Date
The last date the content was modified. | File | ||
lastModifiedBy : String
The user ID of user who last modified the file. | File | ||
mimeType : String
The MIME type of the content. | File | ||
securityManager : SecurityManager [정적]
The User Manager (UM) SecurityManager instance. | File | ||
tempPath : String
The temporary path to store the file. | File |
속성 | 정의 주체 | ||
---|---|---|---|
boundary : String [읽기 전용]
Boundary of multipart request used in multipart binary upload of content. | File |
메서드 | 정의 주체 | ||
---|---|---|---|
File()
constructor of File. | File | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | EventDispatcher | ||
Deletes the JCR node specified by this instance. | File | ||
이벤트를 이벤트 흐름으로 전달합니다. | EventDispatcher | ||
download content of jcr node into ByteArray. | File | ||
Downloads content of the JCR node to filesytem. | File | ||
Fill the current instance with metadata of jcr node. | File | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
EventDispatcher 객체에서 리스너를 제거합니다. | EventDispatcher | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
Updates content of jcr node specified by this instance from file on ByteArray. | File | ||
Updates content of jcr node specified by this instance from file on filesystem. | File | ||
uploadToPathFromByteArray(parentPath:String, fileData:ByteArray, mimeType:String, fileNameArg:String):void
Uploads file to location specified by parenPath on the Experience Server from a ByteArray value. | File | ||
Uploads file on filesystem at path specified by parentPath on the Experience Server. | File | ||
Uploads file to temporary location to the Experience Server from a ByteArray value. | File | ||
Uploads file on filesystem to temporary location on the Experience Server.It uses FileReference to
upload file to the Experience Server. | File | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher |
메서드 | 정의 주체 | ||
---|---|---|---|
Appends User Manager (UM) ticket to the URL. | File |
상수 | 정의 주체 | ||
---|---|---|---|
NT_FILE : String = "nt:file" [정적]
constant representing nt:file
| File | ||
TEMP_FOLDER_NAME : String = "/tmp/uploadFilesTempDir" [정적]
The temporary path of folder where temp files will be uploaded. | File |
baseURL | 속성 |
public static var baseURL:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The baseURL of Experience Server. Set it once and File APIs use it to upload and download content from it.
boundary | 속성 |
contentStreamPath | 속성 |
contentStreamPath:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
TempPath when content is temporarily uploaded. It is only populated when content is uploaded using uploadToTempFromFileReference,uploadToTempFromByteArray. path of the content.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get contentStreamPath():String
public function set contentStreamPath(value:String):void
contextRoot | 속성 |
public static var contextRoot:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The context root of launchpad application.
created | 속성 |
created:Date
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Date when file is created.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get created():Date
public function set created(value:Date):void
createdBy | 속성 |
createdBy:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The user ID of user who created file.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get createdBy():String
public function set createdBy(value:String):void
extendedPropertyMap | 속성 |
extendedPropertyMap:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Additional key-value attributes whichare persisted along with file. This value is applicable when the file is created using the RepositoryService or LiveCycleContentAssembler service.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get extendedPropertyMap():Object
public function set extendedPropertyMap(value:Object):void
fileName | 속성 |
fileName:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The name of the file.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get fileName():String
public function set fileName(value:String):void
id | 속성 |
id:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The identifier of the file node.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get id():String
public function set id(value:String):void
lastModified | 속성 |
lastModified:Date
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The last date the content was modified.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get lastModified():Date
public function set lastModified(value:Date):void
lastModifiedBy | 속성 |
lastModifiedBy:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The user ID of user who last modified the file.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get lastModifiedBy():String
public function set lastModifiedBy(value:String):void
mimeType | 속성 |
mimeType:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The MIME type of the content.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get mimeType():String
public function set mimeType(value:String):void
securityManager | 속성 |
public static var securityManager:SecurityManager
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The User Manager (UM) SecurityManager instance. Set it once and File APIs use it to retrieve ticket and credentials.
tempPath | 속성 |
tempPath:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The temporary path to store the file.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get tempPath():String
public function set tempPath(value:String):void
File | () | 생성자 |
public function File()
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
constructor of File.
appendSecurityTicket | () | 메서드 |
protected function appendSecurityTicket(url:String, ticket:com.adobe.livecycle.ria.security.api:ITicket):String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Appends User Manager (UM) ticket to the URL.
매개 변수
url:String — url string
| |
ticket:com.adobe.livecycle.ria.security.api:ITicket — UM ticket
|
String — ticket appended url
|
deleteFile | () | 메서드 |
public function deleteFile():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Deletes the JCR node specified by this instance. It dispatches FileEvent.FILE_DELETED_EVENT on completion of file upload.
관련 API 요소
flash.events.Event.CANCEL
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
flash.events.ProgressEvent.PROGRESS
downloadContentToByteArray | () | 메서드 |
public function downloadContentToByteArray():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
download content of jcr node into ByteArray. It dispatches FileEvent.FILE_DOWNLOAD_COMPLETED_EVENT on completion of file download.
관련 API 요소
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
flash.events.ProgressEvent.PROGRESS
downloadContentToFileSystem | () | 메서드 |
public function downloadContentToFileSystem(defaultFileName:String = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Downloads content of the JCR node to filesytem. It uses FileReference to download content. It dispatches FileEvent.FILE_DOWNLOAD_COMPLETED_EVENT on completion of file download.
매개 변수
defaultFileName:String (default = null ) — default file name by which file is saved on file system. It appears in save dialog box.
|
관련 API 요소
flash.events.Event.CANCEL
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
fillMetaData | () | 메서드 |
public function fillMetaData():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Fill the current instance with metadata of jcr node. It makes a call to the Experience Server and retrieves all properties and fills in current instance. It dispatches FileEvent.FILE_METADATA_FILLED_EVENT when metadata is populated in instance.
관련 API 요소
flash.events.Event.CANCEL
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
flash.events.ProgressEvent.PROGRESS
updateFromByteArray | () | 메서드 |
public function updateFromByteArray(fileData:ByteArray, mimeTypeStr:String = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Updates content of jcr node specified by this instance from file on ByteArray. It uses FileReference to upload file from filesystem. It doesn't update content of temporary file i.e. File object created from uploadToTempFromFileReference and uploadToTempFromByteArray. It doesn't update content on File instance which is retrieved from repository. To update such instance upload content via uploadToTempFromFileReference or uploadToTempFromByteArray API and update it via LiveCycleContentAssembler or RepositoryService. It dispatches FileEvent.FILE_UPLOAD_COMPLETED_EVENT on completion of file upload.
매개 변수
fileData:ByteArray — the data which will be updated
| |
mimeTypeStr:String (default = null ) — the new mimeType of the data.
|
관련 API 요소
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
flash.events.ProgressEvent.PROGRESS
updateFromFileReference | () | 메서드 |
public function updateFromFileReference(typeFilter:Array = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Updates content of jcr node specified by this instance from file on filesystem. It uses FileReference to upload file from filesystem. It doesn't update content of temporary file i.e. File object created from uploadToTempFromFileReference and uploadToTempFromByteArray. It dispatches FileEvent.FILE_UPLOAD_COMPLETED_EVENT on completion of file upload. It doesn't update content on File instance which is retrieved from repository. To update such instance upload content via uploadToTempFromFileReference or uploadToTempFromByteArray API and update it using the LiveCycleContentAssembler or RepositoryService service.
매개 변수
typeFilter:Array (default = null ) — file type filter to filter files in File select dialog.
|
관련 API 요소
flash.events.Event.CANCEL
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
flash.events.ProgressEvent.PROGRESS
uploadToPathFromByteArray | () | 메서드 |
public function uploadToPathFromByteArray(parentPath:String, fileData:ByteArray, mimeType:String, fileNameArg:String):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Uploads file to location specified by parenPath on the Experience Server from a ByteArray value. It creates nt:file node at temporary location. The current instance will be consumed by lc-content RepositoryService to move content from temp location to actual location. It dispatches FileEvent.FILE_UPLOAD_COMPLETED_EVENT on completion of file upload.
매개 변수
parentPath:String — path upto parent folder location.
| |
fileData:ByteArray — content of file.
| |
mimeType:String — mimeType of file.
| |
fileNameArg:String — name of the file node that will be created on server.
|
관련 API 요소
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
flash.events.ProgressEvent.PROGRESS
uploadToPathFromFileReference | () | 메서드 |
public function uploadToPathFromFileReference(parentPath:String, typeFilter:Array = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Uploads file on filesystem at path specified by parentPath on the Experience Server. It uses FileReference to upload file to the Experience Server. It dispatches FileEvent.FILE_UPLOAD_COMPLETED_EVENT event when the file upload completes.
매개 변수
parentPath:String — path upto parent folder location.
| |
typeFilter:Array (default = null ) — file type filter to filter files in File select dialog.
|
관련 API 요소
flash.events.Event.CANCEL
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
flash.events.ProgressEvent.PROGRESS
uploadToTempFromByteArray | () | 메서드 |
public function uploadToTempFromByteArray(fileData:ByteArray, mimeType:String, fileNameArg:String = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Uploads file to temporary location to the Experience Server from a ByteArray value. It creates nt:file node at temporary location. The current instance will be consumed by lc-content RepositoryService to move content from temp location to actual location. It dispatches FileEvent.FILE_UPLOAD_COMPLETED_EVENT on completion of file upload.
매개 변수
fileData:ByteArray — content of file.
| |
mimeType:String — mimeType of file.
| |
fileNameArg:String (default = null ) — name of the file node that will be created on server.
|
관련 API 요소
flash.events.Event.CANCEL
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
uploadToTempFromFileReference | () | 메서드 |
public function uploadToTempFromFileReference(typeFilter:Array = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Uploads file on filesystem to temporary location on the Experience Server.It uses FileReference to upload file to the Experience Server. It creates nt:file node at temporary location. The current instance will be consumed by lc-content RepositoryService to move content from temp location to actual location. It dispatches FileEvent.FILE_UPLOAD_COMPLETED_EVENT on completion of file upload.
매개 변수
typeFilter:Array (default = null ) — file type filter to filter files in File select dialog.
|
관련 API 요소
flash.events.Event.CANCEL
flash.events.HTTPStatusEvent.HTTP_STATUS
flash.events.IOErrorEvent.IO_ERROR
flash.events.Event.OPEN
flash.events.SecurityErrorEvent.SECURITY_ERROR
flash.events.ProgressEvent.PROGRESS
NT_FILE | 상수 |
public static const NT_FILE:String = "nt:file"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
constant representing nt:file
TEMP_FOLDER_NAME | 상수 |
public static const TEMP_FOLDER_NAME:String = "/tmp/uploadFilesTempDir"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
The temporary path of folder where temp files will be uploaded. The default path is /content/uploadFilesTempDir.
Tue Jun 12 2018, 03:17 PM Z