Package com.spotfire.ws.pub
Class LibraryItem
java.lang.Object
com.spotfire.ws.pub.LibraryItem
Represents an item in the Library.
- Since:
- 5.5
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the date and time that the item was last accessed.Returns the date and time that the item was created.Returns the user that created the item, or null if not known.Returns the description of the item, or null if no description has been set.getId()
Returns the ID of the item.Returns the item type.Returns the date and time that the item was last modified.Returns the user that last modified the item, or null if not known.Returns the ID of the parent item.Returns any custom properties set on the item.long
getSize()
Returns the size of the item (in bytes).getTitle()
Returns the title of the item.
-
Constructor Details
-
LibraryItem
public LibraryItem()Creates a new instance.
-
-
Method Details
-
getId
Returns the ID of the item.- Returns:
- the ID of the item
-
getTitle
Returns the title of the item.- Returns:
- the title of the item
-
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
Returns the ID of the parent item.- Returns:
- the ID of the parent item
-
getItemType
Returns the item type.- Returns:
- the item type
-
getCreated
Returns the date and time that the item was created.- Returns:
- the date and time that the item was created
-
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
Returns the date and time that the item was last modified.- Returns:
- the date and time that the item was last modified
-
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
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
Returns any custom properties set on the item.- Returns:
- any custom properties set on the item
-