Class UserSpace

java.lang.Object
com.appiancorp.suiteapi.collaboration.UserSpace
All Implemented Interfaces:
LocalId, Serializable, Cloneable

@Deprecated public class UserSpace extends Object implements LocalId, Cloneable
Deprecated.

This class encapsulates data regarding the physical disk space available to and occupied by a user.

Copyright: Copyright (c) 2002, 2003

Company: Appian Corporation

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    Deprecated.
    Gets the ID of this UserSpace object
    Deprecated.
    Gets the number of magabytes of total space that the user has.
    Deprecated.
    Gets the amount of space that is free for the user to store/upload documents
    Deprecated.
    Gets the amount of space that has been used by the user to store/upload documents
    Deprecated.
    Gets the percentage of the user's total space allocation that is left in the application for storage/uploads
    Deprecated.
    Gets the percentage of the user's total space allocation in rounded figures that is left in the application for storage/uploads.
    void
    setId(Long id)
    Deprecated.
    Sets the ID of this UserSpace object
    void
    setMegaBytesAvailable(Double megaBytesAvailable)
    Deprecated.
    Sets the number of megabytes of space the user has available.
    void
    Deprecated.
    Sets the amount of space that has been used by the user to store/upload documents
    void
    Deprecated.
    Register the percentage of the user's total space allocation that is left in the application for storage/uploads

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserSpace

      public UserSpace()
      Deprecated.
  • Method Details

    • getMegaBytesUsed

      public Long getMegaBytesUsed()
      Deprecated.
      Gets the amount of space that has been used by the user to store/upload documents
      Returns:
      the amount of space that has been used by the user in Mbytes
    • getMegaBytesFree

      public Long getMegaBytesFree()
      Deprecated.
      Gets the amount of space that is free for the user to store/upload documents
      Returns:
      the amount of space that is free for the user in Mbytes
    • getMegaBytesAvailable

      public Double getMegaBytesAvailable()
      Deprecated.
      Gets the number of magabytes of total space that the user has. This value should be the sum of megaBytesUsed and megaBytesFree.
      Returns:
      Returns the megaBytesAvailable.
    • setMegaBytesAvailable

      public void setMegaBytesAvailable(Double megaBytesAvailable)
      Deprecated.
      Sets the number of megabytes of space the user has available. After this method call is invoked, the user's free space is reset to the new value megaBytesAvailable - megaBytesUsed.
      Parameters:
      megaBytesAvailable - sets the Total User Space (in megabytes)
    • getPercentAvailable

      public Double getPercentAvailable()
      Deprecated.
      Gets the percentage of the user's total space allocation that is left in the application for storage/uploads
      Returns:
      the pecentage available
    • getRoundedPercentAvailable

      public Double getRoundedPercentAvailable()
      Deprecated.
      Gets the percentage of the user's total space allocation in rounded figures that is left in the application for storage/uploads. Rounding it makes it easier to represent graphically
      Returns:
      the pecentage available
    • setMegaBytesUsed

      public void setMegaBytesUsed(Long Long)
      Deprecated.
      Sets the amount of space that has been used by the user to store/upload documents
      Parameters:
      Long - the amount of space that has been used by the user in Mbytes
    • setPercentAvailable

      public void setPercentAvailable(Double double1)
      Deprecated.
      Register the percentage of the user's total space allocation that is left in the application for storage/uploads
      Parameters:
      double1 - the percentage available
    • getId

      public Long getId()
      Deprecated.
      Gets the ID of this UserSpace object
      Specified by:
      getId in interface LocalId
      Returns:
      the ID of this UserSpace object
      See Also:
    • setId

      public void setId(Long id)
      Deprecated.
      Sets the ID of this UserSpace object
      Specified by:
      setId in interface LocalId
      Parameters:
      id - the ID of this UserSpace object
      See Also:
    • clone

      public Object clone() throws CloneNotSupportedException
      Deprecated.
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException