public interface OfflineContentService
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Resource> |
getCopiedOfflineConfig(Resource assignment)
Returns the list of configs copied for the provided assignment.
|
java.util.Iterator<Resource> |
getOfflineConfigs(Resource channel)
Retrieves the offline configuration node for that channel.
|
long |
getOfflineTimestamp(Resource channel)
Get the offline timestamp value for the channel
|
long |
prepareOfflineContentForAssignment(Resource assignment)
Update the offline content in the context of the specified assignment.
|
long |
prepareOfflineContentForChannel(Resource channel,
Resource offlineConfig)
Update the offline content in the context of the specified channel.
|
void |
updateOfflineTimestamp(Resource channel,
long timestamp)
Update the offline timestamp property for the channel
|
java.util.Iterator<Resource> getOfflineConfigs(Resource channel)
channel
- The channel for which we want to get the offline configlong getOfflineTimestamp(Resource channel)
channel
- The channel-1L
if not setvoid updateOfflineTimestamp(Resource channel, long timestamp) throws RepositoryException
channel
- The channel to updatetimestamp
- The new timestampRepositoryException
- if there is a repository exceptionlong prepareOfflineContentForChannel(Resource channel, Resource offlineConfig)
channel
- The channel for which we want to recreate the offline contentofflineConfig
- The offline config resourcelong prepareOfflineContentForAssignment(Resource assignment) throws PersistenceException
assignment
- The assignment for which we want to recreate the offline contentPersistenceException
- if there was a error preparing the offline content"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"