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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.getId()Deprecated.Gets the ID of thisUserSpaceobjectDeprecated.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.voidDeprecated.Sets the ID of thisUserSpaceobjectvoidsetMegaBytesAvailable(Double megaBytesAvailable) Deprecated.Sets the number of megabytes of space the user has available.voidsetMegaBytesUsed(Long Long) Deprecated.Sets the amount of space that has been used by the user to store/upload documentsvoidsetPercentAvailable(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 ofmegaBytesUsedandmegaBytesFree.- 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 thisUserSpaceobject -
setId
Deprecated.Sets the ID of thisUserSpaceobject -
clone
Deprecated.- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-