Java Doc for TransitionPeer.java in  » Issue-Tracking » scarab-0.21 » org » tigris » scarab » om » 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 » Issue Tracking » scarab 0.21 » org.tigris.scarab.om 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tigris.scarab.om.BaseTransitionPeer
   org.tigris.scarab.om.TransitionPeer

TransitionPeer
public class TransitionPeer extends BaseTransitionPeer (Code)
Exposes additional methods to manage torque-generated Transition objects.




Method Summary
public static  voiddoDelete(Transition tran)
    
public static  ListgetAllTransitions(Attribute attribute)
    
public static  ListgetTransitions(AttributeOption fromOption, AttributeOption toOption)
     This method will return the list of availaible transitions that allow any user to change an attribute from option 'fromOption' to 'toOption'.
public static  ListgetTransitionsFrom(List availableOptions, Attribute attribute, AttributeOption fromOption)
     This method will return the list of available transitions which allow to change an attribute from option 'fromOption' to any other option.
public static  booleanhasDefinedTransitions(Attribute attribute)
     If there is any defined transitions for the given attribute, it will return true.



Method Detail
doDelete
public static void doDelete(Transition tran) throws TorqueException(Code)



getAllTransitions
public static List getAllTransitions(Attribute attribute)(Code)
Returns a list with every defined transition for a given attribute
Parameters:
  attribute -



getTransitions
public static List getTransitions(AttributeOption fromOption, AttributeOption toOption)(Code)
This method will return the list of availaible transitions that allow any user to change an attribute from option 'fromOption' to 'toOption'. It operates 'in-memory', over the list of every defined transition for the involved attribute.
Parameters:
  fromOption -
Parameters:
  toOption -



getTransitionsFrom
public static List getTransitionsFrom(List availableOptions, Attribute attribute, AttributeOption fromOption)(Code)
This method will return the list of available transitions which allow to change an attribute from option 'fromOption' to any other option. It operates 'in-memory', over the list of every defined transition for the involved attribute.
Parameters:
  fromOption -
Parameters:
  toOption -



hasDefinedTransitions
public static boolean hasDefinedTransitions(Attribute attribute)(Code)
If there is any defined transitions for the given attribute, it will return true. It's needed because the CheapWorkflow system will not try to restrict the transitions if there is none defined.
Parameters:
  attribute -



Fields inherited from org.tigris.scarab.om.BaseTransitionPeer
final public static String ATTRIBUTE_ID(Code)(Java Doc)
final protected static String CLASSNAME_DEFAULT(Code)(Java Doc)
final protected static Class CLASS_DEFAULT(Code)(Java Doc)
final public static String DATABASE_NAME(Code)(Java Doc)
final public static String DISABLED_IF_BLOCKED(Code)(Java Doc)
final public static String FROM_OPTION_ID(Code)(Java Doc)
final public static String ROLE_ID(Code)(Java Doc)
final public static String TABLE_NAME(Code)(Java Doc)
final public static String TO_OPTION_ID(Code)(Java Doc)
final public static String TRANSITION_ID(Code)(Java Doc)
final public static int numColumns(Code)(Java Doc)

Methods inherited from org.tigris.scarab.om.BaseTransitionPeer
public static void addSelectColumns(Criteria criteria) throws TorqueException(Code)(Java Doc)
public static Criteria buildCriteria(ObjectKey pk)(Code)(Java Doc)
public static Criteria buildCriteria(Transition obj)(Code)(Java Doc)
public static Criteria buildSelectCriteria(Transition obj)(Code)(Java Doc)
public static void correctBooleans(Criteria criteria)(Code)(Java Doc)
public static void doDelete(Criteria criteria) throws TorqueException(Code)(Java Doc)
public static void doDelete(Criteria criteria, Connection con) throws TorqueException(Code)(Java Doc)
public static void doDelete(Transition obj) throws TorqueException(Code)(Java Doc)
public static void doDelete(Transition obj, Connection con) throws TorqueException(Code)(Java Doc)
public static void doDelete(ObjectKey pk) throws TorqueException(Code)(Java Doc)
public static void doDelete(ObjectKey pk, Connection con) throws TorqueException(Code)(Java Doc)
public static ObjectKey doInsert(Criteria criteria) throws TorqueException(Code)(Java Doc)
public static ObjectKey doInsert(Criteria criteria, Connection con) throws TorqueException(Code)(Java Doc)
public static void doInsert(Transition obj) throws TorqueException(Code)(Java Doc)
public static void doInsert(Transition obj, Connection con) throws TorqueException(Code)(Java Doc)
public static List doSelect(Criteria criteria) throws TorqueException(Code)(Java Doc)
public static List doSelect(Criteria criteria, Connection con) throws TorqueException(Code)(Java Doc)
public static List doSelect(Transition obj) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAllExceptAttribute(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAllExceptAttribute(Criteria criteria, Connection conn) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAllExceptAttributeOptionRelatedByFromOptionId(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAllExceptAttributeOptionRelatedByFromOptionId(Criteria criteria, Connection conn) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAllExceptAttributeOptionRelatedByToOptionId(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAllExceptAttributeOptionRelatedByToOptionId(Criteria criteria, Connection conn) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAttribute(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAttribute(Criteria criteria, Connection conn) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAttributeOptionRelatedByFromOptionId(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAttributeOptionRelatedByFromOptionId(Criteria criteria, Connection conn) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAttributeOptionRelatedByToOptionId(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected static List doSelectJoinAttributeOptionRelatedByToOptionId(Criteria criteria, Connection conn) throws TorqueException(Code)(Java Doc)
public static List doSelectVillageRecords(Criteria criteria) throws TorqueException(Code)(Java Doc)
public static List doSelectVillageRecords(Criteria criteria, Connection con) throws TorqueException(Code)(Java Doc)
public static void doUpdate(Criteria criteria) throws TorqueException(Code)(Java Doc)
public static void doUpdate(Criteria criteria, Connection con) throws TorqueException(Code)(Java Doc)
public static void doUpdate(Transition obj) throws TorqueException(Code)(Java Doc)
public static void doUpdate(Transition obj, Connection con) throws TorqueException(Code)(Java Doc)
public static MapBuilder getMapBuilder() throws TorqueException(Code)(Java Doc)
public static Class getOMClass() throws TorqueException(Code)(Java Doc)
protected static TableMap getTableMap() throws TorqueException(Code)(Java Doc)
public static void populateObject(Record row, int offset, Transition obj) throws TorqueException(Code)(Java Doc)
public static List populateObjects(List records) throws TorqueException(Code)(Java Doc)
public static List resultSet2Objects(java.sql.ResultSet results) throws TorqueException(Code)(Java Doc)
public static Transition retrieveByPK(Integer pk) throws TorqueException, NoRowsException, TooManyRowsException(Code)(Java Doc)
public static Transition retrieveByPK(Integer pk, Connection con) throws TorqueException, NoRowsException, TooManyRowsException(Code)(Java Doc)
public static Transition retrieveByPK(ObjectKey pk) throws TorqueException, NoRowsException, TooManyRowsException(Code)(Java Doc)
public static Transition retrieveByPK(ObjectKey pk, Connection con) throws TorqueException, NoRowsException, TooManyRowsException(Code)(Java Doc)
public static List retrieveByPKs(List pks) throws TorqueException(Code)(Java Doc)
public static List retrieveByPKs(List pks, Connection dbcon) throws TorqueException(Code)(Java Doc)
public static Transition row2Object(Record row, int offset, Class cls) throws TorqueException(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.