code: @Override
  	public CPDisplayLayout fetchByPrimaryKey(Serializable primaryKey) {
  		Serializable serializable = entityCache.getResult(CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
  				CPDisplayLayoutImpl.class, primaryKey);
  
  		if (serializable == nullModel) {
  			return null;
  		}
  
  		CPDisplayLayout cpDisplayLayout = (CPDisplayLayout)serializable;
  
  		if (cpDisplayLayout == null) {
  			Session session = null;
  
  			try {
  				session = openSession();
  
  				cpDisplayLayout = (CPDisplayLayout)session.get(CPDisplayLayoutImpl.class,
  						primaryKey);
  
  				if (cpDisplayLayout != null) {
  					cacheResult(cpDisplayLayout);
  				}
  				else {
  					entityCache.putResult(CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
  						CPDisplayLayoutImpl.class, primaryKey, nullModel);
  				}
  			}
  			catch (Exception e) {
  				entityCache.removeResult(CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
  					CPDisplayLayoutImpl.class, primaryKey);
  
  				throw processException(e);
  			}
  			finally {
  				closeSession(session);
  			}
  		}
  
  		return cpDisplayLayout;
  	}
docs: Returns the cp display layout with the primary key or returns <code>null</code> if it could not be found.
  
  @param primaryKey the primary key of the cp display layout
  @return the cp display layout, or <code>null</code> if a cp display layout with the primary key could not be found