Interface AdministrationNode
-
- All Superinterfaces:
LinkTeamNode
,Node
,OfficeAdministration
,OfficeResponsibility
,PropertyConfigurable
- All Known Implementing Classes:
AdministrationNodeImpl
public interface AdministrationNode extends LinkTeamNode, OfficeAdministration
OfficeAdministration
node.- Author:
- Daniel Sagenschneider
-
-
Method Summary
-
Methods inherited from interface net.officefloor.compile.internal.structure.LinkTeamNode
getLinkedTeamNode, linkTeamNode
-
Methods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialised
-
Methods inherited from interface net.officefloor.compile.spi.office.OfficeAdministration
administerManagedObject, enableAutoWireExtensions, getOfficeAdministrationName
-
Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
Node
type.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialise
void initialise(java.lang.String administrationSourceClassName, AdministrationSource<?,?,?> administrationSource)
Initialises thisAdministrationNode
.- Parameters:
administrationSourceClassName
- Class name of theAdministrationSource
.administrationSource
- Optional instantiatedAdministrationSource
. May benull
.
-
loadAdministrationType
AdministrationType<?,?,?> loadAdministrationType(boolean isLoadingType)
Obtains the
AdministrationType
for thisAdministrationNode
.The
OfficeAdministration
must be fully populated with the necessaryProperty
instances before calling this.- Parameters:
isLoadingType
- Indicates using to load type.- Returns:
AdministrationType
for thisAdministrationNode
.
-
sourceAdministration
boolean sourceAdministration(CompileContext compileContext)
Sources theAdministration
.- Parameters:
compileContext
-CompileContext
.- Returns:
true
if successfully sourced. Otherwise,false
with issues reported to theCompilerIssues
.
-
isAutoWireAdministration
boolean isAutoWireAdministration()
Indicates whether to auto-wireManagedObjectExtensionNode
instances forAdministration
.- Returns:
true
to auto-wire.
-
autoWireExtensions
void autoWireExtensions(AutoWirer<ManagedObjectExtensionNode> autoWirer, CompileContext compileContext)
Auto wires theManagedObjectExtensionNode
for thisAdministration
.- Parameters:
autoWirer
-AutoWirer
.compileContext
-CompileContext
.
-
autoWireTeam
void autoWireTeam(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext)
Auto wires theTeam
for thisAdministration
.- Parameters:
autoWirer
-AutoWirer
.compileContext
-CompileContext
.
-
buildPreFunctionAdministration
void buildPreFunctionAdministration(ManagedFunctionBuilder<?,?> managedFunctionBuilder, CompileContext compileContext)
Builds the preManagedFunction
Administration
.- Parameters:
managedFunctionBuilder
-ManagedFunctionBuilder
.compileContext
-CompileContext
.
-
buildPostFunctionAdministration
void buildPostFunctionAdministration(ManagedFunctionBuilder<?,?> managedFunctionBuilder, CompileContext compileContext)
Builds the postManagedFunction
Administration
.- Parameters:
managedFunctionBuilder
-ManagedFunctionBuilder
.compileContext
-CompileContext
.
-
buildPreLoadManagedObjectAdministration
void buildPreLoadManagedObjectAdministration(DependencyMappingBuilder dependencyMappingBuilder, CompileContext compileContext)
Builds the pre-loadManagedObject
Administration
.- Parameters:
dependencyMappingBuilder
-DependencyMappingBuilder
for theManagedObject
.compileContext
-CompileContext
.
-
-