|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.fatwire.services.beans.BaseBean
com.fatwire.services.beans.entity.SiteBean
public class SiteBean
The SiteBean represents the fundamental entity of the site. A site can exist independently. However, a user can gain access to a site only once roles are assigned to the user for that site. Both the name and the numeric id of a site can serve as unique identifiers. The SiteBean also provides the following information:
Constructor Summary | |
---|---|
SiteBean() Default Constructor. |
|
SiteBean(long id) Overloaded constructor which sets the identifier for the site. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription() Returns the description of this site. |
long |
getId() Returns the numeric identifier for this site. |
java.lang.String |
getName() Returns the name of this site. |
AssetId |
getPreviewAsset() Returns the asset identifier for the default asset configured for preview of this site. |
int |
hashCode() |
void |
setDescription(java.lang.String description) Sets the description for this site. |
void |
setId(long id) Sets the numeric identifier for this site. |
void |
setName(java.lang.String name) Sets the name of this site. |
void |
setPreviewAsset(AssetId previewAsset) Sets the asset identifier for the default asset configured for preview of this site. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiteBean()
public SiteBean(long id)
id
- the identifier to set.Method Detail |
---|
public void setId(long id)
id
- the identifier to set for this site.public long getId()
public void setName(java.lang.String name)
name
- the name of this site to set.public java.lang.String getName()
public void setDescription(java.lang.String description)
description
- the description of this site to set.public java.lang.String getDescription()
public void setPreviewAsset(AssetId previewAsset)
previewAsset
- the asset identifier to set.public AssetId getPreviewAsset()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.