Package org.alfresco.rest.api.model
Class PersonNetwork
- java.lang.Object
-
- org.alfresco.rest.api.model.PersonNetwork
-
- All Implemented Interfaces:
Comparable<PersonNetwork>
,Network
public class PersonNetwork extends Object implements Network, Comparable<PersonNetwork>
Represents network membership.- Author:
- steveglover
-
-
Constructor Summary
Constructors Constructor Description PersonNetwork()
PersonNetwork(Boolean homeNetwork, Network network)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PersonNetwork member)
boolean
equals(Object obj)
Date
getCreatedAt()
Gets the date the account was createdBoolean
getHomeNetwork()
String
getId()
Boolean
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()
Description copied from interface:Network
Gets the date the account was created- Specified by:
getCreatedAt
in interfaceNetwork
- Returns:
- The account creation date
-
getIsEnabled
public Boolean getIsEnabled()
Description copied from interface:Network
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()
Description copied from interface:Network
Gets the subscription level.- Specified by:
getSubscriptionLevel
in interfaceNetwork
- Returns:
- String
-
getPaidNetwork
public Boolean getPaidNetwork()
- Specified by:
getPaidNetwork
in interfaceNetwork
-
compareTo
public int compareTo(PersonNetwork member)
- Specified by:
compareTo
in interfaceComparable<PersonNetwork>
-
getHomeNetwork
public Boolean getHomeNetwork()
-
-