@Deprecated public class UserSpace extends java.lang.Object implements LocalId, java.lang.Cloneable
This class encapsulates data regarding the physical disk space available to and occupied by a user.
Copyright: Copyright (c) 2002, 2003
Company: Appian Corporation
Constructor and Description |
---|
UserSpace()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Deprecated.
|
java.lang.Long |
getId()
Deprecated.
Gets the ID of this
UserSpace object |
java.lang.Double |
getMegaBytesAvailable()
Deprecated.
Gets the number of magabytes of total space that the user has.
|
java.lang.Long |
getMegaBytesFree()
Deprecated.
Gets the amount of space that is free for the user to store/upload
documents
|
java.lang.Long |
getMegaBytesUsed()
Deprecated.
Gets the amount of space that has been used by the user to store/upload
documents
|
java.lang.Double |
getPercentAvailable()
Deprecated.
Gets the percentage of the user's total space allocation that is left
in the application for storage/uploads
|
java.lang.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.
|
void |
setId(java.lang.Long id)
Deprecated.
Sets the ID of this
UserSpace object |
void |
setMegaBytesAvailable(java.lang.Double megaBytesAvailable)
Deprecated.
Sets the number of megabytes of space the user has available.
|
void |
setMegaBytesUsed(java.lang.Long Long)
Deprecated.
Sets the amount of space that has been used by the user to store/upload
documents
|
void |
setPercentAvailable(java.lang.Double double1)
Deprecated.
Register the percentage of the user's total space allocation that is left
in the application for storage/uploads
|
public java.lang.Long getMegaBytesUsed()
public java.lang.Long getMegaBytesFree()
public java.lang.Double getMegaBytesAvailable()
megaBytesUsed
and megaBytesFree
.public void setMegaBytesAvailable(java.lang.Double megaBytesAvailable)
megaBytesAvailable - megaBytesUsed
.megaBytesAvailable
- sets the Total User Space (in megabytes)public java.lang.Double getPercentAvailable()
public java.lang.Double getRoundedPercentAvailable()
public void setMegaBytesUsed(java.lang.Long Long)
Long
- the amount of space that has been used by the user in Mbytespublic void setPercentAvailable(java.lang.Double double1)
double1
- the percentage availablepublic java.lang.Long getId()
UserSpace
objectgetId
in interface LocalId
UserSpace
objectLocalId.setId(Long)
public void setId(java.lang.Long id)
UserSpace
objectsetId
in interface LocalId
id
- the ID of this UserSpace
objectLocalId.getId()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.