Examples of addAssociation()


Examples of com.aelitis.azureus.core.subs.Subscription.addAssociation()

            new URL( url_str ),
            Integer.MAX_VALUE );
     
        subs.setSubscribed( true );
     
        subs.addAssociation( hash );
       
      }catch( Throwable e ){
       
        Debug.out( e );
      }
View Full Code Here

Examples of com.arconsis.android.datarobot.builder.schema.data.Table.addAssociation()

      VariableElement association = child.accept(new AssociationElementResolvingTypeVisitor(), null);
      if (association != null) {
        AssociationReader associationReader = new AssociationReader(association, entityNames, messager);
        Association read = associationReader.read();
        if (read != null) {
          table.addAssociation(read);

          if (AssociationType.TO_MANY == read.getCardinality()) {
            if (countedToManyAssociations.containsKey(read.getCanonicalTypeInEntity())) {
              countedToManyAssociations.get(read.getCanonicalTypeInEntity()).incrementAndGet();
            } else {
View Full Code Here

Examples of org.apache.jetspeed.security.JetspeedPrincipalManager.addAssociation()

                    }
                }
            }
            for (JetspeedPrincipalAssociationReference ref : toAssociations)
            {
                principalManager.addAssociation(principal, ref.ref, ref.associationName);
            }
        }
        boolean updated = false;       
        SecurityAttributes principalAttrs = principal.getSecurityAttributes();
        for (AttributeDef attrDef : entity.getAttributeDefinitions())
View Full Code Here

Examples of org.apache.jetspeed.security.JetspeedPrincipalManager.addAssociation()

    protected void synchronizeAddedPrincipalAssocation(JetspeedPrincipal fromPrincipal, JetspeedPrincipal toPrincipal, String associationName)
    {
        JetspeedPrincipalManager principalManager = principalManagerProvider.getManager(fromPrincipal.getType());
        try
        {
            principalManager.addAssociation(fromPrincipal, toPrincipal, associationName);
        }
        catch (SecurityException e)
        {
            logger.error("Unexpected SecurityException during synchronization.", e);
        }
View Full Code Here

Examples of org.apache.jetspeed.security.JetspeedPrincipalManager.addAssociation()

                    }
                }
            }
            for (JetspeedPrincipalAssociationReference ref : toAssociations)
            {
                principalManager.addAssociation(principal, ref.ref, ref.associationName);
            }
        }
        boolean updated = false;       
        SecurityAttributes principalAttrs = principal.getSecurityAttributes();
        for (AttributeDef attrDef : entity.getAttributeDefinitions())
View Full Code Here

Examples of org.drools.common.BaseNode.addAssociation()

        } else {
            // shared node found
            // undo previous id assignment
            context.releaseId( candidate.getId() );
        }
        node.addAssociation( context.getRule(), context.peekRuleComponent() );
        return node;
    }

    /**
     * Utility function to check if sharing is enabled for nodes of the given class
View Full Code Here

Examples of org.drools.common.BaseNode.addAssociation()

        } else {
            // shared node found
            // undo previous id assignment
            context.releaseId( candidate.getId() );
        }
        node.addAssociation( context.getRule(), context.peekRuleComponent() );
        return node;
    }

    /**
     * Utility function to check if sharing is enabled for nodes of the given class
View Full Code Here

Examples of org.drools.common.BaseNode.addAssociation()

        } else {
            // shared node found
            // undo previous id assignment
            context.releaseId( candidate.getId() );
        }
        node.addAssociation( context.getRule(), context.peekRuleComponent() );
        return node;
    }

    /**
     * Utility function to check if sharing is enabled for nodes of the given class
View Full Code Here

Examples of org.drools.common.BaseNode.addAssociation()

        } else {
            // shared node found
            // undo previous id assignment
            context.releaseId( candidate.getId() );
        }
        node.addAssociation( context.getRule(), context.peekRuleComponent() );
        return node;
    }

    /**
     * Utility function to check if sharing is enabled for nodes of the given class
View Full Code Here

Examples of org.drools.common.BaseNode.addAssociation()

        } else {
            // shared node found
            // undo previous id assignment
            context.releaseId( candidate.getId() );
        }
        node.addAssociation( context.getRule(), context.peekRuleComponent() );
        return node;
    }

    /**
     * Utility function to check if sharing is enabled for nodes of the given class
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.