cloudstack-mirror/api/src/com/cloud/projects/Project.java
alena a1331d1cfc Intermidiate checkin to Project feature:
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00

48 lines
1.2 KiB
Java

/**
* Copyright (C) 2011 Citrix Systems, Inc. All rights reserved
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.cloud.projects;
import java.util.Date;
import com.cloud.domain.PartOf;
public interface Project extends PartOf{
public enum State {Active, Inactive, Suspended}
String getDisplayText();
long getDomainId();
long getId();
Date getCreated();
Date getRemoved();
String getName();
public long getProjectAccountId();
long getProjectDomainId();
State getState();
void setState(State state);
}