com.sas.hls.recyclebin
Class RecycleBinItem

java.lang.Object
  extended by com.sas.hls.recyclebin.RecycleBinItem
All Implemented Interfaces:
Serializable

public class RecycleBinItem
extends Object
implements Serializable

A data object that represents an item in the recycle bin.

See Also:
Serialized Form

Constructor Summary
RecycleBinItem(String identifier, String objectType, String path, String deletedBy, Date deletedDate, long size, String lastModifiedBy, Date lastModified)
          RecycleBinItem constructor
 
Method Summary
 String getDeletedBy()
          Get the user who deleted this object
 Date getDeletedDate()
          Get the deleted date
 String getIdentifier()
          Get the identifier of this object
 Date getLastModified()
          Get the date this deleted object was last modified
 String getLastModifiedBy()
          Get the userid of the user who last modified this deleted object
 String getObjectType()
          Get the object type of this deleted object
 String getPath()
          Get the path of this object
 long getSize()
          Get the size of this deleted object (in bytes).
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecycleBinItem

public RecycleBinItem(String identifier,
                      String objectType,
                      String path,
                      String deletedBy,
                      Date deletedDate,
                      long size,
                      String lastModifiedBy,
                      Date lastModified)
RecycleBinItem constructor

Parameters:
identifier -
objectType -
path -
deletedBy -
deletedDate -
size -
lastModifiedBy -
lastModified -
Method Detail

getIdentifier

public String getIdentifier()
Get the identifier of this object

Returns:
the identifier

getPath

public String getPath()
Get the path of this object

Returns:
the path

getDeletedBy

public String getDeletedBy()
Get the user who deleted this object

Returns:
the deleted by userid

getDeletedDate

public Date getDeletedDate()
Get the deleted date

Returns:
the deletedDate

getObjectType

public String getObjectType()
Get the object type of this deleted object

Returns:
the object type

getLastModified

public Date getLastModified()
Get the date this deleted object was last modified

Returns:
the last modified date

getLastModifiedBy

public String getLastModifiedBy()
Get the userid of the user who last modified this deleted object

Returns:
the last modified by userid

getSize

public long getSize()
Get the size of this deleted object (in bytes). Size is available for files only. Size is not calculated for containers. Size will always return 0 in that case.

Returns:
the size

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA