| |
|
| java.lang.Object org.apache.roller.pojos.PersistentObject org.apache.roller.pojos.AutoPingData
AutoPingData | public class AutoPingData extends PersistentObject implements Serializable(Code) | | Automatic ping configuration. An instance of this class relates a website and ping target; it indicates that the specified
ping target should be pinged when the corresponding website is changed. Pinging can be restricted to changes to
specific categories on the website by instances of the
PingCategoryRestrictionData object. In the absence of
any category restrictions, the ping target is pinged whenever the corresponding website changes.
author: Anil Gangolli |
serialVersionUID | final public static long serialVersionUID(Code) | | |
AutoPingData | public AutoPingData()(Code) | | Default constructor. Leaves all fields null. Required for bean compliance.
|
AutoPingData | public AutoPingData(String id, PingTargetData pingtarget, WebsiteData website)(Code) | | Constructor.
Parameters: id - unique id (primary key) for this instance Parameters: pingtarget - ping target that should be pinged Parameters: website - website to which this configuration applies |
getId | public String getId()(Code) | | Get the unique id (primary key) of this object.
the unique id of this object. -- struts.validator type="required" msgkey="errors.required" |
getPingTarget | public PingTargetData getPingTarget()(Code) | | Get the ping target. Get the target to be pinged when the corresponding website changes.
the target to be pinged. |
getWebsite | public WebsiteData getWebsite()(Code) | | Get the website. Get the website whose changes should result in a ping to the ping target specified by this
object.
the website. |
setId | public void setId(String id)(Code) | | Set the unique id (primary key) of this object
Parameters: id - |
setPingTarget | public void setPingTarget(PingTargetData pingtarget)(Code) | | Set the ping target. Set the target to be pinged when the corresponding website changes.
Parameters: pingtarget - the target to be pinged. |
setWebsite | public void setWebsite(WebsiteData website)(Code) | | Set the website. Set the website whose changes should result in a ping to the ping target specified by this
object.
Parameters: website - the website. |
toString | public String toString()(Code) | | Generate a string form of the object appropriate for logging or debugging.
a string form of the object appropriate for logging or debugging. See Also: Object.toString |
|
|
|