Package com.ms.object
 In this topic

*Methods

 

Packages
  PreviousThis PackageNext
Package com.ms.object   Previous This
Package
Next

 


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.

Methods

getSite

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.

setSite

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.

ParameterDescription
site The ISite object for this instance (can be null).

upnrm.gif