com.ibm.itim.dataservices.model
Class CategoryTable

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.CategoryTable

public class CategoryTable
extends java.lang.Object


Method Summary
 ObjectProfileCategory getCategory(java.lang.String categoryName)
          Gets category by name
static CategoryTable getInstance(DistinguishedName tenantDN)
          Get getInstance method for this singleton class
 long getLastRefreshTime()
          Return the last refresh time
 void refresh()
          Update cache against LDAP data
 ObjectProfileCategory retrieveCategory(java.lang.String categoryName)
          Gets category from directory server
 void setLastRefreshTime(long time)
          Update last refresh time
 void updateCategory(ObjectProfileCategory cat)
          Updates category in cache and store into ldap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CategoryTable getInstance(DistinguishedName tenantDN)
                                 throws ModelIntegrityException
Get getInstance method for this singleton class
Parameters:
tenantDN - tenant dn for this category table

getCategory

public ObjectProfileCategory getCategory(java.lang.String categoryName)
                                  throws ObjectNotFoundException
Gets category by name
Parameters:
categoryName - name of the category

retrieveCategory

public ObjectProfileCategory retrieveCategory(java.lang.String categoryName)
                                       throws ModelIntegrityException,
                                              ModelCommunicationException
Gets category from directory server
Parameters:
categoryName - name of the category

updateCategory

public void updateCategory(ObjectProfileCategory cat)
                    throws ModelIntegrityException,
                           ModelCommunicationException
Updates category in cache and store into ldap
Parameters:
cat - new category for update

refresh

public void refresh()
Update cache against LDAP data

getLastRefreshTime

public long getLastRefreshTime()
Return the last refresh time

setLastRefreshTime

public void setLastRefreshTime(long time)
Update last refresh time