Klasse BpeeFactory

java.lang.Object
de.uplanet.lucy.server.auxiliaries.BpeeFactory

@VelocityVariable("BpeeFactory") @VelocityCallable("singleton") public final class BpeeFactory extends Object
  • Konstruktordetails

    • BpeeFactory

      public BpeeFactory()
      Standard constructor.
  • Methodendetails

    • createContext

      public 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.XmlSchemaDatatypeParseException
      Create 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.

      Parameter:
      p_ctx - The processing context.
      p_namedObjects -
      p_ctxVelocity - The Velocity context.
      Gibt zurück:
      The BPEE execution context.
      Löst aus:
      de.uplanet.xml.schema.XmlSchemaDatatypeParseException
    • createContext

      @Deprecated public IBpeeExecutionContext createContext(Map<QName,Object> p_namedObjects, ISession p_session, IServerBridgeRequest p_request, org.apache.velocity.context.AbstractContext p_ctxVelocity) throws de.uplanet.xml.schema.XmlSchemaDatatypeParseException
      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.

      Parameter:
      p_namedObjects -
      p_session -
      p_request -
      p_ctxVelocity -
      Gibt zurück:
      The BPEE execution context.
      Löst aus:
      de.uplanet.xml.schema.XmlSchemaDatatypeParseException
    • createContext

      @Deprecated public IBpeeExecutionContext createContext(Map<QName,Object> p_namedObjects, ISession p_session, IServerBridgeRequest p_request, org.apache.velocity.context.AbstractContext p_ctxVelocity, TimeZone p_tz) throws de.uplanet.xml.schema.XmlSchemaDatatypeParseException
      Create a BPEE execution context.
      Parameter:
      p_namedObjects -
      p_session -
      p_request -
      p_ctxVelocity -
      p_tz - The time zone to be used.
      Gibt zurück:
      The BPEE execution context.
      Löst aus:
      de.uplanet.xml.schema.XmlSchemaDatatypeParseException
    • createEngine

      public BpeeEngine createEngine()
    • getBeanProperties

      public Map<QName,IValueHolder<?>> getBeanProperties(String p_strNamespaceUri, IUser p_user) throws ReflectiveOperationException
      Get a user's properties.
      Parameter:
      p_strNamespaceUri - The namespace URI for the created properties.
      p_user - The user object to get the values from.
      Löst aus:
      IllegalArgumentException - If the given user is null.
      ReflectiveOperationException - If a reflection error occurred.
      Siehe auch:
    • getBeanProperties

      public Map<QName,IValueHolder<?>> getBeanProperties(String p_strNamespaceUri, Object p_obj) throws ReflectiveOperationException
      Get bean properties from the given object.
      Parameter:
      p_strNamespaceUri - The namespace URI for the created properties.
      p_obj - The object to get the values from.
      Gibt zurück:
      A map that contains the bean properties.
      Löst aus:
      IllegalArgumentException - If the given object is null.
      ReflectiveOperationException - If a reflection error occurred.