Class LibraryItem

java.lang.Object
com.spotfire.ws.pub.LibraryItem

public final class LibraryItem extends Object
Represents an item in the Library.
Since:
5.5
  • Constructor Details

    • LibraryItem

      public LibraryItem()
      Creates a new instance.
  • Method Details

    • getId

      public Guid getId()
      Returns the ID of the item.
      Returns:
      the ID of the item
    • getTitle

      public String getTitle()
      Returns the title of the item.
      Returns:
      the title of the item
    • getDescription

      public String getDescription()
      Returns the description of the item, or null if no description has been set.
      Returns:
      the description of the item, or null if no description has been set
    • getParentId

      public Guid getParentId()
      Returns the ID of the parent item.
      Returns:
      the ID of the parent item
    • getItemType

      public String getItemType()
      Returns the item type.
      Returns:
      the item type
    • getCreated

      public Date getCreated()
      Returns the date and time that the item was created.
      Returns:
      the date and time that the item was created
    • getCreatedBy

      public UserPrincipal getCreatedBy()
      Returns the user that created the item, or null if not known.
      Returns:
      the user that created the item, or null if not known
    • getModified

      public Date getModified()
      Returns the date and time that the item was last modified.
      Returns:
      the date and time that the item was last modified
    • getModifiedBy

      public UserPrincipal getModifiedBy()
      Returns the user that last modified the item, or null if not known.
      Returns:
      the user that last modified the item, or null if not known
    • getAccessed

      public Date getAccessed()
      Returns the date and time that the item was last accessed.
      Returns:
      the date and time that the item was last accessed
    • getSize

      public long getSize()
      Returns the size of the item (in bytes).
      Returns:
      the size of the item (in bytes)
    • getProperties

      public Collection<LibraryProperty> getProperties()
      Returns any custom properties set on the item.
      Returns:
      any custom properties set on the item