Package dw.xmlrpc

Class MediaChange


  • public class MediaChange
    extends java.lang.Object
    Describes a revision of a media
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaChange​(java.lang.String id, java.util.Date lastModified, java.lang.String author, java.lang.Integer version, java.lang.Integer perms, java.lang.Integer size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String author()
      Author of this modification of the media
      java.lang.String id()
      Id of the media (namespace + name)
      java.util.Date lastModified()
      Date of this modification of the media
      java.lang.Integer perms()
      Permissions of the file
      java.lang.Integer size()
      Size of the file in bytes
      java.lang.String toString()  
      java.lang.Integer version()
      Version of the revision as a timestamp.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MediaChange

        public MediaChange​(java.lang.String id,
                           java.util.Date lastModified,
                           java.lang.String author,
                           java.lang.Integer version,
                           java.lang.Integer perms,
                           java.lang.Integer size)
    • Method Detail

      • id

        public java.lang.String id()
        Id of the media (namespace + name)
      • lastModified

        public java.util.Date lastModified()
        Date of this modification of the media
      • author

        public java.lang.String author()
        Author of this modification of the media
      • version

        public java.lang.Integer version()
        Version of the revision as a timestamp. Should correspond to lastModified()
      • perms

        public java.lang.Integer perms()
        Permissions of the file
      • size

        public java.lang.Integer size()
        Size of the file in bytes
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object