uPortal 2.4.1
API Documentation

org.jasig.portal.services
Class EntityPropertyRegistry

java.lang.Object
  extended byorg.jasig.portal.services.EntityPropertyRegistry

public class EntityPropertyRegistry
extends java.lang.Object

A Service to allow the querying and storing of properties relating to portal entities. Configured using /properties/EntityPropertyRegistry.xml see dtds/EntityPropertyRegistry.dtd for configuration file grammar

Version:
$Revision: 1.12.2.1 $
Author:
Alex Vigdor av317@columbia.edu, Don Fracapane df7@columbia.edu Removed caching from this class and delegated it to the finder classes. Each finder can choose the method of caching if caching is appropriate.

Method Summary
 void addToCache(EntityProperties ep)
           
 void clearCache(EntityIdentifier entityID)
           
 EntityProperties getCachedProperties(EntityIdentifier entityID)
           
static java.lang.String getProperty(EntityIdentifier entityID, java.lang.String name)
           
static java.lang.String[] getPropertyNames(EntityIdentifier entityID)
           
static EntityPropertyRegistry instance()
           
static void storeProperty(EntityIdentifier entityID, java.lang.String name, java.lang.String value)
           
static void unStoreProperty(EntityIdentifier entityID, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static EntityPropertyRegistry instance()

getPropertyNames

public static java.lang.String[] getPropertyNames(EntityIdentifier entityID)

getProperty

public static java.lang.String getProperty(EntityIdentifier entityID,
                                           java.lang.String name)

storeProperty

public static void storeProperty(EntityIdentifier entityID,
                                 java.lang.String name,
                                 java.lang.String value)

unStoreProperty

public static void unStoreProperty(EntityIdentifier entityID,
                                   java.lang.String name)

clearCache

public void clearCache(EntityIdentifier entityID)

addToCache

public void addToCache(EntityProperties ep)

getCachedProperties

public EntityProperties getCachedProperties(EntityIdentifier entityID)

uPortal 2.4.1
API Documentation