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 intcompareTo(NetworkImpl network)booleanequals(Object obj)DategetCreatedAt()Gets the date the account was createdStringgetId()Get the account nameBooleangetIsEnabled()Gets whether an account is enabled or not.BooleangetPaidNetwork()List<Quota>getQuotas()StringgetSubscriptionLevel()Gets the subscription level.inthashCode()StringtoString()
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the date the account was created- Specified by:
getCreatedAtin interfaceNetwork- Returns:
- The account creation date
-
getIsEnabled
public Boolean getIsEnabled()
Gets whether an account is enabled or not.- Specified by:
getIsEnabledin interfaceNetwork- Returns:
- true = account is enabled, false = account is disabled
-
getSubscriptionLevel
public String getSubscriptionLevel()
Gets the subscription level.- Specified by:
getSubscriptionLevelin interfaceNetwork- Returns:
- ths subscription level
-
getPaidNetwork
public Boolean getPaidNetwork()
- Specified by:
getPaidNetworkin interfaceNetwork
-
compareTo
public int compareTo(NetworkImpl network)
- Specified by:
compareToin interfaceComparable<NetworkImpl>
-
-