Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * OfficeFloor - http://www.officefloor.net
   * Copyright (C) 2005-2011 Daniel Sagenschneider
   *
   * This program 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
   * (at your option) 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 net.officefloor.compile.spi.office;
 
Architect to structure the net.officefloor.frame.api.manage.Office.

Author(s):
Daniel Sagenschneider
 
 public interface OfficeArchitect {

Adds an OfficeObject.

Parameters:
officeObjectName Name of the OfficeObject.
objectType Object type.
Returns:
Added OfficeObject.
 
 	OfficeObject addOfficeObject(String officeObjectNameString objectType);

Adds an OfficeTeam.

Parameters:
officeTeamName Name of the OfficeTeam.
Returns:
Added OfficeTeam.
 
 	OfficeTeam addOfficeTeam(String officeTeamName);

Adds an OfficeSection.

Parameters:
sectionName Name of the OfficeSection.
sectionSourceClassName Fully qualified class name of the net.officefloor.compile.spi.section.source.SectionSource.
sectionLocation Location of the OfficeSection.
properties net.officefloor.compile.properties.PropertyList to load the OfficeSection.
Returns:
Added OfficeSection.
 
 			String sectionSourceClassNameString sectionLocation,
 			PropertyList properties);

Adds a OfficeManagedObjectSource.

Parameters:
managedObjectSourceName Name of the OfficeManagedObjectSource.
managedObjectSourceClassName Fully qualified class name of the net.officefloor.frame.spi.managedobject.source.ManagedObjectSource.
Returns:
Added OfficeManagedObjectSource.
 
 			String managedObjectSourceNameString managedObjectSourceClassName);

Adds an OfficeAdministrator.

Parameters:
administratorName Name of the OfficeAdministrator.
administratorSourceClassName Fully qualified class name of the net.officefloor.frame.spi.administration.source.AdministratorSource.
Returns:
Added OfficeAdministrator.
 
 			String administratorSourceClassName);

Links the OfficeSectionObject to be the OfficeManagedObject.

Parameters:
sectionObject OfficeSectionObject.
managedObject OfficeManagedObject.
	void link(OfficeSectionObject sectionObject,
			OfficeManagedObject managedObject);

Links the OfficeSectionObject to be the OfficeObject.

Parameters:
sectionObject OfficeSectionObject.
managedObject OfficeObject.
	void link(OfficeSectionObject sectionObjectOfficeObject managedObject);

	void link(ManagedObjectDependency dependency,
			OfficeManagedObject managedObject);

	void link(ManagedObjectDependency dependencyOfficeObject managedObject);

Links the OfficeSectionObject to be undertaken by the OfficeSectionInput.

Parameters:
output OfficeSectionOutput.
input OfficeSectionInput.
Links the TaskTeam to be the OfficeTeam.

Parameters:
team TaskTeam.
officeTeam OfficeTeam.
	void link(TaskTeam teamOfficeTeam officeTeam);

Links the ManagedObjectTeam to be the OfficeTeam.

Parameters:
team ManagedObjectTeam.
officeTeam OfficeTeam.
	void link(ManagedObjectTeam teamOfficeTeam officeTeam);

Links the OfficeTeam to be responsible for the OfficeAdministrator.

Parameters:
administrator OfficeAdministrator.
officeTeam OfficeTeam.
	void link(OfficeAdministrator administratorOfficeTeam officeTeam);

Allows the net.officefloor.compile.spi.office.source.OfficeSource to add an issue in attempting to architect the net.officefloor.frame.api.manage.Office.

This is available to report invalid configuration but continue to architect the rest of the net.officefloor.frame.api.manage.Office.

Parameters:
issueDescription Description of the issue.
assetType net.officefloor.frame.api.build.OfficeFloorIssues.AssetType. May be null if net.officefloor.frame.api.manage.Office in general.
assetName Name of the net.officefloor.frame.internal.structure.Asset. May be null if net.officefloor.frame.api.manage.Office in general.
	void addIssue(String issueDescriptionAssetType assetTypeString assetName);

Allows the net.officefloor.compile.spi.office.source.OfficeSource to add an issue along with its cause in attempting to architect the net.officefloor.frame.api.manage.Office.

This is available to report invalid configuration but continue to architect the rest of the net.officefloor.frame.api.manage.Office.

Parameters:
issueDescription Description of the issue.
cause Cause of the issue.
assetType net.officefloor.frame.api.build.OfficeFloorIssues.AssetType. May be null if net.officefloor.frame.api.manage.Office in general.
assetName Name of the net.officefloor.frame.internal.structure.Asset. May be null if net.officefloor.frame.api.manage.Office in general.
	void addIssue(String issueDescriptionThrowable cause,
			AssetType assetTypeString assetName);
New to GrepCode? Check out our FAQ X