User API

StoredObject

Other API in Package

Web

Internal Tunnel

Internal Web

Tunnel

Represents object stored in remote storage cloud

Method Summary
File getFile(boolean decrypt)

Returns content of this object

String[] getIndexedMetadata()

Returns metadata fields that should be indexed by storage provider, if supported

String getKey()

Returns key of this object

Data getMetadata()

Returns metadata of this object

UnknownFile getUnknownFile(String filename, boolean decrypt)

Returns the specified file as unknown file.

  setFile(File file, boolean encrypt)

Sets content of this object

  setIndexedMetadata(String[] fields)

Specifies metadata fields that should be indexed by storage provider, if supported

Method Detail


File getFile(boolean decrypt)

Returns content of this object

Parameters:

  • boolean   decrypt  - Decrypt the file..

Returns:  File

Since: 02-13-2012

top

String[] getIndexedMetadata()

Returns metadata fields that should be indexed by storage provider, if supported

Returns:  String[]

Since: 02-17-2012

top

String getKey()

Returns key of this object

Returns:  String

Since: 02-13-2012

top

Data getMetadata()

Returns metadata of this object

Returns:  Data

Since: 02-13-2012

top

UnknownFile getUnknownFile(String filename, boolean decrypt)

Returns the specified file as unknown file.

Parameters:

  • String   filename Required parameter.
  • boolean   decrypt Required parameter.

Returns:  UnknownFile

Since: 09-28-2020

top

setFile(File file, boolean encrypt)

Sets content of this object

Parameters:

  • File   file  - file with contents. Required parameter.
  • boolean   encrypt  - encrypt the file. Required parameter.

Since: 02-13-2012

top

setIndexedMetadata(String[] fields)

Specifies metadata fields that should be indexed by storage provider, if supported

Parameters:

  • String[]   fields  - list of metadata fields to index.

Since: 02-17-2012

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: Dec 03, 2024 10:24 AM