Package com.spotfire.ws.pub
Class LibraryItem
- java.lang.Object
-
- com.spotfire.ws.pub.LibraryItem
-
public final class LibraryItem extends java.lang.Object
Represents an item in the Library.- Since:
- 5.5
-
-
Constructor Summary
Constructors Constructor Description LibraryItem()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getAccessed()
Returns the date and time that the item was last accessed.java.util.Date
getCreated()
Returns the date and time that the item was created.UserPrincipal
getCreatedBy()
Returns the user that created the item, or null if not known.java.lang.String
getDescription()
Returns the description of the item, or null if no description has been set.Guid
getId()
Returns the ID of the item.java.lang.String
getItemType()
Returns the item type.java.util.Date
getModified()
Returns the date and time that the item was last modified.UserPrincipal
getModifiedBy()
Returns the user that last modified the item, or null if not known.Guid
getParentId()
Returns the ID of the parent item.java.util.Collection<LibraryProperty>
getProperties()
Returns any custom properties set on the item.long
getSize()
Returns the size of the item (in bytes).java.lang.String
getTitle()
Returns the title of the item.
-
-
-
Method Detail
-
getId
public Guid getId()
Returns the ID of the item.- Returns:
- the ID of the item
-
getTitle
public java.lang.String getTitle()
Returns the title of the item.- Returns:
- the title of the item
-
getDescription
public java.lang.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 java.lang.String getItemType()
Returns the item type.- Returns:
- the item type
-
getCreated
public java.util.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 java.util.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 java.util.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 java.util.Collection<LibraryProperty> getProperties()
Returns any custom properties set on the item.- Returns:
- any custom properties set on the item
-
-