Add System Property support to override workspace id

The following 2 system properties are added to allow to override
workspace namespace and name at runtime.
com.smartitengineering.cms.repo.workspace.namespace
com.smartitengineering.cms.repo.workspace.name

If they are not provided then workspace configured during code
generation would be set by default.

Signed-off-by: Imran M Yousuf <imyousuf@smitsol.com>
Issue #SMARTCMS-56 - Workspace ID must be overrideable
Add generics during invocation to work around JavaC bug on Jenkins

Signed-off-by: Imran M Yousuf <imyousuf@smitsol.com>
Issue #SMARTCMS-56 - Workspace ID must be overrideable
Add singleton annotation on DAO Impls and re-use class injection

The class injection is needed in couple of places but they were
different requiring different injection which was unrealistic to have
so made them coherent so that single injection can be used.

The DAO Implementations are not required to be non-singleton
hence instead of marking it singleton in each case directly mark
them @Singleton at class definition.

Signed-off-by: Imran M Yousuf <imyousuf@smitsol.com>
Issue #SMARTCMS-50 - Allow In-Memory transaction capabilities for Smart CMS DTOs
Implement transaction related injection code generation

Also use it in the demo module so that the creation of DAOs
goes through test in the demo's test phase.

Signed-off-by: Imran M Yousuf <imyousuf@smitsol.com>
Issue #SMARTCMS-50 - Allow In-Memory transaction capabilities for Smart CMS DTOs
Merge pull request #2 from frodooooo39/master

Pulling from frodooooo39/smart-cms
Fix WorkspaceId injection for RepositoryDAOImpl

Previously it was being injected per Dao Module which is wrong
given that now we can one workspace per execution or MasterModule
So instead moved it to MasterModule using the same workspace vars
making it possible to override workspace using System Properties

Signed-off-by: Imran M Yousuf <imyousuf@smitsol.com>
Issue #SMARTCMS-56 - Workspace ID must be overrideable
Implemented workspace deletion with test case

Signed-off-by: MKRussel <russel@smitsol.com>
Issue #SMARTCMS-52 - Workspace deletion required