palio
Class ElementByCodeCache

java.lang.Object
  extended by palio.ElementByCodeCache

public class ElementByCodeCache
extends java.lang.Object


Constructor Summary
ElementByCodeCache(Instance instance)
           
 
Method Summary
 void clearCache(int elemType, java.lang.Iterable<java.lang.Long> IDs)
           
 java.lang.Long getElementByCode(int elemType, java.lang.String code)
           
 Instance getInstance()
           
 java.lang.Long getMedia(java.lang.String code)
           
 java.lang.Long getMimeType(java.lang.String value)
           
 java.lang.Long getObject(java.lang.String code)
           
 java.lang.Long getPage(java.lang.String code)
           
 java.lang.Long getPriv(java.lang.String code)
           
 void preload(int elemType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementByCodeCache

public ElementByCodeCache(Instance instance)
Method Detail

getInstance

public Instance getInstance()

clearCache

public void clearCache(int elemType,
                       java.lang.Iterable<java.lang.Long> IDs)

getElementByCode

public java.lang.Long getElementByCode(int elemType,
                                       java.lang.String code)
                                throws palio.PalioException
Throws:
palio.PalioException

preload

public void preload(int elemType)
             throws palio.PalioException
Throws:
palio.PalioException

getPage

public java.lang.Long getPage(java.lang.String code)
                       throws palio.PalioException
Throws:
palio.PalioException

getObject

public java.lang.Long getObject(java.lang.String code)
                         throws palio.PalioException
Throws:
palio.PalioException

getMedia

public java.lang.Long getMedia(java.lang.String code)
                        throws palio.PalioException
Throws:
palio.PalioException

getPriv

public java.lang.Long getPriv(java.lang.String code)
                       throws palio.PalioException
Throws:
palio.PalioException

getMimeType

public java.lang.Long getMimeType(java.lang.String value)
                           throws palio.PalioException
Throws:
palio.PalioException