Interface ISiteable
public interface ISiteable
{
// Methods
public ISite getSite();
public void setSite(ISite site);
}
This interface defines methods that set and retrieve the ISite object that is associated with an ISiteable object.
public ISite getSite();
Retrieves the ISite object for this instance.
Return Value:
Returns the ISite object for this instance. If no ISite object is currently set, null is returned.
public void setSite(ISite site);
Sets the ISite object for this instance. Any references to an existing site or to any services provided through the ISite object are discarded.
For the sake of serialization, the object should mark the field containing this site as "transient."
Return Value:
No return value.
Parameter | Description |
site
| The ISite object for this instance (can be null).
|