Class RecycleBinItem
java.lang.Object
com.sas.lsaf.content.repository.recyclebin.RecycleBinItem
- All Implemented Interfaces:
Serializable
The class that represents an item that is in the recycle bin.
- Since:
- 1.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the user who deleted the object.Gets the date on which the object was deleted.getId()Gets the identifier of the deleted object.Gets the date on which the deleted object was last modified.Gets the identifier of the user who last modified the deleted object.getPath()Gets the path to the deleted object.longgetSize()Gets the size (in bytes) of the deleted object.Gets the identifier of the type for the deleted object.inthashCode()toString()
-
Constructor Details
-
RecycleBinItem
public RecycleBinItem(String id, String typeId, String path, String deletedBy, Date deletedDate, long size, String lastModifiedBy, Date lastModified) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the user descriptors returned by the API.- Parameters:
id- The identifier of the deleted object.typeId- The identifier of the type of the deleted object.path- The path to the deleted object.deletedBy- The identifier of the user who deleted the object.deletedDate- The date on which the object was deleted.size- The size (in bytes) of the deleted object.lastModifiedBy- The identifier of the user who last modified the deleted object.lastModified- The date on which the deleted object was last modified.
-
-
Method Details
-
getId
Gets the identifier of the deleted object.- Returns:
- The identifier of the deleted object.
-
getPath
Gets the path to the deleted object.- Returns:
- The path to the deleted object.
-
getDeletedBy
Gets the user who deleted the object.- Returns:
- The identifier of the user who deleted the object.
-
getDeletedDate
Gets the date on which the object was deleted.- Returns:
- The date on which the object was deleted.
-
getTypeId
Gets the identifier of the type for the deleted object.- Returns:
- The identifier of the type for the deleted object.
-
getLastModified
Gets the date on which the deleted object was last modified.- Returns:
- The date on which the deleted object was last modified.
-
getLastModifiedBy
Gets the identifier of the user who last modified the deleted object.- Returns:
- The identifier of the user who last modified the delete object.
-
getSize
public long getSize()Gets the size (in bytes) of the deleted object. The size is available for files only. Containers always return 0.- Returns:
- The size (in bytes) of the deleted object.
-
hashCode
public int hashCode() -
equals
-
toString
-