public class Bundle extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
Object[] |
bundlepaths
A list of bundlepaths in this bundle.
|
String |
clickwrapBody
Legal text that must be agreed to prior to accessing Bundle.
|
Long |
clickwrapId
ID of the clickwrap to use with this bundle.
|
String |
code
Bundle code.
|
String |
colorLeft
Page link and button color
|
String |
colorLink
Top bar link color
|
String |
colorText
Page link and button color
|
String |
colorTop
Top bar background color
|
String |
colorTopText
Top bar text color
|
Date |
createdAt
Bundle created at date/time
|
Boolean |
createSnapshot
If true, create a snapshot of this bundle's contents.
|
String |
description
Public description
|
Boolean |
dontAllowFoldersInUploads
Should folder uploads be prevented?
|
Boolean |
dontSeparateSubmissionsByFolder
Do not create subfolders for files uploaded to this share.
|
Date |
expiresAt
Bundle expiration date/time
|
Boolean |
finalizeSnapshot
If true, finalize the snapshot of this bundle's contents.
|
FormFieldSet |
formFieldSet
Custom Form to use
|
Long |
formFieldSetId
Id of Form Field Set to use with this bundle
|
Boolean |
hasInbox
Does this bundle have an associated inbox?
|
Long |
id
Bundle ID
|
Long |
inboxId
ID of the associated inbox, if available.
|
Long |
maxUses
Maximum number of times bundle can be accessed
|
String |
note
Bundle internal note
|
String |
password
Password for this bundle.
|
Boolean |
passwordProtected
Is this bundle password protected?
|
String[] |
paths
A list of paths in this bundle.
|
String |
pathTemplate
Template for creating submission subfolders.
|
String |
pathTemplateTimeZone
Timezone to use when rendering timestamps in path templates.
|
String |
permissions
Permissions that apply to Folders in this Share Link.
|
Boolean |
previewOnly |
Boolean |
requireLogout
If true, we will hide the 'Remember Me' box on the Bundle registration page, requiring that the user logout and log back in every time they visit the page.
|
Boolean |
requireRegistration
Show a registration page that captures the downloader's name and email address?
|
Boolean |
requireShareRecipient
Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
Boolean |
sendEmailReceiptToUploader
Send delivery receipt to the uploader.
|
Boolean |
skipCompany
BundleRegistrations can be saved without providing company?
|
Boolean |
skipEmail
BundleRegistrations can be saved without providing email?
|
Boolean |
skipName
BundleRegistrations can be saved without providing name?
|
Long |
snapshotId
ID of the snapshot containing this bundle's contents.
|
Date |
startAccessOnDate
Date when share will start to be accessible.
|
String |
url
Public URL of Share Link
|
Long |
userId
Bundle creator user ID
|
String |
username
Bundle creator username
|
Image |
watermarkAttachment
Preview watermark image applied to all bundle items.
|
Boolean |
watermarkAttachmentDelete
If true, will delete the file stored in watermark_attachment
|
byte[] |
watermarkAttachmentFile
Preview watermark image applied to all bundle items.
|
Map<String,String> |
watermarkValue
Preview watermark settings applied to all bundle items.
|
| Constructor and Description |
|---|
Bundle() |
Bundle(HashMap<String,Object> parameters) |
Bundle(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<Bundle> |
all() |
static ListIterator<Bundle> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Bundle |
create(HashMap<String,Object> parameters)
Parameters:
user_id - int64 - User ID.
|
static Bundle |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
delete() |
static void |
delete(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
delete(Long id,
HashMap<String,Object> parameters) |
static void |
delete(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
destroy() |
void |
destroy(HashMap<String,Object> parameters) |
static void |
destroy(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Bundle |
find(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Bundle |
find(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Bundle ID.
|
static Bundle |
find(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Bundle |
get() |
static Bundle |
get(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<Bundle> |
list()
Parameters:
user_id - int64 - User ID.
|
static ListIterator<Bundle> |
list(HashMap<String,Object> parameters) |
static ListIterator<Bundle> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
void |
share()
Send email(s) with a link to bundle
Parameters:
to - array(string) - A list of email addresses to share this bundle with.
|
static void |
share(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
share(Long id,
HashMap<String,Object> parameters)
Send email(s) with a link to bundle
Parameters:
to - array(string) - A list of email addresses to share this bundle with.
|
static void |
share(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
Bundle |
update()
Parameters:
paths - array(string) - A list of paths to include in this bundle.
|
static Bundle |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Bundle |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
paths - array(string) - A list of paths to include in this bundle.
|
static Bundle |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic String code
public String colorLeft
public String colorLink
public String colorText
public String colorTop
public String colorTopText
public String url
public String description
public Date expiresAt
public Boolean passwordProtected
public String permissions
public Boolean previewOnly
public Boolean requireRegistration
public Boolean requireShareRecipient
public Boolean requireLogout
public String clickwrapBody
public FormFieldSet formFieldSet
public Boolean skipName
public Boolean skipEmail
public Date startAccessOnDate
public Boolean skipCompany
public Long id
public Date createdAt
public Boolean dontSeparateSubmissionsByFolder
public Long maxUses
public String note
public String pathTemplate
public String pathTemplateTimeZone
public Boolean sendEmailReceiptToUploader
public Long snapshotId
public Long userId
public String username
public Long clickwrapId
public Long inboxId
public Image watermarkAttachment
public Map<String,String> watermarkValue
public Boolean hasInbox
public Boolean dontAllowFoldersInUploads
public String[] paths
public Object[] bundlepaths
public String password
public Long formFieldSetId
public Boolean createSnapshot
public Boolean finalizeSnapshot
public byte[] watermarkAttachmentFile
public Boolean watermarkAttachmentDelete
public void share()
throws IOException
IOExceptionpublic Bundle update() throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<Bundle> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Bundle> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Bundle> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Bundle> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Bundle> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Bundle find(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Bundle find(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Bundle find(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Bundle get() throws RuntimeException
RuntimeExceptionpublic static Bundle get(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Bundle create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Bundle create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void share(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void share(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void share(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Bundle update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Bundle update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Bundle update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void delete(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void destroy()
throws RuntimeException
RuntimeExceptionpublic static void destroy(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.