|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.tam.CommonBase
com.ibm.di.connector.tam.Group
public class Group
Group class contains the functionality to find, add, modify and delete Groups from TAM using the TAM Connector for TDI
Field Summary |
---|
Fields inherited from class com.ibm.di.connector.tam.CommonBase |
---|
DATE_FORMAT, MAX_SIGNED_DWORD, MAX_UNSIGNED_DWORD, mLogProxy, mPDContext, mPDMessages, QSS_BOOLEAN, QSS_BYTE_ARRAY, QSS_DATE, QSS_INTEGER, QSS_LONG, QSS_STRING, QSS_VECTOR |
Constructor Summary | |
---|---|
Group(Entry entry,
com.tivoli.pd.jutil.PDContext context,
Log log)
Constructor for Group. |
|
Group(SearchCriteria searchcriteria,
com.tivoli.pd.jutil.PDContext context,
Log log)
Constructor for Group. |
|
Group(String s,
com.tivoli.pd.jutil.PDContext context,
Log log)
Constructor for Group. |
Method Summary | |
---|---|
void |
delete(boolean deleteReg)
Delete a Group |
Entry |
getAttributes()
Returns the Group details in an Entry object |
String |
getDesc()
Return the Group Description |
String |
getGroupID()
Returns the Group Name |
List |
getUsers()
Retuns the Users associated with the group. |
static List |
list(com.tivoli.pd.jutil.PDContext pdContext)
Return a List (ArrayList) of Groups |
void |
modify(Entry changes)
Modify a Group |
void |
put(boolean importReg)
Add a Group |
Boolean |
replaceUsers()
|
static Vector |
schema()
Get the schema for TAM groups. |
Attribute |
usersAtt()
|
Methods inherited from class com.ibm.di.connector.tam.CommonBase |
---|
addSchemaEntry, createAndAddEntryAttribute, debug, debug, error, getBooleanEntryAttributeValue, getByteArrayEntryAttributeValue, getDateEntryAttributeValue, getIntegerEntryAttributeValue, getLongEntryAttributeValue, getPDMessage, getStringEntryAttributeValue, logmsg, printEntry, processMsgs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Group(String s, com.tivoli.pd.jutil.PDContext context, Log log) throws TAMConnectorException, com.tivoli.pd.jutil.PDException
s
- Contains the Group namecontext
- The TAM Contextlog
- The Connector log
com.tivoli.pd.jutil.PDException
TAMConnectorException
public Group(Entry entry, com.tivoli.pd.jutil.PDContext context, Log log)
entry
- The TDI Datacontext
- The TAM Contextlog
- The Connector logpublic Group(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, Log log) throws TAMConnectorException, com.tivoli.pd.jutil.PDException
searchcriteria
- The Group namecontext
- The TAM Contextlog
- The Connector log
TAMConnectorException
com.tivoli.pd.jutil.PDException
Method Detail |
---|
public List getUsers()
Vector
public String getGroupID()
public String getDesc()
public Boolean replaceUsers()
public Attribute usersAtt()
public void put(boolean importReg) throws TAMConnectorException
importReg
- true
to import the user details from the registry
false
to create the user details and add to the registry
TAMConnectorException
com.tivoli.pd.jutil.PDException
public void modify(Entry changes) throws TAMConnectorException
changes
- The group entry to modify.
TAMConnectorException
com.tivoli.pd.jutil.PDException
public Entry getAttributes()
public void delete(boolean deleteReg) throws TAMConnectorException, com.tivoli.pd.jutil.PDException
deleteReg
- true
to delete the user from TAM and the registry
false
to delete the user from TAM but not the registry
TAMConnectorException
com.tivoli.pd.jutil.PDException
public static Vector schema()
public static List list(com.tivoli.pd.jutil.PDContext pdContext) throws com.tivoli.pd.jutil.PDException
pdContext
- The TAM Context
com.tivoli.pd.jutil.PDException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |