Package com.cloud.network

Examples of com.cloud.network.NetworkDomainVO


    public void addDomainToNetwork(long networkId, long domainId, Boolean subdomainAccess) {
        addDomainToNetworknetwork(networkId, domainId, subdomainAccess);
    }

    protected void addDomainToNetworknetwork(long networkId, long domainId, Boolean subdomainAccess) {
        NetworkDomainVO domain = new NetworkDomainVO(networkId, domainId, subdomainAccess);
        _domainsDao.persist(domain);
    }
View Full Code Here


    public static boolean canElementEnableIndividualServices(Provider serviceProvider) {
        return _networkMgr.canElementEnableIndividualServices(serviceProvider);
    }
   
    public static Pair<Long, Boolean> getDomainNetworkDetails(long networkId) {
      NetworkDomainVO map = _networkDomainDao.getDomainNetworkMapByNetworkId(networkId);
     
      boolean subdomainAccess = (map.isSubdomainAccess() != null) ? map.isSubdomainAccess() : _networkMgr.getAllowSubdomainAccessGlobal();
     
      return new Pair<Long, Boolean>(map.getDomainId(), subdomainAccess);
    }
View Full Code Here

TOP

Related Classes of com.cloud.network.NetworkDomainVO

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.