mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Fix several bugs of new refactored list apis.
This commit is contained in:
		
							parent
							
								
									9c93fee0dc
								
							
						
					
					
						commit
						3661f7f992
					
				| @ -20,22 +20,16 @@ import javax.persistence.Column; | |||||||
| 
 | 
 | ||||||
| public abstract class BaseViewVO { | public abstract class BaseViewVO { | ||||||
| 
 | 
 | ||||||
|     @Column(name="id", updatable=false, nullable = false) |     public abstract long getId(); | ||||||
|     protected long id; |  | ||||||
| 
 | 
 | ||||||
|     public long getId() { |     public abstract void setId(long id); | ||||||
|         return id; |  | ||||||
|     } |  | ||||||
| 
 | 
 | ||||||
|     public void setId(long id) { |  | ||||||
|         this.id = id; |  | ||||||
|     } |  | ||||||
| 
 | 
 | ||||||
|     @Override |     @Override | ||||||
|     public int hashCode() { |     public int hashCode() { | ||||||
|         final int prime = 31; |         final int prime = 31; | ||||||
|         int result = 1; |         int result = 1; | ||||||
|         result = prime * result + (int) (id ^ (id >>> 32)); |         result = prime * result + (int) (getId() ^ (getId() >>> 32)); | ||||||
|         return result; |         return result; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| @ -48,7 +42,7 @@ public abstract class BaseViewVO { | |||||||
|         if (getClass() != obj.getClass()) |         if (getClass() != obj.getClass()) | ||||||
|             return false; |             return false; | ||||||
|         BaseViewVO other = (BaseViewVO) obj; |         BaseViewVO other = (BaseViewVO) obj; | ||||||
|         if (id != other.id) |         if (getId() != other.getId()) | ||||||
|             return false; |             return false; | ||||||
|         return true; |         return true; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -35,6 +35,8 @@ import com.cloud.vm.VirtualMachine.State; | |||||||
| @Table(name="domain_router_view") | @Table(name="domain_router_view") | ||||||
| public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEntity { | public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEntity { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
| 
 | 
 | ||||||
|     @Column(name="name", updatable=false, nullable=false, length=255) |     @Column(name="name", updatable=false, nullable=false, length=255) | ||||||
|     private String name = null; |     private String name = null; | ||||||
| @ -225,6 +227,21 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public long getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |     @Override | ||||||
|  |     public void setId(long id) { | ||||||
|  |         this.id = id; | ||||||
|  | 
 | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|     public String getUuid() { |     public String getUuid() { | ||||||
|         return uuid; |         return uuid; | ||||||
|     } |     } | ||||||
| @ -250,6 +267,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public long getAccountId() { |     public long getAccountId() { | ||||||
|         return accountId; |         return accountId; | ||||||
|     } |     } | ||||||
| @ -260,6 +278,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getAccountUuid() { |     public String getAccountUuid() { | ||||||
|         return accountUuid; |         return accountUuid; | ||||||
|     } |     } | ||||||
| @ -274,6 +293,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getAccountName() { |     public String getAccountName() { | ||||||
|         return accountName; |         return accountName; | ||||||
|     } |     } | ||||||
| @ -284,6 +304,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public short getAccountType() { |     public short getAccountType() { | ||||||
|         return accountType; |         return accountType; | ||||||
|     } |     } | ||||||
| @ -294,6 +315,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public long getDomainId() { |     public long getDomainId() { | ||||||
|         return domainId; |         return domainId; | ||||||
|     } |     } | ||||||
| @ -318,6 +340,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getDomainName() { |     public String getDomainName() { | ||||||
|         return domainName; |         return domainName; | ||||||
|     } |     } | ||||||
| @ -327,6 +350,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
|         this.domainName = domainName; |         this.domainName = domainName; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getDomainPath() { |     public String getDomainPath() { | ||||||
|         return domainPath; |         return domainPath; | ||||||
|     } |     } | ||||||
| @ -656,6 +680,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getProjectUuid() { |     public String getProjectUuid() { | ||||||
|         return projectUuid; |         return projectUuid; | ||||||
|     } |     } | ||||||
| @ -670,6 +695,7 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getProjectName() { |     public String getProjectName() { | ||||||
|         return projectName; |         return projectName; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -31,6 +31,9 @@ import com.cloud.event.Event.State; | |||||||
| @Table(name="event_view") | @Table(name="event_view") | ||||||
| public class EventJoinVO extends BaseViewVO implements ControlledViewEntity { | public class EventJoinVO extends BaseViewVO implements ControlledViewEntity { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
|  | 
 | ||||||
|     @Column(name="uuid") |     @Column(name="uuid") | ||||||
|     private String uuid; |     private String uuid; | ||||||
| 
 | 
 | ||||||
| @ -104,6 +107,17 @@ public class EventJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
|     public EventJoinVO() { |     public EventJoinVO() { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public long getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     @Override | ||||||
|  |     public void setId(long id) { | ||||||
|  |         this.id = id; | ||||||
|  | 
 | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     public String getUuid() { |     public String getUuid() { | ||||||
|         return uuid; |         return uuid; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -28,6 +28,9 @@ import com.cloud.utils.db.GenericDao; | |||||||
| @Table(name="instance_group_view") | @Table(name="instance_group_view") | ||||||
| public class InstanceGroupJoinVO extends BaseViewVO implements ControlledViewEntity { | public class InstanceGroupJoinVO extends BaseViewVO implements ControlledViewEntity { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
|  | 
 | ||||||
|     @Column(name="uuid") |     @Column(name="uuid") | ||||||
|     private String uuid; |     private String uuid; | ||||||
| 
 | 
 | ||||||
| @ -80,6 +83,18 @@ public class InstanceGroupJoinVO extends BaseViewVO implements ControlledViewEnt | |||||||
|     public InstanceGroupJoinVO() { |     public InstanceGroupJoinVO() { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public long getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |     @Override | ||||||
|  |     public void setId(long id) { | ||||||
|  |         this.id = id; | ||||||
|  | 
 | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     public String getUuid() { |     public String getUuid() { | ||||||
|         return uuid; |         return uuid; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -16,8 +16,6 @@ | |||||||
| // under the License. | // under the License. | ||||||
| package org.apache.cloudstack.api.view.vo; | package org.apache.cloudstack.api.view.vo; | ||||||
| 
 | 
 | ||||||
| import java.util.Date; |  | ||||||
| 
 |  | ||||||
| import javax.persistence.Column; | import javax.persistence.Column; | ||||||
| import javax.persistence.Entity; | import javax.persistence.Entity; | ||||||
| import javax.persistence.EnumType; | import javax.persistence.EnumType; | ||||||
| @ -25,14 +23,14 @@ import javax.persistence.Enumerated; | |||||||
| import javax.persistence.Table; | import javax.persistence.Table; | ||||||
| 
 | 
 | ||||||
| import com.cloud.projects.ProjectAccount.Role; | import com.cloud.projects.ProjectAccount.Role; | ||||||
| import com.cloud.server.ResourceTag.TaggedResourceType; |  | ||||||
| import com.cloud.utils.db.GenericDao; |  | ||||||
| import com.cloud.vm.VirtualMachine.State; |  | ||||||
| 
 | 
 | ||||||
| @Entity | @Entity | ||||||
| @Table(name="project_account_view") | @Table(name="project_account_view") | ||||||
| public class ProjectAccountJoinVO extends BaseViewVO { | public class ProjectAccountJoinVO extends BaseViewVO { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
|  | 
 | ||||||
|     @Column(name="account_id") |     @Column(name="account_id") | ||||||
|     private long accountId; |     private long accountId; | ||||||
| 
 | 
 | ||||||
| @ -74,8 +72,18 @@ public class ProjectAccountJoinVO extends BaseViewVO { | |||||||
|     public ProjectAccountJoinVO() { |     public ProjectAccountJoinVO() { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public long getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public void setId(long id) { | ||||||
|  |         this.id = id; | ||||||
|  | 
 | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     public long getDomainId() { |     public long getDomainId() { | ||||||
|         return domainId; |         return domainId; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -32,6 +32,9 @@ import com.cloud.vm.VirtualMachine.State; | |||||||
| @Table(name="project_view") | @Table(name="project_view") | ||||||
| public class ProjectJoinVO extends BaseViewVO { | public class ProjectJoinVO extends BaseViewVO { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
|  | 
 | ||||||
|     @Column(name="uuid") |     @Column(name="uuid") | ||||||
|     private String uuid; |     private String uuid; | ||||||
| 
 | 
 | ||||||
| @ -104,6 +107,18 @@ public class ProjectJoinVO extends BaseViewVO { | |||||||
|     public ProjectJoinVO() { |     public ProjectJoinVO() { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public long getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |     @Override | ||||||
|  |     public void setId(long id) { | ||||||
|  |         this.id = id; | ||||||
|  | 
 | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     public String getUuid() { |     public String getUuid() { | ||||||
|         return uuid; |         return uuid; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -28,6 +28,8 @@ import com.cloud.server.ResourceTag.TaggedResourceType; | |||||||
| @Table(name="resource_tag_view") | @Table(name="resource_tag_view") | ||||||
| public class ResourceTagJoinVO extends BaseViewVO implements ControlledViewEntity { | public class ResourceTagJoinVO extends BaseViewVO implements ControlledViewEntity { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
| 
 | 
 | ||||||
|     @Column(name="uuid") |     @Column(name="uuid") | ||||||
|     private String uuid; |     private String uuid; | ||||||
| @ -100,10 +102,12 @@ public class ResourceTagJoinVO extends BaseViewVO implements ControlledViewEntit | |||||||
|         this.uuid = uuid; |         this.uuid = uuid; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public long getId() { |     public long getId() { | ||||||
|         return id; |         return id; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public void setId(long id) { |     public void setId(long id) { | ||||||
|         this.id = id; |         this.id = id; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -29,6 +29,9 @@ import com.cloud.server.ResourceTag.TaggedResourceType; | |||||||
| @Table(name="security_group_view") | @Table(name="security_group_view") | ||||||
| public class SecurityGroupJoinVO extends BaseViewVO implements ControlledViewEntity { | public class SecurityGroupJoinVO extends BaseViewVO implements ControlledViewEntity { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
|  | 
 | ||||||
|     @Column(name="name") |     @Column(name="name") | ||||||
|     private String name; |     private String name; | ||||||
| 
 | 
 | ||||||
| @ -138,6 +141,16 @@ public class SecurityGroupJoinVO extends BaseViewVO implements ControlledViewEnt | |||||||
|     public SecurityGroupJoinVO() { |     public SecurityGroupJoinVO() { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public long getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     @Override | ||||||
|  |     public void setId(long id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     public String getUuid() { |     public String getUuid() { | ||||||
|         return uuid; |         return uuid; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -20,18 +20,18 @@ import java.util.Date; | |||||||
| 
 | 
 | ||||||
| import javax.persistence.Column; | import javax.persistence.Column; | ||||||
| import javax.persistence.Entity; | import javax.persistence.Entity; | ||||||
| import javax.persistence.EnumType; |  | ||||||
| import javax.persistence.Enumerated; |  | ||||||
| import javax.persistence.Table; | import javax.persistence.Table; | ||||||
| 
 | 
 | ||||||
| import com.cloud.utils.db.Encrypt; | import com.cloud.utils.db.Encrypt; | ||||||
| import com.cloud.utils.db.GenericDao; | import com.cloud.utils.db.GenericDao; | ||||||
| import com.cloud.event.Event.State; |  | ||||||
| 
 | 
 | ||||||
| @Entity | @Entity | ||||||
| @Table(name="user_view") | @Table(name="user_view") | ||||||
| public class UserAccountJoinVO extends BaseViewVO { | public class UserAccountJoinVO extends BaseViewVO { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
|  | 
 | ||||||
|     @Column(name="uuid") |     @Column(name="uuid") | ||||||
|     private String uuid; |     private String uuid; | ||||||
| 
 | 
 | ||||||
| @ -107,6 +107,16 @@ public class UserAccountJoinVO extends BaseViewVO { | |||||||
|     public UserAccountJoinVO() { |     public UserAccountJoinVO() { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public long getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     @Override | ||||||
|  |     public void setId(long id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     public String getUuid() { |     public String getUuid() { | ||||||
|         return uuid; |         return uuid; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -42,6 +42,8 @@ import com.cloud.vm.VirtualMachine.State; | |||||||
| @Table(name="user_vm_view") | @Table(name="user_vm_view") | ||||||
| public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | ||||||
| 
 | 
 | ||||||
|  |     @Column(name="id", updatable=false, nullable = false) | ||||||
|  |     private long id; | ||||||
| 
 | 
 | ||||||
|     @Column(name="name", updatable=false, nullable=false, length=255) |     @Column(name="name", updatable=false, nullable=false, length=255) | ||||||
|     private String name = null; |     private String name = null; | ||||||
| @ -364,6 +366,15 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|  |     public long getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     @Override | ||||||
|  |     public void setId(long id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|     public String getUuid() { |     public String getUuid() { | ||||||
| @ -407,6 +418,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public long getAccountId() { |     public long getAccountId() { | ||||||
|         return accountId; |         return accountId; | ||||||
|     } |     } | ||||||
| @ -417,6 +429,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getAccountUuid() { |     public String getAccountUuid() { | ||||||
|         return accountUuid; |         return accountUuid; | ||||||
|     } |     } | ||||||
| @ -431,6 +444,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getAccountName() { |     public String getAccountName() { | ||||||
|         return accountName; |         return accountName; | ||||||
|     } |     } | ||||||
| @ -441,6 +455,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public short getAccountType() { |     public short getAccountType() { | ||||||
|         return accountType; |         return accountType; | ||||||
|     } |     } | ||||||
| @ -451,6 +466,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public long getDomainId() { |     public long getDomainId() { | ||||||
|         return domainId; |         return domainId; | ||||||
|     } |     } | ||||||
| @ -461,6 +477,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getDomainUuid() { |     public String getDomainUuid() { | ||||||
|         return domainUuid; |         return domainUuid; | ||||||
|     } |     } | ||||||
| @ -475,6 +492,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getDomainName() { |     public String getDomainName() { | ||||||
|         return domainName; |         return domainName; | ||||||
|     } |     } | ||||||
| @ -485,6 +503,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getDomainPath() { |     public String getDomainPath() { | ||||||
|         return domainPath; |         return domainPath; | ||||||
|     } |     } | ||||||
| @ -1252,6 +1271,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getProjectUuid() { |     public String getProjectUuid() { | ||||||
|         return projectUuid; |         return projectUuid; | ||||||
|     } |     } | ||||||
| @ -1266,6 +1286,7 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |     @Override | ||||||
|     public String getProjectName() { |     public String getProjectName() { | ||||||
|         return projectName; |         return projectName; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -340,8 +340,12 @@ public class ApiDBUtils { | |||||||
|         _asVmGroupPolicyMapDao = locator.getDao(AutoScaleVmGroupPolicyMapDao.class); |         _asVmGroupPolicyMapDao = locator.getDao(AutoScaleVmGroupPolicyMapDao.class); | ||||||
|         _counterDao = locator.getDao(CounterDao.class); |         _counterDao = locator.getDao(CounterDao.class); | ||||||
|         _tagJoinDao = locator.getDao(ResourceTagJoinDao.class); |         _tagJoinDao = locator.getDao(ResourceTagJoinDao.class); | ||||||
|  |         _vmGroupJoinDao = locator.getDao(InstanceGroupJoinDao.class); | ||||||
|         _eventJoinDao = locator.getDao(EventJoinDao.class); |         _eventJoinDao = locator.getDao(EventJoinDao.class); | ||||||
|  |         _userAccountJoinDao = locator.getDao(UserAccountJoinDao.class); | ||||||
|         _projectJoinDao = locator.getDao(ProjectJoinDao.class); |         _projectJoinDao = locator.getDao(ProjectJoinDao.class); | ||||||
|  |         _projectAccountJoinDao = locator.getDao(ProjectAccountJoinDao.class); | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
|         // Note: stats collector should already have been initialized by this time, otherwise a null instance is returned |         // Note: stats collector should already have been initialized by this time, otherwise a null instance is returned | ||||||
|         _statsCollector = StatsCollector.getInstance(); |         _statsCollector = StatsCollector.getInstance(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user