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
ModelIntegrityException

getCategory

public ObjectProfileCategory getCategory(java.lang.String categoryName)
                                  throws ObjectNotFoundException
Gets category by name

Parameters:
categoryName - name of the category
Returns:
category as ObjectProfileCategory object
ObjectNotFoundException

retrieveCategory

public ObjectProfileCategory retrieveCategory(java.lang.String categoryName)
                                       throws ModelIntegrityException,
                                              ModelCommunicationException
Gets category from directory server

Parameters:
categoryName - name of the category
Returns:
category as ObjectProfileCategory object
ModelIntegrityException
ModelCommunicationException

updateCategory

public void updateCategory(ObjectProfileCategory cat)
                    throws ModelIntegrityException,
                           ModelCommunicationException
Updates category in cache and store into ldap

Parameters:
cat - new category for update
ModelIntegrityException
ModelCommunicationException

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



IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.