Coder Social home page Coder Social logo

apex-lang's Introduction

apex-lang

A collection of convenience utility classes and others to make developing in Salesforce easier and more fun! apex-lang is an open-source library of helper classes written purely in apex whose goal is to address shortcomings in the core apex classes. (If you're not familiar with apex, apex is the programming language provided by salesforce.com's development platform and is essentially a trimmed down version of java with added syntax for exploiting the force.com platform.)

apex-lang was inspired by the Apache Commons Lang (http://commons.apache.org/lang/) project whose creators had a similar goal of addressing gaps in java's core API. Apex is fairly feature rich; however, let's face it, functionality in its core API is sorely lacking. And why shouldn't it? salesforce.com is in the "on-demand platform" business, not the API building business. On the other hand, apex-lang is very much in the API building (not for profit) business. So, its the intent of apex-lang to fill in the gaps in the core apex classes. And to fill them more quickly than salesforce can. Salesforce only has 3-4 releases a year; in contrast, apex-lang can be released as many times as needed during a single year.

This project was forked from the now defunct Google Code https://code.google.com/p/apex-lang/ and has not been updated since 2012. I plan on maintaining for as long as I can and making adjustments, changes, and adding functionality where possible, and where it makes sense.

Original Authors: Richard.Vanhook (Salesforce) Bluewolf Group ggladkivska [email protected] edistein.zhang jdietz okarzan

Originally donated by EDL Consulting.

List of Classes:

  • AndCondition.cls
  • AndConditionTest.cls
  • ArrayUtils.cls
  • ArrayUtilsTest.cls
  • BooleanUtils.cls
  • BooleanUtilsTest.cls
  • Character.cls
  • CharacterTest.cls
  • Condition.cls
  • ConditionGroup.cls
  • ConditionGroupTest.cls
  • DatabaseUtils.cls
  • DatabaseUtilsTest.cls
  • DateFormula.cls
  • DateFormulaTest.cls
  • DecimalRange.cls
  • DecimalRangeComparator.cls
  • DecimalRangeComparatorTest.cls
  • DecimalRangeTest.cls
  • DoubleRange.cls
  • DoubleRangeTest.cls
  • EmailUtils.cls
  • EmailUtilsTest.cls
  • Field.cls
  • FieldCondition.cls
  • FieldConditionTest.cls
  • FieldTest.cls
  • GlobalVariable.cls
  • GlobalVariableTest.cls
  • HttpUtils.cls
  • HttpUtilsTest.cls
  • ISObjectComparator.cls
  • IllegalArgumentException.cls
  • IllegalStateException.cls
  • IndexOutOfBoundsException.cls
  • IntegerRange.cls
  • IntegerRangeTest.cls
  • InvalidCharacterStringException.cls
  • JSONUtils.cls
  • JSONUtilsTest.cls
  • LanguageUtils.cls
  • LanguageUtilsTest.cls
  • LongRange.cls
  • LongRangeTest.cls
  • MapUtils.cls
  • MapUtilsTest.cls
  • NestableCondition.cls
  • NotCondition.cls
  • NotConditionTest.cls
  • NumberFormatException.cls
  • NumberUtils.cls
  • NumberUtilsTest.cls
  • ObjectComparator.cls
  • ObjectPaginator.cls
  • ObjectPaginatorListener.cls
  • ObjectPaginatorListenerForTesting.cls
  • ObjectPaginatorTest.cls
  • Operator.cls
  • OrCondition.cls
  • OrConditionTest.cls
  • OrderBy.cls
  • OrderByTest.cls
  • PageUtils.cls
  • PageUtilsTest.cls
  • PrimitiveComparator.cls
  • PrimitiveComparatorTest.cls
  • RandomStringUtils.cls
  • RandomStringUtilsTest.cls
  • RandomUtils.cls
  • RandomUtilsTest.cls
  • SObjectComparator.cls
  • SObjectPaginator.cls
  • SObjectPaginatorListener.cls
  • SObjectPaginatorListenerForTesting.cls
  • SObjectPaginatorTest.cls
  • SObjectSortByFieldComparator.cls
  • SObjectSortByFieldComparatorTest.cls
  • SObjectSortByNameComparator.cls
  • SObjectSortByNameComparatorTest.cls
  • SObjectUtils.cls
  • SObjectUtilsTest.cls
  • SelectOptionComparator.cls
  • SelectOptionComparatorTest.cls
  • SelectOptionWrapper.cls
  • SetCondition.cls
  • SetConditionTest.cls
  • SetUtils.cls
  • SetUtilsTest.cls
  • SoqlBuilder.cls
  • SoqlBuilderTest.cls
  • SoqlOptions.cls
  • SoqlOptionsTest.cls
  • SoqlUtils.cls
  • SoqlUtilsTest.cls
  • Soqlable.cls
  • StickyParametersController.cls
  • StickyParametersControllerTest.cls
  • StopWatch.cls
  • StopWatchTest.cls
  • StringBuffer.cls
  • StringBufferTest.cls
  • StringUtils.cls
  • StringUtils2Test.cls
  • StringUtilsTest.cls
  • SystemUtils.cls
  • SystemUtilsTest.cls
  • TestUtils.cls
  • TestUtilsTest.cls
  • TouchRecords.cls
  • UnitOfTime.cls
  • UrlUtils.cls
  • UrlUtilsTest.cls
  • UserUtils.cls
  • UserUtilsTest.cls
  • WordUtils.cls
  • WordUtilsTest.cls

apex-lang's People

Contributors

cmbaughman avatar couchand avatar jsoref avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apex-lang's Issues

Package not compatible with Spring 13 release - two test classes errors out.

What steps will reproduce the problem?
1. Unit Test StringUtilTest.cls and SetutilTest Apex classes.
2. Received the following output.
Test failure, method: al.SetUtilsTest.testObjectToBlob -- System.Exception: 
null stack External entry point

Test failure, method: al.SetUtilsTest.testToStringBlobSet -- System.Exception: 
null stack External entry point
(al)

Test failure, method: al.StringUtilsTest.testJoinSetBlobSet -- 
System.Exception: null stack External entry point
(al)
3.

What is the expected output? What do you see instead?
Tests should pass

What version of the product are you using? On what operating system?
managed package 1.6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Jan 2013 at 6:48

DateTimeconversion fix

Purpose of code changes:
Fixed Time after midday conversion and updated unit-tests


When reviewing my code changes, please focus on: SoqlUtilsTest changes
Not sure if it's consistent as your tests are usually slightly different.
I would prefer randomization here because without it need to test 4 test cases 
- before midday, after midday, midday and midnight, because midnight time and 
after midday time are converted another way now.

Original issue reported on code.google.com by [email protected] on 16 Apr 2013 at 10:50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.