public interface PayloadInfo
| Modifier and Type | Interface and Description |
|---|---|
static class |
PayloadInfo.PAYLOAD_TYPE
Known Payload types
|
| Modifier and Type | Method and Description |
|---|---|
PayloadInfo |
addCustomProperty(String key,
Object value)
Add a property to the custom property
Map |
String |
getAssetFolderPath()
Return the path to the asset folder associated with the payload.
|
String |
getBrowserPath()
Return the path to be opened in a browser to load the representation of the payload.
|
Calendar |
getCreated()
Return the date and time when the payload was created.
|
String |
getCreatedBy()
Returns the ID of the user who created the payload
|
Map<String,Object> |
getCustomProperties()
Return the custom property Map.
|
Object |
getCustomProperty(String key)
Return a custom property from the custom property
Map. |
String |
getDescription()
Return the description of the payload.
|
Calendar |
getLastModified()
Return the date and time when the payload was last modified
|
String |
getLastModifiedBy()
Returns the ID of the user who last modified the payload.
|
String |
getLockedBy()
Returns the ID of the user who locked the payload.
|
long |
getMonthlyHits()
Return the number of monthly hits the payload has received.
|
Calendar |
getOffTime()
Return the date and time that the payload will be turned off.
|
Calendar |
getOnTime()
Return the date and time that the payload will be turned on.
|
String |
getPath()
Return the path of the payload content.
|
String |
getPayloadType()
Return the type of the payload
|
String |
getThumbnailPath()
Return the path to the thumbnail that represents the payload
|
long |
getTimeUntilValid()
Return the amount of time in ms until the payload is considered valid.
|
String |
getTitle()
Return the title associated with the payload.
|
boolean |
isActive()
Return whether or not the payload is active.
|
boolean |
isLocked()
Return whether or not the payload is locked.
|
PayloadInfo |
setAssetFolderPath(String assetFolderPath)
Set the path to the asset folder associated with the payload.
|
PayloadInfo |
setBrowserPath(String browserPath)
Set the path to be opened in a browser to load the representation of the payload.
|
PayloadInfo |
setCreated(Calendar created)
Set the date and time when the payload was created.
|
PayloadInfo |
setCreatedBy(String createdBy)
Set the ID of the user who created the payload.
|
PayloadInfo |
setCustomProperties(Map<String,Object> customProperties)
Set the custom property Map.
|
PayloadInfo |
setDescription(String description)
Set the description of the payload.
|
PayloadInfo |
setIsActive(boolean isActive)
Set whether or not the payload is active.
|
PayloadInfo |
setIsLocked(boolean isLocked)
Set whether or not the payload is locked.
|
PayloadInfo |
setLastModified(Calendar lastModified)
Set the date and time when the payload was last modified
|
PayloadInfo |
setLastModifiedBy(String lastModifiedBy)
Set the ID of the user who last modified the payload.
|
PayloadInfo |
setLockedBy(String lockedBy)
Set the ID of the user who locked the payload.
|
PayloadInfo |
setMonthlyHits(long monthlyHits)
Set the number of monthly hits the payload has received.
|
PayloadInfo |
setOffTime(Calendar offTime)
Set the date and time that the payload will be turned off.
|
PayloadInfo |
setOnTime(Calendar onTime)
Set the date and time that the payload will be turned on.
|
PayloadInfo |
setPath(String path)
Set the path of the payload content.
|
PayloadInfo |
setPayloadType(String payloadType)
Set the type of the payload
|
PayloadInfo |
setThumbnailPath(String thumbnailPath)
Set the path to the thumbnail that represents the payload
|
PayloadInfo |
setTimeUntilValid(long timeUntilValid)
Set the amount of time in ms until the payload is considered valid.
|
PayloadInfo |
setTitle(String title)
Set the title associated with the payload.
|
String getPath()
InboxItem.getContentPathPayloadInfo setPath(String path)
path - the path to the payload contentInboxItem.getContentPathString getBrowserPath()
PayloadInfo setBrowserPath(String browserPath)
path - the path to the payload to be opened in a browserString getTitle()
PayloadInfo setTitle(String title)
title - the payload's titleString getThumbnailPath()
PayloadInfo setThumbnailPath(String thumbnailPath)
thumbnailPath - the payload's thumbnail pathString getPayloadType()
PayloadInfo.PAYLOAD_TYPEPayloadInfo setPayloadType(String payloadType)
payloadType - the payload's typePayloadInfo.PAYLOAD_TYPECalendar getCreated()
Calendar representing when the payload was createdPayloadInfo setCreated(Calendar created)
created - the Calendar representing when the payload was createdString getCreatedBy()
PayloadInfo setCreatedBy(String createdBy)
createdBy - the ID of the user who created the payloadCalendar getLastModified()
Calendar representing when the payload was last modifiedPayloadInfo setLastModified(Calendar lastModified)
lastModified - the Calendar representing when the payload was last modifiedString getLastModifiedBy()
PayloadInfo setLastModifiedBy(String lastModifiedBy)
lastModifiedBy - the ID of the user who last modified the payloadboolean isLocked()
PayloadInfo setIsLocked(boolean isLocked)
isLocked - whether or not the payload is lockedString getLockedBy()
PayloadInfo setLockedBy(String lockedBy)
lockedBy - the ID of the user who locked the payloadCalendar getOnTime()
PAYLOAD_TYPE_PAGE.Calendar representing the date and time that the payload will be turned onPayloadInfo setOnTime(Calendar onTime)
PAYLOAD_TYPE_PAGE.onTime - the Calendar representing the date and time that the payload will be turned onCalendar getOffTime()
PAYLOAD_TYPE_PAGE.Calendar representing the date and time that the payload will be turned offPayloadInfo setOffTime(Calendar offTime)
PAYLOAD_TYPE_PAGE.offTime - the Calendar representing the date and time that the payload will be turned offlong getTimeUntilValid()
PAYLOAD_TYPE_PAGE.PayloadInfo setTimeUntilValid(long timeUntilValid)
PAYLOAD_TYPE_PAGEtimeUntilValid - the amount of time in ms until the payload is considered validlong getMonthlyHits()
PAYLOAD_TYPE_PAGE.PayloadInfo setMonthlyHits(long monthlyHits)
PAYLOAD_TYPE_PAGE.monthlyHits - the number of monthly hits the payload has receivedString getDescription()
PayloadInfo setDescription(String description)
description - the description of the payloadString getAssetFolderPath()
PAYLOAD_TYPE_PROJECT.PayloadInfo setAssetFolderPath(String assetFolderPath)
PAYLOAD_TYPE_PAGE.assetFolderPath - the path to the asset folder associated with the payloadboolean isActive()
PAYLOAD_TYPE_PAGE.PayloadInfo setIsActive(boolean isActive)
PAYLOAD_TYPE_PAGE.isActive - whether or not the paylaod is activeMap<String,Object> getCustomProperties()
MapPayloadInfo setCustomProperties(Map<String,Object> customProperties)
customProperties - the custom property MapPayloadInfo addCustomProperty(String key, Object value)
Mapkey - the property's keyvalue - the property's value"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"