Interface ManagedObjectArchitect
public interface ManagedObjectArchitect
Architect to build
ManagedObject instances.-
Method Summary
Modifier and TypeMethodDescriptionaddManagedObject(String managedObjectName, String managedObjectLocation, PropertyList properties) Adds a specificOfficeManagedObject.addManagedObjects(String managedObjectDirectory, PropertyList properites) Adds theOfficeManagedObjectinstances configured in a directory.
-
Method Details
-
addManagedObject
OfficeManagedObject addManagedObject(String managedObjectName, String managedObjectLocation, PropertyList properties) throws Exception Adds a specificOfficeManagedObject.- Parameters:
managedObjectName- Name of theOfficeManagedObject.managedObjectLocation- Location of theOfficeManagedObjectconfiguration.properties-PropertyListfor configuration.- Returns:
OfficeManagedObject.- Throws:
Exception- If fails to createOfficeManagedObject.
-
addManagedObjects
Map<String,OfficeManagedObject> addManagedObjects(String managedObjectDirectory, PropertyList properites) throws Exception Adds theOfficeManagedObjectinstances configured in a directory.- Parameters:
managedObjectDirectory- Location of the directory containing theOfficeManagedObjectconfigurations.properites-PropertyListfor configuration.- Returns:
OfficeManagedObjectinstances by their name.- Throws:
Exception- If fails to create theOfficeManagedObjectinstances.
-