test_class.declarator: fitPolicyRuleGenerator
test_class.original_string: FitPolicyRuleGenerator fitPolicyRuleGenerator;
test_class.type: FitPolicyRuleGenerator
test_class.var_name: fitPolicyRuleGenerator
test_class.declarator: machineLoadRuleGenerator
test_class.original_string: MachineLoadRuleGenerator machineLoadRuleGenerator;
test_class.type: MachineLoadRuleGenerator
test_class.var_name: machineLoadRuleGenerator
test_class.declarator: enterpriseExclusionRuleGenerator
test_class.original_string: EnterpriseExclusionRuleGenerator enterpriseExclusionRuleGenerator;
test_class.type: EnterpriseExclusionRuleGenerator
test_class.var_name: enterpriseExclusionRuleGenerator
test_class.declarator: datacenterGenerator
test_class.original_string: DatacenterGenerator datacenterGenerator;
test_class.type: DatacenterGenerator
test_class.var_name: datacenterGenerator
test_class.declarator: rackGenerator
test_class.original_string: RackGenerator rackGenerator;
test_class.type: RackGenerator
test_class.var_name: rackGenerator
test_class.declarator: machineGenerator
test_class.original_string: MachineGenerator machineGenerator;
test_class.type: MachineGenerator
test_class.var_name: machineGenerator
test_class.declarator: enterpriseGenerator
test_class.original_string: EnterpriseGenerator enterpriseGenerator;
test_class.type: EnterpriseGenerator
test_class.var_name: enterpriseGenerator
test_class.file: model/src/test/java/com/abiquo/server/core/scheduler/RulesRepTest.java
test_class.identifier: RulesRepTest
test_class.superclass: extends DefaultJpaDataAccessTestBase
test_case.body: @Test
      public void test_findAllEnterpriseExclusionRules() throws IllegalAccessException,
          InvocationTargetException, NoSuchMethodException
      {
  
          EnterpriseExclusionRule eeRule1 = enterpriseExclusionRuleGenerator.createUniqueInstance();
          EnterpriseExclusionRule eeRule2 = enterpriseExclusionRuleGenerator.createUniqueInstance();
          EnterpriseExclusionRule eeRule3 = enterpriseExclusionRuleGenerator.createUniqueInstance();
  
          List<Object> allToPersist = new ArrayList<Object>();
          enterpriseExclusionRuleGenerator.addAuxiliaryEntitiesToPersist(eeRule1, allToPersist);
          enterpriseExclusionRuleGenerator.addAuxiliaryEntitiesToPersist(eeRule2, allToPersist);
          enterpriseExclusionRuleGenerator.addAuxiliaryEntitiesToPersist(eeRule3, allToPersist);
  
          persistAll(ds(), allToPersist, eeRule1, eeRule2, eeRule3);
  
          RulesRep rep = new RulesRep(ds().createEntityManagerAndBeginRollbackTransaction());
  
          List<EnterpriseExclusionRule> result = rep.findAllEnterpriseExclusionRules();
          assertNotNull(result);
          assertEquals(result.size(), 3);
  
      }
test_case.class_method_signature: RulesRepTest.test_findAllEnterpriseExclusionRules()
test_case.full_signature: @Test public void test_findAllEnterpriseExclusionRules()
test_case.identifier: test_findAllEnterpriseExclusionRules
test_case.invocations: createUniqueInstance createUniqueInstance createUniqueInstance addAuxiliaryEntitiesToPersist addAuxiliaryEntitiesToPersist addAuxiliaryEntitiesToPersist persistAll ds createEntityManagerAndBeginRollbackTransaction ds findAllEnterpriseExclusionRules assertNotNull assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_findAllEnterpriseExclusionRules()
focal_class.declarator: enterpriseExclusionRuleDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private EnterpriseExclusionRuleDAO enterpriseExclusionRuleDao;
focal_class.type: EnterpriseExclusionRuleDAO
focal_class.var_name: enterpriseExclusionRuleDao
focal_class.declarator: fitPolicyRuleDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private FitPolicyRuleDAO fitPolicyRuleDao;
focal_class.type: FitPolicyRuleDAO
focal_class.var_name: fitPolicyRuleDao
focal_class.declarator: machineLoadRuleDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private MachineLoadRuleDAO machineLoadRuleDao;
focal_class.type: MachineLoadRuleDAO
focal_class.var_name: machineLoadRuleDao
focal_class.file: model/src/main/java/com/abiquo/server/core/scheduler/RulesRep.java
focal_class.identifier: RulesRep
focal_class.class_method_signature: RulesRep.RulesRep()
focal_class.full_signature: public  RulesRep()
focal_class.identifier: RulesRep
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RulesRep()
focal_class.class_method_signature: RulesRep.RulesRep(final EntityManager entityManager)
focal_class.full_signature: public  RulesRep(final EntityManager entityManager)
focal_class.identifier: RulesRep
focal_class.modifiers: public
focal_class.parameters: (final EntityManager entityManager)
focal_class.signature:  RulesRep(final EntityManager entityManager)
focal_class.class_method_signature: RulesRep.getGlobalRules()
focal_class.full_signature: public List<PersistentRule> getGlobalRules()
focal_class.identifier: getGlobalRules
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<PersistentRule>
focal_class.signature: List<PersistentRule> getGlobalRules()
focal_class.class_method_signature: RulesRep.getDatacenterRules(final Integer idDatacenter)
focal_class.full_signature: public List<PersistentRule> getDatacenterRules(final Integer idDatacenter)
focal_class.identifier: getDatacenterRules
focal_class.modifiers: public
focal_class.parameters: (final Integer idDatacenter)
focal_class.return: List<PersistentRule>
focal_class.signature: List<PersistentRule> getDatacenterRules(final Integer idDatacenter)
focal_class.class_method_signature: RulesRep.findAllEnterpriseExclusionRules()
focal_class.full_signature: public List<EnterpriseExclusionRule> findAllEnterpriseExclusionRules()
focal_class.identifier: findAllEnterpriseExclusionRules
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<EnterpriseExclusionRule>
focal_class.signature: List<EnterpriseExclusionRule> findAllEnterpriseExclusionRules()
focal_class.class_method_signature: RulesRep.findEnterpriseExclusionRuleById(final Integer id)
focal_class.full_signature: public EnterpriseExclusionRule findEnterpriseExclusionRuleById(final Integer id)
focal_class.identifier: findEnterpriseExclusionRuleById
focal_class.modifiers: public
focal_class.parameters: (final Integer id)
focal_class.return: EnterpriseExclusionRule
focal_class.signature: EnterpriseExclusionRule findEnterpriseExclusionRuleById(final Integer id)
focal_class.class_method_signature: RulesRep.deleteEnterpriseExclusionRule(final EnterpriseExclusionRule enterpriseExclusionRule)
focal_class.full_signature: public void deleteEnterpriseExclusionRule(final EnterpriseExclusionRule enterpriseExclusionRule)
focal_class.identifier: deleteEnterpriseExclusionRule
focal_class.modifiers: public
focal_class.parameters: (final EnterpriseExclusionRule enterpriseExclusionRule)
focal_class.return: void
focal_class.signature: void deleteEnterpriseExclusionRule(final EnterpriseExclusionRule enterpriseExclusionRule)
focal_class.class_method_signature: RulesRep.insertEnterpriseExclusionRule(final EnterpriseExclusionRule rule)
focal_class.full_signature: public EnterpriseExclusionRule insertEnterpriseExclusionRule(final EnterpriseExclusionRule rule)
focal_class.identifier: insertEnterpriseExclusionRule
focal_class.modifiers: public
focal_class.parameters: (final EnterpriseExclusionRule rule)
focal_class.return: EnterpriseExclusionRule
focal_class.signature: EnterpriseExclusionRule insertEnterpriseExclusionRule(final EnterpriseExclusionRule rule)
focal_class.class_method_signature: RulesRep.findAllFitPolicyRules()
focal_class.full_signature: public List<FitPolicyRule> findAllFitPolicyRules()
focal_class.identifier: findAllFitPolicyRules
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<FitPolicyRule>
focal_class.signature: List<FitPolicyRule> findAllFitPolicyRules()
focal_class.class_method_signature: RulesRep.findFitPolicyRuleById(final Integer id)
focal_class.full_signature: public FitPolicyRule findFitPolicyRuleById(final Integer id)
focal_class.identifier: findFitPolicyRuleById
focal_class.modifiers: public
focal_class.parameters: (final Integer id)
focal_class.return: FitPolicyRule
focal_class.signature: FitPolicyRule findFitPolicyRuleById(final Integer id)
focal_class.class_method_signature: RulesRep.insertFitPolicyRule(final FitPolicyRule rule)
focal_class.full_signature: public FitPolicyRule insertFitPolicyRule(final FitPolicyRule rule)
focal_class.identifier: insertFitPolicyRule
focal_class.modifiers: public
focal_class.parameters: (final FitPolicyRule rule)
focal_class.return: FitPolicyRule
focal_class.signature: FitPolicyRule insertFitPolicyRule(final FitPolicyRule rule)
focal_class.class_method_signature: RulesRep.findAllMachineLoadRules()
focal_class.full_signature: public List<MachineLoadRule> findAllMachineLoadRules()
focal_class.identifier: findAllMachineLoadRules
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<MachineLoadRule>
focal_class.signature: List<MachineLoadRule> findAllMachineLoadRules()
focal_class.class_method_signature: RulesRep.findMachineLoadRuleById(final Integer id)
focal_class.full_signature: public MachineLoadRule findMachineLoadRuleById(final Integer id)
focal_class.identifier: findMachineLoadRuleById
focal_class.modifiers: public
focal_class.parameters: (final Integer id)
focal_class.return: MachineLoadRule
focal_class.signature: MachineLoadRule findMachineLoadRuleById(final Integer id)
focal_class.class_method_signature: RulesRep.findMachineLoadRuleByMachine(final Integer id)
focal_class.full_signature: public List<MachineLoadRule> findMachineLoadRuleByMachine(final Integer id)
focal_class.identifier: findMachineLoadRuleByMachine
focal_class.modifiers: public
focal_class.parameters: (final Integer id)
focal_class.return: List<MachineLoadRule>
focal_class.signature: List<MachineLoadRule> findMachineLoadRuleByMachine(final Integer id)
focal_class.class_method_signature: RulesRep.findMachineLoadRuleByRack(final Rack rack)
focal_class.full_signature: public List<MachineLoadRule> findMachineLoadRuleByRack(final Rack rack)
focal_class.identifier: findMachineLoadRuleByRack
focal_class.modifiers: public
focal_class.parameters: (final Rack rack)
focal_class.return: List<MachineLoadRule>
focal_class.signature: List<MachineLoadRule> findMachineLoadRuleByRack(final Rack rack)
focal_class.class_method_signature: RulesRep.findMachineLoadRuleByRackIncludingMachines(final Rack rack)
focal_class.full_signature: public List<MachineLoadRule> findMachineLoadRuleByRackIncludingMachines(final Rack rack)
focal_class.identifier: findMachineLoadRuleByRackIncludingMachines
focal_class.modifiers: public
focal_class.parameters: (final Rack rack)
focal_class.return: List<MachineLoadRule>
focal_class.signature: List<MachineLoadRule> findMachineLoadRuleByRackIncludingMachines(final Rack rack)
focal_class.class_method_signature: RulesRep.deleteMachineLoadRule(final MachineLoadRule machineLoadRule)
focal_class.full_signature: public void deleteMachineLoadRule(final MachineLoadRule machineLoadRule)
focal_class.identifier: deleteMachineLoadRule
focal_class.modifiers: public
focal_class.parameters: (final MachineLoadRule machineLoadRule)
focal_class.return: void
focal_class.signature: void deleteMachineLoadRule(final MachineLoadRule machineLoadRule)
focal_class.class_method_signature: RulesRep.insertMachineLoadRule(final MachineLoadRule rule)
focal_class.full_signature: public MachineLoadRule insertMachineLoadRule(final MachineLoadRule rule)
focal_class.identifier: insertMachineLoadRule
focal_class.modifiers: public
focal_class.parameters: (final MachineLoadRule rule)
focal_class.return: MachineLoadRule
focal_class.signature: MachineLoadRule insertMachineLoadRule(final MachineLoadRule rule)
focal_class.class_method_signature: RulesRep.findEnterprises(final EnterpriseExclusionRule eeR)
focal_class.full_signature: public Set<EnterpriseDto> findEnterprises(final EnterpriseExclusionRule eeR)
focal_class.identifier: findEnterprises
focal_class.modifiers: public
focal_class.parameters: (final EnterpriseExclusionRule eeR)
focal_class.return: Set<EnterpriseDto>
focal_class.signature: Set<EnterpriseDto> findEnterprises(final EnterpriseExclusionRule eeR)
focal_class.class_method_signature: RulesRep.deleteFitPolicyRule(final FitPolicyRule fitPolicyRule)
focal_class.full_signature: public void deleteFitPolicyRule(final FitPolicyRule fitPolicyRule)
focal_class.identifier: deleteFitPolicyRule
focal_class.modifiers: public
focal_class.parameters: (final FitPolicyRule fitPolicyRule)
focal_class.return: void
focal_class.signature: void deleteFitPolicyRule(final FitPolicyRule fitPolicyRule)
focal_class.class_method_signature: RulesRep.getFitPolicyForDatacenter(final Integer datacenterId)
focal_class.full_signature: public FitPolicyRule getFitPolicyForDatacenter(final Integer datacenterId)
focal_class.identifier: getFitPolicyForDatacenter
focal_class.modifiers: public
focal_class.parameters: (final Integer datacenterId)
focal_class.return: FitPolicyRule
focal_class.signature: FitPolicyRule getFitPolicyForDatacenter(final Integer datacenterId)
focal_class.class_method_signature: RulesRep.getGlobalFitPolicy()
focal_class.full_signature: public FitPolicyRule getGlobalFitPolicy()
focal_class.identifier: getGlobalFitPolicy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: FitPolicyRule
focal_class.signature: FitPolicyRule getGlobalFitPolicy()
focal_class.class_method_signature: RulesRep.getMachineLoadForDatacenter(final Integer datacenterId)
focal_class.full_signature: public List<MachineLoadRule> getMachineLoadForDatacenter(final Integer datacenterId)
focal_class.identifier: getMachineLoadForDatacenter
focal_class.modifiers: public
focal_class.parameters: (final Integer datacenterId)
focal_class.return: List<MachineLoadRule>
focal_class.signature: List<MachineLoadRule> getMachineLoadForDatacenter(final Integer datacenterId)
focal_class.superclass: extends DefaultRepBase
focal_method.body: public List<EnterpriseExclusionRule> findAllEnterpriseExclusionRules()
      {
          return enterpriseExclusionRuleDao.findAll();
      }
focal_method.class_method_signature: RulesRep.findAllEnterpriseExclusionRules()
focal_method.full_signature: public List<EnterpriseExclusionRule> findAllEnterpriseExclusionRules()
focal_method.identifier: findAllEnterpriseExclusionRules
focal_method.invocations: findAll
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<EnterpriseExclusionRule>
focal_method.signature: List<EnterpriseExclusionRule> findAllEnterpriseExclusionRules()