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.model.office;
 
 import java.util.Map;
 
Changes that can be made to a OfficeModel.

Author(s):
Daniel Sagenschneider
 
 public interface OfficeChanges {

 
 
 
 
 
 
 
 	Change<OfficeSectionModeladdOfficeSection(String sectionSourceClassName,
 			String sectionLocationPropertyList properties,
 			OfficeSection officeSection);

Removes the OfficeSectionModel.

Parameters:
officeSection OfficeSectionModel to remove.
Returns:
net.officefloor.model.change.Change to remove the OfficeSectionModel.
			OfficeSectionModel officeSection);

Renames the OfficeSectionModel.

Parameters:
officeSection OfficeSectionModel to rename.
newOfficeSectionName New OfficeSectionModel name.
Returns:
net.officefloor.model.change.Change to rename the OfficeSectionModel.
			OfficeSectionModel officeSectionString newOfficeSectionName);

Refactors the OfficeSectionModel.

Parameters:
sectionModel OfficeSectionModel to refactor.
sectionName Name for the OfficeSectionModel.
sectionSourceClassName net.officefloor.compile.spi.section.source.SectionSource class name for the OfficeSectionModel.
sectionLocation Location of the net.officefloor.compile.spi.office.OfficeSection.
properties net.officefloor.compile.properties.PropertyList.
officeSection net.officefloor.compile.spi.office.OfficeSection that the OfficeSectionModel is being refactored to.
inputNameMapping Mapping of the net.officefloor.compile.spi.office.OfficeSectionInput name to the OfficeSectionInputModel name.
outputNameMapping Mapping of the net.officefloor.compile.spi.office.OfficeSectionOutput name to the OfficeSectionOutputModel name.
objectNameMapping Mapping of the net.officefloor.compile.spi.office.OfficeSectionObject name to the OfficeSectionObjectModel name.
Returns:
net.officefloor.model.change.Change to refactor the OfficeSectionModel.
			OfficeSectionModel sectionModelString sectionName,
			String sectionSourceClassNameString sectionLocation,
			PropertyList propertiesOfficeSection officeSection,
			Map<StringStringinputNameMapping,
			Map<StringStringoutputNameMapping,
			Map<StringStringobjectNameMapping);

Adds an OfficeTeamModel to the OfficeModel.

Parameters:
teamName Name of the OfficeTeamModel.
Returns:
net.officefloor.model.change.Change to add the OfficeTeamModel.
Removes the OfficeTeamModel.

Parameters:
officeTeam OfficeTeamModel to remove.
Returns:
net.officefloor.model.change.Change to remove the OfficeTeamModel.
Renames the OfficeTeamModel.

Parameters:
officeTeam OfficeTeamModel to rename.
newOfficeTeamName New name for the OfficeTeamModel.
Returns:
net.officefloor.model.change.Change to rename the OfficeTeamModel.
			String newOfficeTeamName);

Adds an ExternalManagedObjectModel to the OfficeModel.

Parameters:
externalManagedObjectName Name of the ExternalManagedObjectModel.
objectType Object type.
Returns:
net.officefloor.model.change.Change to add the ExternalManagedObjectModel.
			String externalManagedObjectNameString objectType);

Removes the ExternalManagedObjectModel.

Parameters:
externalManagedObject ExternalManagedObjectModel to remove.
Returns:
net.officefloor.model.change.Change to remove the ExternalManagedObjectModel.
			ExternalManagedObjectModel externalManagedObject);

Renames the ExternalManagedObjectModel.

Parameters:
externalManagedObject ExternalManagedObjectModel to rename.
newExternalManagedObjectName New name for the ExternalManagedObjectModel.
Returns:
net.officefloor.model.change.Change to rename the ExternalManagedObjectModel.
			ExternalManagedObjectModel externalManagedObject,
			String newExternalManagedObjectName);

			String managedObjectSourceName,
			String managedObjectSourceClassNamePropertyList properties,
			long timeoutManagedObjectType<?> managedObjectType);

			OfficeManagedObjectSourceModel managedObjectSource);

Renames the OfficeManagedObjectSourceModel.

Parameters:
managedObjectSource OfficeManagedObjectSourceModel to rename.
newManagedObjectSourceName New name for the OfficeManagedObjectSourceModel.
Returns:
net.officefloor.model.change.Change to rename the OfficeManagedObjectSourceModel.
			OfficeManagedObjectSourceModel managedObjectSource,
			String newManagedObjectSourceName);

			String managedObjectNameManagedObjectScope managedObjectScope,
			OfficeManagedObjectSourceModel managedObjectSource,
			ManagedObjectType<?> managedObjectType);

Removes the OfficeManagedObjectModel.

Parameters:
managedObject OfficeManagedObjectModel to remove.
Returns:
net.officefloor.model.change.Change to remove the OfficeManagedObjectModel.
			OfficeManagedObjectModel managedObject);

Renames the OfficeManagedObjectModel.

Parameters:
managedObject OfficeManagedObjectModel to rename.
newManagedObjectName New name for the OfficeManagedObjectModel.
Returns:
net.officefloor.model.change.Change to rename the OfficeManagedObjectModel.
			OfficeManagedObjectModel managedObjectString newManagedObjectName);

			ManagedObjectScope newManagedObjectScope);

			String administratorSourceClassNamePropertyList properties,
			AdministratorScope administratorScope,
			AdministratorType<?, ?> administratorType);

Removes the AdministratorModel.

Parameters:
administrator AdministratorModel to remove.
Returns:
net.officefloor.model.change.Change to remove the AdministratorModel.
			AdministratorModel administrator);

Renames the AdministratorModel.

Parameters:
administrator AdministratorModel.
newAdministratorName New name for the AdministratorModel.
Returns:
net.officefloor.model.change.Change to rename the AdministratorModel.
			AdministratorModel administratorString newAdministratorName);

Removes the OfficeEscalationModel.

Parameters:
officeEscalation OfficeEscalationModel to remove.
Returns:
net.officefloor.model.change.Change to remove the OfficeEscalationModel.
			OfficeEscalationModel officeEscalation);

			OfficeSectionModel sectionString officeSectionResponsibilityName);

Removes the OfficeSectionResponsibilityModel.

Parameters:
officeSectionResponsibility OfficeSectionResponsibilityModel to remove.
Returns:
net.officefloor.model.change.Change to remove the OfficeSectionResponsibilityModel.
			OfficeSectionResponsibilityModel officeSectionResponsibility);

Rename the OfficeSectionResponsibilityModel.

Parameters:
officeSectionResponsibility OfficeSectionResponsibilityModel to rename.
newOfficeSectionResponsibilityName New name for the OfficeSectionResponsibilityModel.
Returns:
net.officefloor.model.change.Change to rename the OfficeSectionResponsibilityModel.
			OfficeSectionResponsibilityModel officeSectionResponsibility,
			String newOfficeSectionResponsibilityName);

			OfficeSectionObjectModel officeSectionObject,
			ExternalManagedObjectModel externalManagedObject);

			OfficeSectionObjectToExternalManagedObjectModel officeSectionObjectToExternalManagedObject);

			OfficeSectionObjectModel officeSectionObject,
			OfficeManagedObjectModel officeManagedObject);

			OfficeSectionObjectToOfficeManagedObjectModel officeSectionObjectToOfficeManagedObject);

			OfficeManagedObjectModel managedObject);

			OfficeManagedObjectDependencyToOfficeManagedObjectModel officeManagedObjectDependencyToOfficeManagedObject);

			ExternalManagedObjectModel externalManagedObject);

			OfficeManagedObjectDependencyToExternalManagedObjectModel officeManagedObjectDependencyToExternalManagedObject);

			OfficeManagedObjectSourceFlowModel managedObjectSourceFlow,
			OfficeSectionInputModel officeSectionInput);

			OfficeManagedObjectSourceFlowToOfficeSectionInputModel managedObjectSourceFlowToOfficeSectionInput);

			OfficeSectionOutputModel officeSectionOutput,
			OfficeSectionInputModel officeSectionInput);

			OfficeSectionOutputToOfficeSectionInputModel officeSectionOutputToOfficeSectionInput);

			OfficeSectionResponsibilityModel officeSectionResponsibility,
			OfficeTeamModel officeTeam);

			OfficeSectionResponsibilityToOfficeTeamModel officeSectionResponsibilityToOfficeTeam);

			OfficeTeamModel officeTeam);

			OfficeManagedObjectSourceTeamToOfficeTeamModel officeManagedObjectSourceTeamToOfficeTeam);

			AdministratorModel administratorOfficeTeamModel officeTeam);

Removes the AdministratorToOfficeTeamModel.

Parameters:
administratorToOfficeTeam AdministratorToOfficeTeamModel to remove.
Returns:
net.officefloor.model.change.Change to remove the AdministratorToOfficeTeamModel.
			AdministratorToOfficeTeamModel administratorToOfficeTeam);

			ExternalManagedObjectModel externalManagedObject,
			AdministratorModel administrator);

			ExternalManagedObjectToAdministratorModel externalManagedObjectToAdministrator);

			AdministratorModel administrator);

			OfficeManagedObjectToAdministratorModel managedObjectToAdministrator);

			OfficeTask officeTaskDutyModel duty,
			OfficeSectionModel officeSectionModelOfficeSection officeSection);

Removes the OfficeTaskToPreDutyModel.

Parameters:
officeTaskToPreDuty OfficeTaskToPreDutyModel to remove.
Returns:
net.officefloor.model.change.Change to remove the OfficeTaskToPreDutyModel.
			OfficeTaskToPreDutyModel officeTaskToPreDuty);

			OfficeTask officeTaskDutyModel duty,
			OfficeSectionModel officeSectionModelOfficeSection officeSection);

Removes the OfficeTaskToPostDutyModel.

Parameters:
officeTaskToPostDuty OfficeTaskToPostDutyModel to remove.
Returns:
net.officefloor.model.change.Change to remove the OfficeTaskToPostDutyModel.
			OfficeTaskToPostDutyModel officeTaskToPostDuty);

			OfficeSectionInputModel sectionInput);

New to GrepCode? Check out our FAQ X