Class BpeeFactory
java.lang.Object
de.uplanet.lucy.server.auxiliaries.BpeeFactory
@VelocityVariable("BpeeFactory")
@VelocityCallable("singleton")
public final class BpeeFactory
extends Object
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionde.uplanet.lucy.bpee.IBpeeExecutionContextcreateContext(de.uplanet.lucy.server.IProcessingContext p_ctx, Map<QName, Object> p_namedObjects, org.apache.velocity.context.AbstractContext p_ctxVelocity) Create a BPEE execution context.de.uplanet.lucy.bpee.IBpeeExecutionContextcreateContext(Map<QName, Object> p_namedObjects, de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.connector.IServerBridgeRequest p_request, org.apache.velocity.context.AbstractContext p_ctxVelocity) Deprecated.de.uplanet.lucy.bpee.IBpeeExecutionContextcreateContext(Map<QName, Object> p_namedObjects, de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.connector.IServerBridgeRequest p_request, org.apache.velocity.context.AbstractContext p_ctxVelocity, TimeZone p_tz) Deprecated.de.uplanet.lucy.bpee.BpeeEnginegetBeanProperties(String p_strNamespaceUri, de.uplanet.lucy.server.usermanager.IUser p_user) Get a user's properties.getBeanProperties(String p_strNamespaceUri, Object p_obj) Get bean properties from the given object.
- 
Constructor Details- 
BpeeFactorypublic BpeeFactory()Standard constructor.
 
- 
- 
Method Details- 
createContextpublic de.uplanet.lucy.bpee.IBpeeExecutionContext createContext(de.uplanet.lucy.server.IProcessingContext p_ctx, Map<QName, Object> p_namedObjects, org.apache.velocity.context.AbstractContext p_ctxVelocity) throws de.uplanet.xml.schema.XmlSchemaDatatypeParseExceptionCreate a BPEE execution context.If a session and an associated user is presentin the given processing context, it's time zone will be put into the execution context. Otherwise the system's default time zone will be used. - Parameters:
- p_ctx- The processing context.
- p_namedObjects-
- p_ctxVelocity- The Velocity context.
- Returns:
- The BPEE execution context.
- Throws:
- de.uplanet.xml.schema.XmlSchemaDatatypeParseException
 
- 
createContext@Deprecated public de.uplanet.lucy.bpee.IBpeeExecutionContext createContext(Map<QName, Object> p_namedObjects, de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.connector.IServerBridgeRequest p_request, org.apache.velocity.context.AbstractContext p_ctxVelocity) throws de.uplanet.xml.schema.XmlSchemaDatatypeParseExceptionDeprecated.Create a BPEE execution context.If a session and an associated user is present, it's time zone will be put into the execution context. Otherwise the system's default time zone will be used. - Parameters:
- p_namedObjects-
- p_session-
- p_request-
- p_ctxVelocity-
- Returns:
- The BPEE execution context.
- Throws:
- de.uplanet.xml.schema.XmlSchemaDatatypeParseException
 
- 
createContext@Deprecated public de.uplanet.lucy.bpee.IBpeeExecutionContext createContext(Map<QName, Object> p_namedObjects, de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.connector.IServerBridgeRequest p_request, org.apache.velocity.context.AbstractContext p_ctxVelocity, TimeZone p_tz) throws de.uplanet.xml.schema.XmlSchemaDatatypeParseExceptionDeprecated.Create a BPEE execution context.- Parameters:
- p_namedObjects-
- p_session-
- p_request-
- p_ctxVelocity-
- p_tz- The time zone to be used.
- Returns:
- The BPEE execution context.
- Throws:
- de.uplanet.xml.schema.XmlSchemaDatatypeParseException
 
- 
createEnginepublic de.uplanet.lucy.bpee.BpeeEngine createEngine()
- 
getBeanPropertiespublic Map<QName,de.uplanet.lucy.server.dataobjects.IValueHolder<?>> getBeanProperties(String p_strNamespaceUri, de.uplanet.lucy.server.usermanager.IUser p_user) throws ReflectiveOperationException Get a user's properties.- Parameters:
- p_strNamespaceUri- The namespace URI for the created properties.
- p_user- The user object to get the values from.
- Throws:
- IllegalArgumentException- If the given user is- null.
- ReflectiveOperationException- If a reflection error occurred.
- See Also:
 
- 
getBeanPropertiespublic Map<QName,de.uplanet.lucy.server.dataobjects.IValueHolder<?>> getBeanProperties(String p_strNamespaceUri, Object p_obj) throws ReflectiveOperationException Get bean properties from the given object.- Parameters:
- p_strNamespaceUri- The namespace URI for the created properties.
- p_obj- The object to get the values from.
- Returns:
- A map that contains the bean properties.
- Throws:
- IllegalArgumentException- If the given object is- null.
- ReflectiveOperationException- If a reflection error occurred.
 
 
- 
createContext(IProcessingContext, Map, AbstractContext)instead.