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