Package org.jboss.as.cmp.jdbc

Examples of org.jboss.as.cmp.jdbc.RelationData


            this.leftField = leftField;
            this.rightField = rightField;

            relationData = new TransactionLocal(leftField.manager.getComponent().getTransactionManager()) {
                protected Object initialValue() {
                    return new RelationData(leftField, rightField);
                }

                public Transaction getTransaction() {
                    try {
                        return transactionManager.getTransaction();
View Full Code Here


        public void addRelation(JDBCCMRFieldBridge field,
                                Object id,
                                JDBCCMRFieldBridge relatedField,
                                Object relatedId) {
            final RelationData local = getRelationData();
            local.addRelation(field, id, relatedField, relatedId);
        }
View Full Code Here

        public void removeRelation(JDBCCMRFieldBridge field,
                                   Object id,
                                   JDBCCMRFieldBridge relatedField,
                                   Object relatedId) {
            RelationData local = getRelationData();
            local.removeRelation(field, id, relatedField, relatedId);
        }
View Full Code Here

            RelationData local = getRelationData();
            local.removeRelation(field, id, relatedField, relatedId);
        }

        public boolean isDirty() {
            RelationData local = getRelationData();
            return local.isDirty();
        }
View Full Code Here

            RelationData local = getRelationData();
            return local.isDirty();
        }

        public RelationData getRelationData() {
            final RelationData local = (RelationData) relationData.get();
            return local;
        }
View Full Code Here

            this.leftField = leftField;
            this.rightField = rightField;

            relationData = new TransactionLocal(leftField.manager.getComponent().getTransactionManager()) {
                protected Object initialValue() {
                    return new RelationData(leftField, rightField);
                }

                public Transaction getTransaction() {
                    try {
                        return transactionManager.getTransaction();
View Full Code Here

        public void addRelation(JDBCCMRFieldBridge field,
                                Object id,
                                JDBCCMRFieldBridge relatedField,
                                Object relatedId) {
            final RelationData local = getRelationData();
            local.addRelation(field, id, relatedField, relatedId);
        }
View Full Code Here

        public void removeRelation(JDBCCMRFieldBridge field,
                                   Object id,
                                   JDBCCMRFieldBridge relatedField,
                                   Object relatedId) {
            RelationData local = getRelationData();
            local.removeRelation(field, id, relatedField, relatedId);
        }
View Full Code Here

            RelationData local = getRelationData();
            local.removeRelation(field, id, relatedField, relatedId);
        }

        public boolean isDirty() {
            RelationData local = getRelationData();
            return local.isDirty();
        }
View Full Code Here

            RelationData local = getRelationData();
            return local.isDirty();
        }

        public RelationData getRelationData() {
            final RelationData local = (RelationData) relationData.get();
            return local;
        }
View Full Code Here

TOP

Related Classes of org.jboss.as.cmp.jdbc.RelationData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.