Class UserSpace
java.lang.Object
com.appiancorp.suiteapi.collaboration.UserSpace
- All Implemented Interfaces:
LocalId
,Serializable
,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
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.getId()
Deprecated.Gets the ID of thisUserSpace
objectDeprecated.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 documentsDeprecated.Gets the amount of space that has been used by the user to store/upload documentsDeprecated.Gets the percentage of the user's total space allocation that is left in the application for storage/uploadsDeprecated.Gets the percentage of the user's total space allocation in rounded figures that is left in the application for storage/uploads.void
Deprecated.Sets the ID of thisUserSpace
objectvoid
setMegaBytesAvailable
(Double megaBytesAvailable) Deprecated.Sets the number of megabytes of space the user has available.void
setMegaBytesUsed
(Long Long) Deprecated.Sets the amount of space that has been used by the user to store/upload documentsvoid
setPercentAvailable
(Double double1) Deprecated.Register the percentage of the user's total space allocation that is left in the application for storage/uploads
-
Constructor Details
-
UserSpace
public UserSpace()Deprecated.
-
-
Method Details
-
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
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
Deprecated.Gets the number of magabytes of total space that the user has. This value should be the sum ofmegaBytesUsed
andmegaBytesFree
.- Returns:
- Returns the megaBytesAvailable.
-
setMegaBytesAvailable
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 valuemegaBytesAvailable - megaBytesUsed
.- Parameters:
megaBytesAvailable
- sets the Total User Space (in megabytes)
-
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
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
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
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
Deprecated.Gets the ID of thisUserSpace
object -
setId
Deprecated.Sets the ID of thisUserSpace
object -
clone
Deprecated.- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-