public class CloudNetworkImpl extends Object implements CloudNetwork
Constructor and Description |
---|
CloudNetworkImpl() |
Modifier and Type | Method and Description |
---|---|
GregorianCalendar |
getCreatedAt()
Returns the time this network was created.
|
String |
getIdentifier()
Returns the identifier of the network.
|
String |
getSubscriptionLevel()
Returns the subscription level of of the network, will be one of “Free”,
“Standard” or “Enterprise”.
|
Boolean |
isEnabled()
Deprecated.
: This method may be removed after the implementation of
defaultNetwork in PublicAPI. Cf. MOBSDK-506.
|
boolean |
isHomeNetwork()
Returns true if this is the current users home network.
|
boolean |
isPaidNetwork()
Returns true if this network is a “paid for” account.
|
static CloudNetworkImpl |
parsePublicAPIJson(Map<String,Object> json)
Parse a public API Response to create a CloudNetwork object.
|
public static CloudNetworkImpl parsePublicAPIJson(Map<String,Object> json)
json
- : JsonResponse from the Public APIpublic String getIdentifier()
getIdentifier
in interface CloudNetwork
public String getSubscriptionLevel()
getSubscriptionLevel
in interface CloudNetwork
public boolean isPaidNetwork()
isPaidNetwork
in interface CloudNetwork
public boolean isHomeNetwork()
isHomeNetwork
in interface CloudNetwork
public GregorianCalendar getCreatedAt()
getCreatedAt
in interface CloudNetwork
@Deprecated public Boolean isEnabled()
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.