Compiere 3.1

org.compiere.cm.cache
Class Container

java.lang.Object
  extended by org.compiere.cm.cache.CO
      extended by org.compiere.cm.cache.Container

public class Container
extends CO

Container Cache

Version:
$ID$
Author:
Yves Sandfort

Field Summary
protected  Hashtable<String,String> cacheContainerURL
           
 
Fields inherited from class org.compiere.cm.cache.CO
cache, cacheSize, cacheUsage, ctx, log
 
Constructor Summary
Container()
           
 
Method Summary
 MContainer getCM_Container(int ID, int CM_WebProject_ID)
          Get Container from cache by ID
 MContainer getCM_Container(String ID, int CM_WebProject_ID)
          Get Container from cache by ID
 MContainer getCM_ContainerByURL(String URL, int CM_WebProject_ID, boolean resolveURLErrors)
          Get Container from cache by URL
 
Methods inherited from class org.compiere.cm.cache.CO
empty, getCtx, getKeys, getSize, getSortedKeys, getValueTable, put, remove, remove, setCtx, show, use, use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cacheContainerURL

protected Hashtable<String,String> cacheContainerURL
Constructor Detail

Container

public Container()
Method Detail

getCM_Container

public MContainer getCM_Container(String ID,
                                  int CM_WebProject_ID)
Get Container from cache by ID

Parameters:
ID - Container ID
CM_WebProject_ID - Web Project
Returns:
Container

getCM_Container

public MContainer getCM_Container(int ID,
                                  int CM_WebProject_ID)
Get Container from cache by ID

Parameters:
ID - Container ID
CM_WebProject_ID - Web Project
Returns:
Container

getCM_ContainerByURL

public MContainer getCM_ContainerByURL(String URL,
                                       int CM_WebProject_ID,
                                       boolean resolveURLErrors)
Get Container from cache by URL

Parameters:
URL - URL to look for
CM_WebProject_ID - Web Project
resolveURLErrors -
Returns:
Container

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.