Java Doc for FieldType.java in  » Content-Management-System » daisy » org » outerj » daisy » repository » schema » 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 » Content Management System » daisy » org.outerj.daisy.repository.schema 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.outerj.daisy.repository.schema.FieldType

All known Subclasses:   org.outerj.daisy.repository.commonimpl.schema.FieldTypeImpl,  org.outerj.daisy.repository.commonimpl.schema.FieldTypeWrapper,
FieldType
public interface FieldType extends DescriptionEnabled,LabelEnabled(Code)
Describes a type of field in the repository.

Instances are retrieved from RepositorySchema .

The equals method for FieldType is supported, two field types are equal if all their defining data is equal, with exception of the ID.





Method Summary
 voidclearSelectionList()
     Clears(removes) the SelectionList for this FieldType.
 HierarchicalQuerySelectionListcreateHierarchicalQuerySelectionList(String whereClause, String[] fieldTypeNames, boolean filterVariants)
    
 LinkQuerySelectionListcreateLinkQuerySelectionList(String whereClause, boolean filterVariants)
     Creates and returns a LinkQuerySelectionList.
 ParentLinkedSelectionListcreateParentLinkedSelectionList(String whereClause, String linkFieldName, boolean filterVariants)
    
 QuerySelectionListcreateQuerySelectionList(String query, boolean filterVariants, SortOrder sortOrder)
     Creates and returns a QuerySelectionList.
 StaticSelectionListcreateStaticSelectionList()
     Creates and returns a StaticSelectionList.
 booleangetAllowFreeEntry()
    
 ExpSelectionListDocumentgetExpandedSelectionListXml(long branchId, long languageId, Locale locale)
     Returns the content of the selection list as XML.
 longgetId()
    
 DategetLastModified()
     When was this PartType last changed (persistently).
 longgetLastModifier()
     Who (which user) last changed this PartType (persistently).
 booleangetLoadSelectionListAsync()
    
 StringgetName()
    
 SelectionListgetSelectionList()
     Returns the SelectionList for this FieldType if one has been defined, null if no SelectionList had been defined (i.e.
 intgetSize()
    
 longgetUpdateCount()
    
 ValueTypegetValueType()
    
 FieldTypeDocumentgetXml()
    
 booleanhasSelectionList()
    
 booleanisAclAllowed()
     Indicates whether fields of this type can be used in object expressions of ACL rules.
 booleanisDeprecated()
    
 booleanisHierarchical()
    
 booleanisMultiValue()
    
 booleanisPrimitive()
     Returns true if the values of fields of this field type are simple objects, rather than more complex objects, which is the case for multivalue and/or hierarchical fields.
 voidsave()
    
 voidsetAclAllowed(boolean aclAllowed)
    
 voidsetAllFromXml(FieldTypeDocument.FieldType fieldTypeXml)
    
 voidsetAllowFreeEntry(boolean allowFreeEntry)
     When a field type has a selection list, should the user also be able to enter other values then those available in the selection list?

Note that in either case, it is not checked whether the fields' value occurs in the selection list.

 voidsetDeprecated(boolean deprecated)
    
 voidsetLoadSelectionListAsync(boolean loadAsync)
    
 voidsetName(String name)
    
 voidsetSize(int size)
     Sets the size of this FieldType.



Method Detail
clearSelectionList
void clearSelectionList()(Code)
Clears(removes) the SelectionList for this FieldType.



createHierarchicalQuerySelectionList
HierarchicalQuerySelectionList createHierarchicalQuerySelectionList(String whereClause, String[] fieldTypeNames, boolean filterVariants)(Code)



createLinkQuerySelectionList
LinkQuerySelectionList createLinkQuerySelectionList(String whereClause, boolean filterVariants)(Code)
Creates and returns a LinkQuerySelectionList. The selection list automatically becomse the selection list of this field type.

This only works for link-type fields.




createParentLinkedSelectionList
ParentLinkedSelectionList createParentLinkedSelectionList(String whereClause, String linkFieldName, boolean filterVariants)(Code)



createQuerySelectionList
QuerySelectionList createQuerySelectionList(String query, boolean filterVariants, SortOrder sortOrder)(Code)
Creates and returns a QuerySelectionList. The selection list automatically becomse the selection list of this field type.



createStaticSelectionList
StaticSelectionList createStaticSelectionList()(Code)
Creates and returns a StaticSelectionList. The selection list automatically becomse the selection list of this field type.



getAllowFreeEntry
boolean getAllowFreeEntry()(Code)



getExpandedSelectionListXml
ExpSelectionListDocument getExpandedSelectionListXml(long branchId, long languageId, Locale locale)(Code)
Returns the content of the selection list as XML. Returns null if there is no selection list.



getId
long getId()(Code)



getLastModified
Date getLastModified()(Code)
When was this PartType last changed (persistently). Returns null on newly created FieldTypes.



getLastModifier
long getLastModifier()(Code)
Who (which user) last changed this PartType (persistently). Returns -1 on newly created FieldTypes.



getLoadSelectionListAsync
boolean getLoadSelectionListAsync()(Code)



getName
String getName()(Code)



getSelectionList
SelectionList getSelectionList()(Code)
Returns the SelectionList for this FieldType if one has been defined, null if no SelectionList had been defined (i.e. not set for this FieldType using the setSelectionList(SelectionList selectionList) method).



getSize
int getSize()(Code)



getUpdateCount
long getUpdateCount()(Code)



getValueType
ValueType getValueType()(Code)



getXml
FieldTypeDocument getXml()(Code)



hasSelectionList
boolean hasSelectionList()(Code)



isAclAllowed
boolean isAclAllowed()(Code)
Indicates whether fields of this type can be used in object expressions of ACL rules. When fields can be used in ACL object expressions, this means that changing the value of such as field can influence the result of the ACL.



isDeprecated
boolean isDeprecated()(Code)



isHierarchical
boolean isHierarchical()(Code)



isMultiValue
boolean isMultiValue()(Code)



isPrimitive
boolean isPrimitive()(Code)
Returns true if the values of fields of this field type are simple objects, rather than more complex objects, which is the case for multivalue and/or hierarchical fields.

So this is basically the same as: !isMultiValue() && !isHierarhical(), but is safe for the case other dimensions would be added in the future.




save
void save() throws RepositoryException(Code)



setAclAllowed
void setAclAllowed(boolean aclAllowed)(Code)



setAllFromXml
void setAllFromXml(FieldTypeDocument.FieldType fieldTypeXml)(Code)



setAllowFreeEntry
void setAllowFreeEntry(boolean allowFreeEntry)(Code)
When a field type has a selection list, should the user also be able to enter other values then those available in the selection list?

Note that in either case, it is not checked whether the fields' value occurs in the selection list. This is only a hint towards the editing GUI.




setDeprecated
void setDeprecated(boolean deprecated)(Code)



setLoadSelectionListAsync
void setLoadSelectionListAsync(boolean loadAsync)(Code)



setName
void setName(String name)(Code)



setSize
void setSize(int size)(Code)
Sets the size of this FieldType. If this method isn't called, the size will be 0. The size can be used for presentational purposes, and doesn't cause any validation to happen.



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