org.springframework.social.alfresco.api.entities
Class Network

java.lang.Object
  extended by org.springframework.social.alfresco.api.entities.Network

public class Network
extends Object

A network is the group of users and sites that belong to an organization. Networks are organized by email domain. When a user signs up for an Alfresco account , their email domain becomes their Home Network.

Author:
jottley

Nested Class Summary
static class Network.Quota
           
 
Constructor Summary
Network()
           
 
Method Summary
 Date getCreatedAt()
           
 String getId()
           
 ArrayList<Network.Quota> getQuotas()
           
 String getSubscriptionLevel()
           
 boolean isEnabled()
           
 boolean isHomeNetwork()
           
 boolean isPaidNetwork()
           
 void setCreatedAt(Date createdAt)
          Set the date time this network was created
 void setHomeNetwork(boolean homeNetwork)
          Is this the users home network?
 void setId(String id)
          Set this network's unique id
 void setIsEnabled(boolean enabled)
          Is this network active?
 void setPaidNetwork(boolean paidNetwork)
          Is this a paid network?
 void setQuotas(ArrayList<Network.Quota> quotas)
          Set Limits and usage of each quota.
 void setSubscriptionLevel(String subscriptionLevel)
          Set the type of subscription for this network.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Network

public Network()
Method Detail

setId

public void setId(String id)
Set this network's unique id

Parameters:
id -

setIsEnabled

public void setIsEnabled(boolean enabled)
Is this network active?

Parameters:
enabled -

setHomeNetwork

public void setHomeNetwork(boolean homeNetwork)
Is this the users home network?

Parameters:
homeNetwork -

setCreatedAt

public void setCreatedAt(Date createdAt)
Set the date time this network was created

Parameters:
createdAt -

setQuotas

public void setQuotas(ArrayList<Network.Quota> quotas)
Set Limits and usage of each quota. A network will have quotas for File space, the number of sites in the network, the number of people in the network, and the number of network administrators.

Parameters:
quotas -

setPaidNetwork

public void setPaidNetwork(boolean paidNetwork)
Is this a paid network?

Parameters:
paidNetwork -

setSubscriptionLevel

public void setSubscriptionLevel(String subscriptionLevel)
Set the type of subscription for this network. Possible values are Free, Standard, and Enterprise

Parameters:
subscriptionLevel -

getId

public String getId()
Returns:
This network's unique id

isHomeNetwork

public boolean isHomeNetwork()
Returns:
Is this the users home network

isEnabled

public boolean isEnabled()
Returns:
Is this network active?

getCreatedAt

public Date getCreatedAt()
Returns:
The date time this network was created

getQuotas

public ArrayList<Network.Quota> getQuotas()
Returns:
Limits and usage of each quota. A network will have quotas for File space, the number of sites in the network, the number of people in the network, and the number of network administrators.

isPaidNetwork

public boolean isPaidNetwork()
Returns:
Is this a paid network?

getSubscriptionLevel

public String getSubscriptionLevel()
Returns:
The type of subscription for this network. Possible values are Free, Standard, and Enterprise


Copyright © 2012 Alfresco Software Inc.. All Rights Reserved.