fluid-api/src/main/java/com/fluidbpm/program/api/util/cache/CacheUtil.java
public CachedFieldValue getCachedFieldValueFrom(
			Long formDefIdParam,
			Long formContIdParam,
			Long formFieldIdParam)
	{
		if((formDefIdParam == null || formContIdParam == null) ||
				formFieldIdParam == null)
		{
			return null;
		}

		String storageKey = this.getStorageKeyFrom(
				formDefIdParam,
				formContIdParam,
				formFieldIdParam);

		Object objWithKey;
		try {
			objWithKey = this.memcachedClient.get(storageKey);
		}
		//Changed for Java 1.6 compatibility...
		catch (MemcachedException e) {

			throw new FluidCacheException("Unable to get Field value for '"+storageKey+"'." +
					"Contact administrator. "+e.getMessage(),e);
		} catch (TimeoutException e) {

			throw new FluidCacheException("Unable to get Field value for '"+storageKey+"'." +
					"Contact administrator. "+e.getMessage(),e);
		} catch (InterruptedException e) {

			throw new FluidCacheException("Unable to get Field value for '"+storageKey+"'." +
					"Contact administrator. "+e.getMessage(),e);
		}

		return this.getCacheFieldValueFromObject(objWithKey);
	}
public CachedFieldValue getCachedFieldValueFrom(
			Long formDefIdParam,
			Long formContIdParam,
			Long formFieldIdParam)
	{
		if((formDefIdParam == null || formContIdParam == null) ||
				formFieldIdParam == null)
		{
			return null;
		}

		String storageKey = this.getStorageKeyFrom(
				formDefIdParam,
				formContIdParam,
				formFieldIdParam);

		Object objWithKey;
		try {
			objWithKey = this.memcachedClient.get(storageKey);
		}
		//Changed for Java 1.6 compatibility...
		catch (MemcachedException e) {

			throw new FluidCacheException("Unable to get Field value for '"+storageKey+"'." +
					"Contact administrator. "+e.getMessage(),e);
		} catch (TimeoutException e) {

			throw new FluidCacheException("Unable to get Field value for '"+storageKey+"'." +
					"Contact administrator. "+e.getMessage(),e);
		} catch (InterruptedException e) {

			throw new FluidCacheException("Unable to get Field value for '"+storageKey+"'." +
					"Contact administrator. "+e.getMessage(),e);
		}

		return this.getCacheFieldValueFromObject(objWithKey);
	}
public CachedFieldValue getCachedFieldValueFrom ( Long formDefIdParam , Long formContIdParam , Long formFieldIdParam ) { if ( ( formDefIdParam == null || formContIdParam == null ) || formFieldIdParam == null ) { return null ; } String storageKey = this . getStorageKeyFrom ( formDefIdParam , formContIdParam , formFieldIdParam ) ; Object objWithKey ; try { objWithKey = this . memcachedClient . get ( storageKey ) ; } //Changed for Java 1.6 compatibility... catch ( MemcachedException e ) { throw new FluidCacheException ( "Unable to get Field value for '" + storageKey + "'." + "Contact administrator. " + e . getMessage ( ) , e ) ; } catch ( TimeoutException e ) { throw new FluidCacheException ( "Unable to get Field value for '" + storageKey + "'." + "Contact administrator. " + e . getMessage ( ) , e ) ; } catch ( InterruptedException e ) { throw new FluidCacheException ( "Unable to get Field value for '" + storageKey + "'." + "Contact administrator. " + e . getMessage ( ) , e ) ; } return this . getCacheFieldValueFromObject ( objWithKey ) ; }
Retrieves the {@code CachedFieldValue} value stored under
the params.

@param formDefIdParam The Form Definition Id.
@param formContIdParam The Form Container Id.
@param formFieldIdParam The Form Field Id.

@return Storage Key
Retrieves the { @code CachedFieldValue } value stored under the params .