Java Doc for PingTargetData.java in  » Blogger-System » apache-roller-3.1 » org » apache » roller » pojos » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Blogger System » apache roller 3.1 » org.apache.roller.pojos 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.roller.pojos.PersistentObject
      org.apache.roller.pojos.PingTargetData

PingTargetData
public class PingTargetData extends PersistentObject implements Serializable(Code)
Ping target. Each instance represents a possible target of a weblog update ping that we send. Ping targets are either common (defined centrally by an administrator and used by any website), or custom (defined by the user of a specific website) for update pings issued for that website.
author:
   Anil Gangolli


Field Summary
final public static  intCONDITION_DISABLED
    
final public static  intCONDITION_FAILING
    
final public static  intCONDITION_OK
    
final public static  longserialVersionUID
    

Constructor Summary
public  PingTargetData()
     Default empty constructor.
public  PingTargetData(String id, String name, String pingUrl, WebsiteData website, boolean autoEnable)
     Constructor.

Method Summary
public  booleanequals(Object o)
    
public  intgetConditionCode()
     Get the condition code value.
public  java.lang.StringgetId()
     Get the unique id of this ping target.
public  TimestampgetLastSuccess()
     Get the timestamp of the last successful ping (UTC/GMT).
public  java.lang.StringgetName()
     get the name of this ping target.
public  StringgetPingUrl()
     Get the URL to ping.
public  WebsiteDatagetWebsite()
     Get the website (on this server) for which this ping target is a custom target.
public  inthashCode()
    
public  booleanisAutoEnabled()
     Is this ping target enabled by default for new weblogs? true if ping target is auto enabled.
public  voidsetAutoEnabled(boolean autoEnabled)
     Set the auto enabled status for this ping target.
public  voidsetConditionCode(int conditionCode)
     Set the condition code value.
public  voidsetData(PersistentObject vo)
    
public  voidsetId(java.lang.String id)
    
public  voidsetLastSuccess(Timestamp lastSuccess)
     Set the timestamp of the last successful ping.
public  voidsetName(java.lang.String name)
     Set the name of this ping target.
public  voidsetPingUrl(String pingUrl)
     Set the URL to ping.
public  voidsetWebsite(WebsiteData website)
     Set the website (on this server) for which this ping target is a custom target.
public  StringtoString()
     Generate a string form of the object appropriate for logging or debugging.

Field Detail
CONDITION_DISABLED
final public static int CONDITION_DISABLED(Code)



CONDITION_FAILING
final public static int CONDITION_FAILING(Code)



CONDITION_OK
final public static int CONDITION_OK(Code)



serialVersionUID
final public static long serialVersionUID(Code)




Constructor Detail
PingTargetData
public PingTargetData()(Code)
Default empty constructor.



PingTargetData
public PingTargetData(String id, String name, String pingUrl, WebsiteData website, boolean autoEnable)(Code)
Constructor.
Parameters:
  id - the id (primary key) of this target
Parameters:
  name - the descriptive name of this target
Parameters:
  pingUrl - the URL to which to send the ping
Parameters:
  website - the website (on this server) for which this is a custom ping target (may be null)




Method Detail
equals
public boolean equals(Object o)(Code)

See Also:   java.lang.Object.equals(Object o)



getConditionCode
public int getConditionCode()(Code)
Get the condition code value. This code, in combination with the last success timestamp, provides a status indicator on the ping target based on its usage by the ping queue processor. It can be used to implement a failure-based disabling policy. one of the condition codes PingTargetData.CONDITION_OK, PingTargetData.CONDITION_FAILING, PingTargetData.CONDITION_DISABLED.



getId
public java.lang.String getId()(Code)
Get the unique id of this ping target. the unique id of this ping target.



getLastSuccess
public Timestamp getLastSuccess()(Code)
Get the timestamp of the last successful ping (UTC/GMT). the timestamp of the last successful ping; null if the target has not yet been used.



getName
public java.lang.String getName()(Code)
get the name of this ping target. This is a name assigned by the administrator or a user (for custom) targets. It is deescriptive and is not necessarily unique. the name of this ping target



getPingUrl
public String getPingUrl()(Code)
Get the URL to ping. the URL to ping.



getWebsite
public WebsiteData getWebsite()(Code)
Get the website (on this server) for which this ping target is a custom target. This may be null, indicating that it is a common ping target, not a custom one. the website for which this ping target is a custom target, or null if this ping target is not a customtarget.



hashCode
public int hashCode()(Code)

See Also:   java.lang.Object.hashCode



isAutoEnabled
public boolean isAutoEnabled()(Code)
Is this ping target enabled by default for new weblogs? true if ping target is auto enabled. false otherwise.



setAutoEnabled
public void setAutoEnabled(boolean autoEnabled)(Code)
Set the auto enabled status for this ping target. This field only applies for common ping targets.
Parameters:
  autoEnabled - true if the ping target should be auto enabled.



setConditionCode
public void setConditionCode(int conditionCode)(Code)
Set the condition code value.
Parameters:
  conditionCode - the condition code value to set



setData
public void setData(PersistentObject vo)(Code)
Setter needed by RollerImpl.storePersistentObject()



setId
public void setId(java.lang.String id)(Code)
Set the unique id of this ping target
Parameters:
  id -



setLastSuccess
public void setLastSuccess(Timestamp lastSuccess)(Code)
Set the timestamp of the last successful ping.
Parameters:
  lastSuccess - the timestamp of the last successful ping.



setName
public void setName(java.lang.String name)(Code)
Set the name of this ping target.
Parameters:
  name - the name of this ping target



setPingUrl
public void setPingUrl(String pingUrl)(Code)
Set the URL to ping.
Parameters:
  pingUrl -



setWebsite
public void setWebsite(WebsiteData website)(Code)
Set the website (on this server) for which this ping target is a custom target.
Parameters:
  website - the website for which this ping target is a custom target, or null if this ping target is not acustom target



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:   java.lang.Object.toString



Methods inherited from org.apache.roller.pojos.PersistentObject
public boolean equals(Object o)(Code)(Java Doc)
abstract public String getId()(Code)(Java Doc)
abstract public void setData(PersistentObject obj)(Code)(Java Doc)
abstract public void setId(String id)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.