| 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.
|
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 - |
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)
|
|
|