Java Doc for BaseResourceProperties.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » util » 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 » ERP CRM Financial » sakai » org.sakaiproject.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.util.BaseResourceProperties

All known Subclasses:   org.sakaiproject.util.BaseResourcePropertiesEdit,
BaseResourceProperties
public class BaseResourceProperties implements ResourceProperties(Code)

BaseResourceProperties is the base class for ResourceProperties implementations.



Field Summary
protected transient  booleanm_lazy
     If the full properties have not yet been read.
protected  Hashtablem_props
     The hashtable of properties.

Constructor Summary
public  BaseResourceProperties()
     Construct.
public  BaseResourceProperties(Element el)
     Construct from XML.

Method Summary
public  voidaddAll(ResourceProperties other)
     Add all the properties from the other ResourceProperties object.
public  voidaddAll(Properties props)
     Add all the properties from the Properties object.
public  voidaddProperty(String name, String value)
     Add a single valued property.
public  voidaddPropertyToList(String name, String value)
     Add a value to a multi-valued property.
public  voidclear()
     Remove all properties.
public  Objectget(String name)
    
public  booleangetBooleanProperty(String name)
     Access a named property as a boolean.
Parameters:
  name - The property name.
public  longgetLongProperty(String name)
     Access a named property as a long.
Parameters:
  name - The property name.
public  StringgetNamePropAssignmentDeleted()
    
public  StringgetNamePropCalendarLocation()
    
public  StringgetNamePropCalendarType()
    
public  StringgetNamePropChatRoom()
    
public  StringgetNamePropCollectionBodyQuota()
    
public  StringgetNamePropContentLength()
    
public  StringgetNamePropContentType()
    
public  StringgetNamePropCopyright()
    
public  StringgetNamePropCopyrightAlert()
    
public  StringgetNamePropCopyrightChoice()
    
public  StringgetNamePropCreationDate()
    
public  StringgetNamePropCreator()
    
public  StringgetNamePropDescription()
    
public  StringgetNamePropDisplayName()
    
public  StringgetNamePropIsCollection()
    
public  StringgetNamePropModifiedBy()
    
public  StringgetNamePropModifiedDate()
    
public  StringgetNamePropNewAssignmentCheckAddDueDate()
    
public  StringgetNamePropNewAssignmentCheckAutoAnnounce()
    
public  StringgetNamePropReplyStyle()
    
public  StringgetNamePropStructObjType()
    
public  StringgetNamePropSubmissionPreviousFeedbackComment()
    
public  StringgetNamePropSubmissionPreviousFeedbackText()
    
public  StringgetNamePropSubmissionPreviousGrades()
    
public  StringgetNamePropSubmissionScaledPreviousGrades()
    
public  StringgetNamePropTo()
    
public  StringgetProperty(String name)
     Access a named property as a string (won't find multi-valued ones.)
Parameters:
  name - The property name.
public  StringgetPropertyFormatted(String name)
     Access a named property as a properly formatted string.
Parameters:
  name - The property name.
public  ListgetPropertyList(String name)
     Access a named property as a List of (String), good for single or multi-valued properties.
Parameters:
  name - The property name.
public  IteratorgetPropertyNames()
     Access an iterator on the names of the defined properties (Strings).
public  TimegetTimeProperty(String name)
     Access a named property as a Time.
Parameters:
  name - The property name.
public  StringgetTypeUrl()
    
public  UsergetUserProperty(String name)
     Access a named property as a User.
Parameters:
  name - The property name.
public  booleanisLazy()
    
public  booleanisLiveProperty(String name)
     Check if a named property is a live one (auto updated).
Parameters:
  name - The property name.
public  voidremoveProperty(String name)
     Remove a property.
public  voidset(ResourceProperties props)
     Take all values from this object.
public  voidsetLazy(boolean lazy)
    
public  ElementtoXml(Document doc, Stack stack)
     Serialize the resource into XML, adding an element to the doc under the top of the stack element.
Parameters:
  doc - The DOM doc to contain the XML (or null for a string return).
Parameters:
  stack - The DOM elements, the top of which is the containing element of the new "resource" element.

Field Detail
m_lazy
protected transient boolean m_lazy(Code)
If the full properties have not yet been read.



m_props
protected Hashtable m_props(Code)
The hashtable of properties.




Constructor Detail
BaseResourceProperties
public BaseResourceProperties()(Code)
Construct.



BaseResourceProperties
public BaseResourceProperties(Element el)(Code)
Construct from XML.
Parameters:
  el - The XML DOM element.




Method Detail
addAll
public void addAll(ResourceProperties other)(Code)
Add all the properties from the other ResourceProperties object.
Parameters:
  other - The ResourceProperties to add.



addAll
public void addAll(Properties props)(Code)
Add all the properties from the Properties object.
Parameters:
  props - The Properties to add.



addProperty
public void addProperty(String name, String value)(Code)
Add a single valued property.
Parameters:
  name - The property name.
Parameters:
  value - The property value.



addPropertyToList
public void addPropertyToList(String name, String value)(Code)
Add a value to a multi-valued property.
Parameters:
  name - The property name.
Parameters:
  value - The property value.



clear
public void clear()(Code)
Remove all properties.



get
public Object get(String name)(Code)



getBooleanProperty
public boolean getBooleanProperty(String name) throws EntityPropertyNotDefinedException, EntityPropertyTypeException(Code)
Access a named property as a boolean.
Parameters:
  name - The property name. the property value.
exception:
  EmptyException - if not found.
exception:
  TypeException - if the property is found but not a boolean.



getLongProperty
public long getLongProperty(String name) throws EntityPropertyNotDefinedException, EntityPropertyTypeException(Code)
Access a named property as a long.
Parameters:
  name - The property name. the property value.
exception:
  EmptyException - if not found.
exception:
  TypeException - if the property is found but not a long.



getNamePropAssignmentDeleted
public String getNamePropAssignmentDeleted()(Code)
Get the static String of PROP_ASSIGNMENT_DELETED The static String of PROP_ASSIGNMENT_DELETED



getNamePropCalendarLocation
public String getNamePropCalendarLocation()(Code)
Get the static String of PROP_CALENDAR_LOCATION The static String of PROP_CALENDAR_LOCATION



getNamePropCalendarType
public String getNamePropCalendarType()(Code)
Get the static String of PROP_CALENDAR_TYPE The static String of PROP_CALENDAR_TYPE



getNamePropChatRoom
public String getNamePropChatRoom()(Code)
Get the static String of PROP_CHAT_ROOM The static String of PROP_CHAT_ROOM



getNamePropCollectionBodyQuota
public String getNamePropCollectionBodyQuota()(Code)
Get the static String of PROP_COLLECTION_BODY_QUOTA The static String of PROP_COLLECTION_BODY_QUOTA



getNamePropContentLength
public String getNamePropContentLength()(Code)
Get the static String of PROP_CONTENT_LENGTH The static String of PROP_CONTENT_LENGTH



getNamePropContentType
public String getNamePropContentType()(Code)
Get the static String of PROP_CONTENT_TYPE The static String of PROP_CONTENT_TYPE



getNamePropCopyright
public String getNamePropCopyright()(Code)
Get the static String of PROP_COPYRIGHT The static String of PROP_COPYRIGHT



getNamePropCopyrightAlert
public String getNamePropCopyrightAlert()(Code)
Get the static String of PROP_COPYRIGHT_ALERT The static String of PROP_COPYRIGHT_ALERT



getNamePropCopyrightChoice
public String getNamePropCopyrightChoice()(Code)
Get the static String of PROP_COPYRIGHT_CHOICE The static String of PROP_COPYRIGHT_CHOICE



getNamePropCreationDate
public String getNamePropCreationDate()(Code)
Get the static String of PROP_CREATION_DATE The static String of PROP_CREATION_DATE



getNamePropCreator
public String getNamePropCreator()(Code)
Get the static String of PROP_CREATOR The static String of PROP_CREATOR



getNamePropDescription
public String getNamePropDescription()(Code)
Get the static String of PROP_DESCRIPTION The static String of PROP_DESCRIPTION



getNamePropDisplayName
public String getNamePropDisplayName()(Code)
Get the static String of PROP_DISPLAY_NAME The static String of PROP_DISPLAY_NAME



getNamePropIsCollection
public String getNamePropIsCollection()(Code)
Get the static String of PROP_IS_COLLECTION The static String of PROP_IS_COLLECTION



getNamePropModifiedBy
public String getNamePropModifiedBy()(Code)
Get the static String of PROP_MODIFIED_BY The static String of PROP_MODIFIED_BY



getNamePropModifiedDate
public String getNamePropModifiedDate()(Code)
Get the static String of PROP_MODIFIED_DATE The static String of PROP_MODIFIED_DATE



getNamePropNewAssignmentCheckAddDueDate
public String getNamePropNewAssignmentCheckAddDueDate()(Code)
Get the static String of NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE The static String of NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE



getNamePropNewAssignmentCheckAutoAnnounce
public String getNamePropNewAssignmentCheckAutoAnnounce()(Code)
Get the static String of NEW_ASSIGNMENT_CHECK_AUTO_ANNOUNCE The static String of NEW_ASSIGNMENT_CHECK_AUTO_ANNOUNCE



getNamePropReplyStyle
public String getNamePropReplyStyle()(Code)
Get the static String of PROP_REPLY_STYLE The static String of PROP_REPLY_STYLE



getNamePropStructObjType
public String getNamePropStructObjType()(Code)
Get the static String of PROP_STRUCTOBJ_TYPE The static String of PROP_STRUCTOBJ_TYPE



getNamePropSubmissionPreviousFeedbackComment
public String getNamePropSubmissionPreviousFeedbackComment()(Code)
Get the static String of PROP_SUBMISSION_PREVIOUS_FEEDBACK_COMMENT The static String of PROP_SUBMISSION_PREVIOUS_FEEDBACK_COMMENT



getNamePropSubmissionPreviousFeedbackText
public String getNamePropSubmissionPreviousFeedbackText()(Code)
Get the static String of PROP_SUBMISSION_PREVIOUS_FEEDBACK_TEXT The static String of PROP_SUBMISSION_PREVIOUS_FEEDBACK_TEXT



getNamePropSubmissionPreviousGrades
public String getNamePropSubmissionPreviousGrades()(Code)
Get the static String of PROP_SUBMISSION_PREVIOUS_GRADES The static String of PROP_SUBMISSION_PREVIOUS_GRADES



getNamePropSubmissionScaledPreviousGrades
public String getNamePropSubmissionScaledPreviousGrades()(Code)
Get the static String of PROP_SUBMISSION_SCALED_PREVIOUS_GRADES The static String of PROP_SUBMISSION_SCALED_PREVIOUS_GRADES



getNamePropTo
public String getNamePropTo()(Code)
Get the static String of PROP_TO The static String of PROP_TO



getProperty
public String getProperty(String name)(Code)
Access a named property as a string (won't find multi-valued ones.)
Parameters:
  name - The property name. the property value, or null if not found.



getPropertyFormatted
public String getPropertyFormatted(String name)(Code)
Access a named property as a properly formatted string.
Parameters:
  name - The property name. the property value, or an empty string if not found.



getPropertyList
public List getPropertyList(String name)(Code)
Access a named property as a List of (String), good for single or multi-valued properties.
Parameters:
  name - The property name. the property value, or null if not found.



getPropertyNames
public Iterator getPropertyNames()(Code)
Access an iterator on the names of the defined properties (Strings). An iterator on the names of the defined properties (Strings) (may be empty).



getTimeProperty
public Time getTimeProperty(String name) throws EntityPropertyNotDefinedException, EntityPropertyTypeException(Code)
Access a named property as a Time.
Parameters:
  name - The property name. the property value
exception:
  EmptyException - if not found.
exception:
  TypeException - if the property is found but not a Time.



getTypeUrl
public String getTypeUrl()(Code)
Get the static String of TYPE_URL The static String of TYPE_URL



getUserProperty
public User getUserProperty(String name) throws EntityPropertyNotDefinedException, EntityPropertyTypeException(Code)
Access a named property as a User.
Parameters:
  name - The property name. the property value
exception:
  EmptyException - if not found.
exception:
  TypeException - if the property is found but not a User.



isLazy
public boolean isLazy()(Code)



isLiveProperty
public boolean isLiveProperty(String name)(Code)
Check if a named property is a live one (auto updated).
Parameters:
  name - The property name. True if the property is a live one, false if not.



removeProperty
public void removeProperty(String name)(Code)
Remove a property.
Parameters:
  name - The property name.



set
public void set(ResourceProperties props)(Code)
Take all values from this object.
Parameters:
  user - The ResourceProperties object to take values from.



setLazy
public void setLazy(boolean lazy)(Code)



toXml
public Element toXml(Document doc, Stack stack)(Code)
Serialize the resource into XML, adding an element to the doc under the top of the stack element.
Parameters:
  doc - The DOM doc to contain the XML (or null for a string return).
Parameters:
  stack - The DOM elements, the top of which is the containing element of the new "resource" element. The newly added element.



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.