Transaction System API

SafeBox

Method Summary
boolean canDelete()

Returns true if the delete permission is allowed by this pal.

boolean canPut()

Returns true if the put permission is allowed by this pal.

  deleteFile(String fileId)

Deletes the specified file.

Date getExpires()

Returns the expiration datetime for this SafeBox.

File getFile(String fileId)

Returns the specified file.

DataList getFiles()

Returns a list of all the files in this SafeBox.

File getFirstFile()

Returns the first in this SafeBox.

String getId()

Returns the unique ID of this SafeBox.

File getLastFile()

Returns the last in this SafeBox.

  putFile(File file)

Stores the file

String toString()

Returns a description of this object.

Method Detail


boolean canDelete()

Returns true if the delete permission is allowed by this pal.

Returns:  boolean

Since: 11-17-2022

top

boolean canPut()

Returns true if the put permission is allowed by this pal.

Returns:  boolean

Since: 11-17-2022

top

deleteFile(String fileId)

Deletes the specified file.

Parameters:

  • String   fileId Required parameter.

Since: 11-17-2022

top

Date getExpires()

Returns the expiration datetime for this SafeBox.

Returns:  Date

Since: 11-17-2022

top

File getFile(String fileId)

Returns the specified file.

Parameters:

  • String   fileId Required parameter.

Returns:  File

Since: 11-17-2022

top

DataList getFiles()

Returns a list of all the files in this SafeBox.

Returns:  DataList


DataList Name: files
DataList Fields: filename, length

Since: 11-17-2022

top

File getFirstFile()

Returns the first in this SafeBox.

Returns:  File

Since: 11-17-2022

top

String getId()

Returns the unique ID of this SafeBox.

Returns:  String

Since: 11-17-2022

top

File getLastFile()

Returns the last in this SafeBox.

Returns:  File

Since: 11-17-2022

top

putFile(File file)

Stores the file

Parameters:

  • File   file Required parameter.

Since: 11-17-2022

top

String toString()

Returns a description of this object.

Returns:  String

Since: 11-17-2022

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: May 01, 2024 05:15 AM