com.fatwire.cs.ui.model.bo
Class Site

java.lang.Object
  extended by com.fatwire.cs.ui.model.bo.Site
All Implemented Interfaces:
java.io.Serializable

public class Site
extends java.lang.Object
implements java.io.Serializable

This is the data class for representing the content management site.

See Also:
Serialized Form

Constructor Summary
Site()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 java.lang.String getPriviewAsset()
           
 java.util.ArrayList<Role> getUserRoles()
          Gets the type of roles for the users of the site.
 java.lang.String getUserRolesAsString()
          This method returns a comma separated list of roles for the site selection screen This reads from the ArrayList of Role objects and converts them to a string
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Long id)
           
 void setName(java.lang.String name)
           
 void setPriviewAsset(java.lang.String cs_previewasset)
           
 void setUserRoles(java.util.ArrayList<Role> userRoles)
          Sets the type of roles for the users of the site.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Site

public Site()
Method Detail

getUserRoles

public java.util.ArrayList<Role> getUserRoles()
Gets the type of roles for the users of the site.

Returns:
list of roles for assigned users of the site

setUserRoles

public void setUserRoles(java.util.ArrayList<Role> userRoles)
Sets the type of roles for the users of the site.

Parameters:
userRoles - The list of roles for users

getUserRolesAsString

public java.lang.String getUserRolesAsString()
This method returns a comma separated list of roles for the site selection screen This reads from the ArrayList of Role objects and converts them to a string

Returns:

setId

public void setId(java.lang.Long id)

getId

public java.lang.Long getId()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()

setPriviewAsset

public void setPriviewAsset(java.lang.String cs_previewasset)

getPriviewAsset

public java.lang.String getPriviewAsset()


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.