Java Doc for QuestionPoolTreeImpl.java in » ERP-CRM-Financial » sakai » org » sakaiproject » tool » assessment » business » questionpool » 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.tool.assessment.business.questionpool
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.sakaiproject.tool.assessment.business.questionpool
.QuestionPoolTreeImpl
QuestionPoolTreeImpl
public
class QuestionPoolTreeImpl implements
Tree
(Code)
DOCUMENTATION PENDING
author:
$author$
version:
$Id: QuestionPoolTreeImpl.java 9273 2006-05-10 22:34:28Z daisyf@stanford.edu $
Constructor Summary
public
QuestionPoolTreeImpl
()
public
QuestionPoolTreeImpl
(
QuestionPoolIteratorFacade
iter)
Constucts the representation of the tree of pools.
Method Summary
public
boolean
currentObjectIsParent
()
public
Map
getAllObjects
()
Get Map of QuestionPoolImpls.
public
List
getChildList
(
Long
parentId)
public
List
getChildList
()
public
Map
getChildren
(
Long
parentId)
public
Map
getChildren
()
public
Long
getCurrentId
()
public
String
getCurrentLevel
()
Get the current level.
public
Object
getCurrentObject
()
Get the object we're currently looking at.
public
String
getCurrentObjectHTMLId
()
Get the HTML id of the current object.
public
Collection
getCurrentObjectProperties
()
public
boolean
getHasChildList
()
public
boolean
getHasNoChildList
()
public
Object
getParent
()
Get the parent of the object we're currently looking at.
public
List
getRootNodeList
()
Get a List of top level pools.
public
String
getSortProperty
()
This gets the property by which siblings will be sorted.
public
Collection
getSortedObjects
()
public
Collection
getSortedObjects
(
Long
poolId)
public
boolean
haveCommonRoot
(
Long
poolIdA,
Long
poolIdB)
public
boolean
isDescendantOf
(
Long
poolA,
Long
poolB)
public
int
poolLevel
(
Long
poolId)
This returns the level of the pool inside a pool tree, Root being 0.
public
void
setCurrentId
(
Long
poolId)
public
void
setCurrentObjectHTMLId
(
String
param)
public
void
setPropertyMethods
(
String
[] methods)
Set the properties to request.
public
void
setSortProperty
(
String
newProperty)
This sets the property by which siblings will be sorted.
public
void
sortByProperty
(
String
sortProperty, boolean sortAscending)
Constructor Detail
QuestionPoolTreeImpl
public
QuestionPoolTreeImpl()
(Code)
QuestionPoolTreeImpl
public
QuestionPoolTreeImpl(
QuestionPoolIteratorFacade
iter)
(Code)
Constucts the representation of the tree of pools.
Parameters:
iter - QuestionPoolIteratorFacade for the pools in question
Method Detail
currentObjectIsParent
public
boolean currentObjectIsParent()
(Code)
Determine if the pool has childeren true if it has children
getAllObjects
public
Map
getAllObjects()
(Code)
Get Map of QuestionPoolImpls. Map of all QuestionPoolImpls
getChildList
public
List
getChildList(
Long
parentId)
(Code)
Get a List of pools having parentId as parent
Parameters:
parentId - the Id of the parent pool a List with the Ids of all momma's children
getChildList
public
List
getChildList()
(Code)
List the child pool id strings a list of children's pool id strings
getChildren
public
Map
getChildren(
Long
parentId)
(Code)
Get Map of QuestionPoolImpls retricted to a given Parent Id string
Parameters:
parentId - parent of all returned children a Map of QuestionPoolImpls that are childen
getChildren
public
Map
getChildren()
(Code)
Get Map of QuestionPoolImpls retricted to childeren of the currently selected pool Id string a Map of QuestionPoolImpls that are children
getCurrentId
public
Long
getCurrentId()
(Code)
Obtain the poolId set as the current working poolId-designated node the current working poolId String
getCurrentLevel
public
String
getCurrentLevel()
(Code)
Get the current level. A String that represents the level we're on (1 is root node,2 is first level child, etc..
getCurrentObject
public
Object
getCurrentObject()
(Code)
Get the object we're currently looking at. Current QuestionPool.
getCurrentObjectHTMLId
public
String
getCurrentObjectHTMLId()
(Code)
Get the HTML id of the current object. An HTML representation of the pool Id.
getCurrentObjectProperties
public
Collection
getCurrentObjectProperties()
(Code)
Return in order the current:
Pool Name
Author
Last Modified
Total # of Questions
Total # of Subpools
getHasChildList
public
boolean getHasChildList()
(Code)
true if childlist is not empty, false otherwise
getHasNoChildList
public
boolean getHasNoChildList()
(Code)
getParent
public
Object
getParent()
(Code)
Get the parent of the object we're currently looking at. The parent pool of the current object, or null ifit's a root node.
getRootNodeList
public
List
getRootNodeList()
(Code)
Get a List of top level pools. List of top level pool id strings
getSortProperty
public
String
getSortProperty()
(Code)
This gets the property by which siblings will be sorted. A String representation of the sort property.
getSortedObjects
public
Collection
getSortedObjects()
(Code)
Dump the tree into a long collection of objects of the form:
Pool 1
Pool 2
Pool 3
Pool 4
Pool 5
getSortedObjects
public
Collection
getSortedObjects(
Long
poolId)
(Code)
get sorted objects for a subpool tree
haveCommonRoot
public
boolean haveCommonRoot(
Long
poolIdA,
Long
poolIdB)
(Code)
THis checks to see if given two pools have a common ancestor
isDescendantOf
public
boolean isDescendantOf(
Long
poolA,
Long
poolB)
(Code)
Is a pool (pool A) a descendant of the other (Pool B)?
poolLevel
public
int poolLevel(
Long
poolId)
(Code)
This returns the level of the pool inside a pool tree, Root being 0.
setCurrentId
public
void setCurrentId(
Long
poolId)
(Code)
Set the current working poolId String, from which context relative child lists are calculated from the poolId-designated node
Parameters:
poolId -
setCurrentObjectHTMLId
public
void setCurrentObjectHTMLId(
String
param)
(Code)
setPropertyMethods
public
void setPropertyMethods(
String
[] methods)
(Code)
Set the properties to request. Not needed here.
setSortProperty
public
void setSortProperty(
String
newProperty)
(Code)
This sets the property by which siblings will be sorted.
sortByProperty
public
void sortByProperty(
String
sortProperty, boolean sortAscending)
(Code)
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.