com.ibm.itim.dataservices.model
Class CategoryTable

java.lang.Object
  extended by com.ibm.itim.dataservices.model.CategoryTable

public class CategoryTable
extends java.lang.Object

Provides an interface for retrieving and updating category information registered with the provisioning platform.

See Also:
ObjectProfileCategory

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
Throws:
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
Throws:
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
Throws:
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
Throws:
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

Parameters:
time -


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.