Class RepositoryItem

  • All Implemented Interfaces:
    java.io.Serializable

    public class RepositoryItem
    extends java.lang.Object
    implements java.io.Serializable
    RepositoryItemStatus provides status information for a repository folder item.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      ChangeModifier Constructor Description
      protected RepositoryItem()
      Default constructor needed for de-serialization
        RepositoryItem​(java.lang.String folderPath, java.lang.String itemName, java.lang.String fileID, int itemType, java.lang.String contentType, int version, long versionTime)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      ChangeModifier and Type Method Description
      java.lang.String getContentType()
      Returns content class
      java.lang.String getFileID()  
      int getItemType()
      Returns type of item.
      java.lang.String getName()
      Returns the item name.
      java.lang.String getParentPath()
      Returns path of the parent folder containing this item.
      java.lang.String getPathName()
      Returns the folder item path within the repository.
      int getVersion()
      Returns the current version of the item or -1 if versioning not supported.
      long getVersionTime()
      Returns the time (UTC milliseconds) when the current version was created.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • folderPath NEW

        protected java.lang.String folderPath
      • itemName NEW

        protected java.lang.String itemName
      • fileID NEW

        protected java.lang.String fileID
      • itemType NEW

        protected int itemType
      • contentType NEW

        protected java.lang.String contentType
      • version NEW

        protected int version
      • versionTime NEW

        protected long versionTime

Constructor Detail

  • Method Detail

    • getName

      public java.lang.String getName()
      Returns the item name.
    • getPathName

      public java.lang.String getPathName()
      Returns the folder item path within the repository.
    • getParentPath

      public java.lang.String getParentPath()
      Returns path of the parent folder containing this item.
    • getItemType

      public int getItemType()
      Returns type of item.
    • getContentType

      public java.lang.String getContentType()
      Returns content class
    • getFileID

      public java.lang.String getFileID()
    • getVersion

      public int getVersion()
      Returns the current version of the item or -1 if versioning not supported.
    • getVersionTime

      public long getVersionTime()
      Returns the time (UTC milliseconds) when the current version was created.