|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.service.cmr.admin.RepoUsage
public class RepoUsage
Bean holding the known or unknown usage values of the repository.
Nested Class Summary | |
---|---|
static class |
RepoUsage.LicenseMode
Enumeration of the server license modes. |
static class |
RepoUsage.UsageType
Enumeration of the common usage types |
Constructor Summary | |
---|---|
RepoUsage(java.lang.Long lastUpdate,
java.lang.Long users,
java.lang.Long documents,
RepoUsage.LicenseMode licenseMode,
java.lang.Long licenseExpiryDate,
boolean readOnly)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Long |
getDocuments()
Get the number of documents or null if not known |
java.lang.Long |
getLastUpdate()
Get the time (ms since epoch) that the repository usage was last updated. |
java.lang.Long |
getLicenseExpiryDate()
Get the server license expiry date. |
RepoUsage.LicenseMode |
getLicenseMode()
Get the server license mode. |
java.lang.Long |
getUsers()
Get the number of users or null if unknown |
boolean |
isReadOnly()
Get the read-write state of the repository |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepoUsage(java.lang.Long lastUpdate, java.lang.Long users, java.lang.Long documents, RepoUsage.LicenseMode licenseMode, java.lang.Long licenseExpiryDate, boolean readOnly)
lastUpdate
- the time the repository usage was last updatedusers
- the number of users or null if not knowndocuments
- the number of documents or null if not knownlicenseMode
- the server license mode in effect at runtimelicenseExpiryDate
- the date that the license expires or null if it doesn'treadOnly
- true if the server is currently read-onlyMethod Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Long getLastUpdate()
public java.lang.Long getUsers()
public java.lang.Long getDocuments()
public RepoUsage.LicenseMode getLicenseMode()
public java.lang.Long getLicenseExpiryDate()
public boolean isReadOnly()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |