Package blackberry.core

Examples of blackberry.core.FunctionSignature


    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        final FunctionSignature fs = new FunctionSignature( 3 );
        fs.addParam( String.class, false );
        fs.addParam( Boolean.class, false );
        fs.addParam( Integer.class, false );
        return new FunctionSignature[] { fs };
    }
View Full Code Here


    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        final FunctionSignature fs = new FunctionSignature( 2 );
        fs.addParam( String.class, true );
        fs.addParam( Scriptable.class, false );
        return new FunctionSignature[] { fs };
    }
View Full Code Here

    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        final FunctionSignature fs = new FunctionSignature( 2 );
        fs.addParam( String.class, true );
        fs.addParam( TransportObject.class, false );
        return new FunctionSignature[] { fs };
    }
View Full Code Here

    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        final FunctionSignature fs = new FunctionSignature( 1 );
        fs.addParam( ContactObject.class, false );
        return new FunctionSignature[] { fs };
    }
View Full Code Here

    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        final FunctionSignature fs = new FunctionSignature( 1 );
        fs.addParam( TaskObject.class, false );
        return new FunctionSignature[] { fs };
    }
View Full Code Here

    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        final FunctionSignature fs1 = new FunctionSignature( 1 );
        fs1.addParam( MessageObject.class, true );
        final FunctionSignature fs2 = new FunctionSignature( 3 );
        fs2.addParam( String.class, true );
        fs2.addParam( String.class, true );
        fs2.addParam( String.class, true );
        return new FunctionSignature[] { new FunctionSignature( 0 ), fs1, fs2 };
    }
View Full Code Here

    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        final FunctionSignature fs1 = new FunctionSignature( 1 );
        fs1.addParam( AppointmentObject.class, true );
        final FunctionSignature fs2 = new FunctionSignature( 1 );
        fs2.addParam( Date.class, true );

        // additional signature for 6.0 - Dates are returned from JS as Scriptable
        final FunctionSignature fs3 = new FunctionSignature( 1 );
        fs3.addParam( Scriptable.class, true );

        return new FunctionSignature[] { new FunctionSignature( 0 ), fs1, fs2, fs3 };
    }
View Full Code Here

            /**
             * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
             */
            protected FunctionSignature[] getFunctionSignatures() {
                FunctionSignature fs = new FunctionSignature( 5 );
                fs.addNullableParam( TestableScriptableObject.class, false );
                fs.addNullableParam( String.class, false );
                fs.addNullableParam( Integer.class, false );
                fs.addNullableParam( ServiceObject.class, false );
                fs.addNullableParam( Boolean.class, false );
                return new FunctionSignature[] { fs };
            }
        };
    }
View Full Code Here

    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        FunctionSignature fs = new FunctionSignature( 1 );
        fs.addParam( ServiceObject.class, false );
        return new FunctionSignature[] { fs };
    }
View Full Code Here

    /**
     * @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()
     */
    protected FunctionSignature[] getFunctionSignatures() {
        FunctionSignature fs = new FunctionSignature( 2 );
        fs.addParam( String.class, true );
        return new FunctionSignature[] { fs };
    }
View Full Code Here

TOP

Related Classes of blackberry.core.FunctionSignature

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.