Package org.alfresco.rest.api.model
Class NetworkImpl
java.lang.Object
org.alfresco.rest.api.model.NetworkImpl
- All Implemented Interfaces:
Comparable<NetworkImpl>
,Network
Represents a cloud network (account).
- Author:
- steveglover
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkImpl
(String id, Date createdAt, Boolean isEnabled, String subscriptionLevel, Boolean paidNetwork) NetworkImpl
(Network network) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(NetworkImpl network) boolean
Gets the date the account was createdgetId()
Get the account nameGets whether an account is enabled or not.Gets the subscription level.int
hashCode()
toString()
-
Constructor Details
-
NetworkImpl
-
NetworkImpl
-
-
Method Details
-
getId
Get the account name -
getCreatedAt
Gets the date the account was created- Specified by:
getCreatedAt
in interfaceNetwork
- Returns:
- The account creation date
-
getQuotas
-
getIsEnabled
Gets whether an account is enabled or not.- Specified by:
getIsEnabled
in interfaceNetwork
- Returns:
- true = account is enabled, false = account is disabled
-
getSubscriptionLevel
Gets the subscription level.- Specified by:
getSubscriptionLevel
in interfaceNetwork
- Returns:
- ths subscription level
-
getPaidNetwork
- Specified by:
getPaidNetwork
in interfaceNetwork
-
compareTo
- Specified by:
compareTo
in interfaceComparable<NetworkImpl>
-
hashCode
public int hashCode() -
equals
-
toString
-