Class JCRLocalBoxDrive.BoxState

  • All Implemented Interfaces:
    org.exoplatform.services.cms.clouddrives.CloudDrive.FilesState
    Enclosing class:
    JCRLocalBoxDrive

    public class JCRLocalBoxDrive.BoxState
    extends Object
    implements org.exoplatform.services.cms.clouddrives.CloudDrive.FilesState
    The Class BoxState.
    • Constructor Detail

      • BoxState

        protected BoxState​(BoxAPI.ChangesLink link)
        Instantiates a new box state.
        Parameters:
        link - the link
    • Method Detail

      • getUpdating

        public Collection<String> getUpdating()
        Specified by:
        getUpdating in interface org.exoplatform.services.cms.clouddrives.CloudDrive.FilesState
      • isUpdating

        public boolean isUpdating​(String fileIdOrPath)
        Specified by:
        isUpdating in interface org.exoplatform.services.cms.clouddrives.CloudDrive.FilesState
      • isNew

        public boolean isNew​(String fileIdOrPath)
        Specified by:
        isNew in interface org.exoplatform.services.cms.clouddrives.CloudDrive.FilesState
      • getType

        public String getType()
        Gets the type.
        Returns:
        the type
      • getUrl

        public String getUrl()
        Gets the url.
        Returns:
        the url
      • getTtl

        public long getTtl()
        Gets the ttl.
        Returns:
        the ttl
      • getMaxRetries

        public long getMaxRetries()
        Gets the max retries.
        Returns:
        the maxRetries
      • getRetryTimeout

        public long getRetryTimeout()
        Gets the retry timeout.
        Returns:
        the retryTimeout
      • getOutdatedTimeout

        public long getOutdatedTimeout()
        Gets the outdated timeout.
        Returns:
        the outdatedTimeout
      • getCreated

        public long getCreated()
        Gets the created.
        Returns:
        the created
      • isOutdated

        public boolean isOutdated()
        Checks if is outdated.
        Returns:
        true, if is outdated