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 intcompareTo(PersonNetwork member)booleanequals(Object obj)DategetCreatedAt()Gets the date the account was createdBooleangetHomeNetwork()StringgetId()BooleangetIsEnabled()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()
Description copied from interface:NetworkGets the date the account was created- Specified by:
getCreatedAtin interfaceNetwork- Returns:
- The account creation date
-
getIsEnabled
public Boolean getIsEnabled()
Description copied from interface:NetworkGets whether an account is enabled or not.- Specified by:
getIsEnabledin interfaceNetwork- Returns:
- true = account is enabled, false = account is disabled
-
getSubscriptionLevel
public String getSubscriptionLevel()
Description copied from interface:NetworkGets the subscription level.- Specified by:
getSubscriptionLevelin interfaceNetwork- Returns:
- String
-
getPaidNetwork
public Boolean getPaidNetwork()
- Specified by:
getPaidNetworkin interfaceNetwork
-
compareTo
public int compareTo(PersonNetwork member)
- Specified by:
compareToin interfaceComparable<PersonNetwork>
-
getHomeNetwork
public Boolean getHomeNetwork()
-
-