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 TypeMethodDescriptionintcompareTo(NetworkImpl network) booleanGets the date the account was createdgetId()Get the account nameGets whether an account is enabled or not.Gets the subscription level.inthashCode()toString()
-
Constructor Details
-
NetworkImpl
-
NetworkImpl
-
-
Method Details
-
getId
Get the account name -
getCreatedAt
Gets the date the account was created- Specified by:
getCreatedAtin interfaceNetwork- Returns:
- The account creation date
-
getQuotas
-
getIsEnabled
Gets whether an account is enabled or not.- Specified by:
getIsEnabledin interfaceNetwork- Returns:
- true = account is enabled, false = account is disabled
-
getSubscriptionLevel
Gets the subscription level.- Specified by:
getSubscriptionLevelin interfaceNetwork- Returns:
- ths subscription level
-
getPaidNetwork
- Specified by:
getPaidNetworkin interfaceNetwork
-
compareTo
- Specified by:
compareToin interfaceComparable<NetworkImpl>
-
hashCode
public int hashCode() -
equals
-
toString
-