Class ContentDataWithId

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContentDataWithId
    extends org.alfresco.service.cmr.repository.ContentData
    ContentData-derived class with ID.
    Since:
    3.4
    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentDataWithId​(org.alfresco.service.cmr.repository.ContentData contentData, java.lang.Long id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getId()  
      java.lang.String toString()  
      • Methods inherited from class org.alfresco.service.cmr.repository.ContentData

        createContentProperty, equals, getContentUrl, getEncoding, getInfoUrl, getLocale, getMimetype, getSize, hasContent, hashCode, setEncoding, setMimetype
      • Methods inherited from class java.lang.Object

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

      • ContentDataWithId

        public ContentDataWithId​(org.alfresco.service.cmr.repository.ContentData contentData,
                                 java.lang.Long id)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.alfresco.service.cmr.repository.ContentData
      • getId

        public java.lang.Long getId()