Package org.apache.cloudstack.engine.datacenter.entity.api

Examples of org.apache.cloudstack.engine.datacenter.entity.api.ZoneEntityImpl


        return null;
    }

    @Override
    public ZoneEntity registerZone(String zoneUuid, String name, String owner, List<String> tags, Map<String, String> details) {
        ZoneEntityImpl zoneEntity = new ZoneEntityImpl(zoneUuid, manager);
        zoneEntity.setName(name);
        zoneEntity.setOwner(owner);
        zoneEntity.setDetails(details);
        zoneEntity.persist();
        return zoneEntity;
    }
View Full Code Here


    }

    @Override
    public void deregisterZone(String uuid) {
        ZoneEntityImpl zoneEntity = new ZoneEntityImpl(uuid, manager);
        zoneEntity.disable();
    }
View Full Code Here

        return null;
    }

    @Override
    public ZoneEntity getZone(String uuid) {
        ZoneEntityImpl impl = new ZoneEntityImpl(uuid, manager);
        return impl;
    }
View Full Code Here

        return null;
    }

    @Override
    public ZoneEntity registerZone(final String zoneUuid, final String name, final String owner, final List<String> tags, final Map<String, String> details) {
        ZoneEntityImpl zoneEntity = new ZoneEntityImpl(zoneUuid, manager);
        zoneEntity.setName(name);
        zoneEntity.setOwner(owner);
        zoneEntity.setDetails(details);
        zoneEntity.persist();
        return zoneEntity;
    }
View Full Code Here

    }

    @Override
    public void deregisterZone(final String uuid) {
        ZoneEntityImpl zoneEntity = new ZoneEntityImpl(uuid, manager);
        zoneEntity.disable();
    }
View Full Code Here

        return null;
    }

    @Override
    public ZoneEntity getZone(final String uuid) {
        ZoneEntityImpl impl = new ZoneEntityImpl(uuid, manager);
        return impl;
    }
View Full Code Here

TOP

Related Classes of org.apache.cloudstack.engine.datacenter.entity.api.ZoneEntityImpl

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.