|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeederParser
Presents services which have to be supplied when creating your personal parser.
The FeederParser implementation must be in the following package: com.ca.identitymanager.feeder.parser
The following are services that have to be implemented when creating your parser:
FeederParser()
.FeederParser(StringBuffer fileContent) throws FeederParserException
.FeederParser(StringBuffer fileContent, Object[] params) throws FeederParserException
.getHeaders
).getNextRecord
).setActionsAttrName
).setSearchObjectAttrName
).setDeletionSequence
).getAllActions
).getCurrentRecordActionValue
) of the current record.getCurrentRecordSearchObjValue
) of the current record.getRecordsCount
) not including the header.hasMoreRecords
).isValidFile
).getDeletionSequence
) of the current record.
Method Summary | |
---|---|
java.util.List |
getAllActions()
Gets all types of actions. |
java.lang.String |
getCurrentRecordActionValue()
Gets the action attribute for the current record. |
java.lang.String |
getCurrentRecordSearchObjValue()
Gets the search object for the specific record. |
java.lang.String |
getDeletionSequence()
|
java.util.List |
getHeaders()
Gets the header of the file. |
java.util.List |
getNextRecord()
Gets the next record in the file. |
int |
getRecordsCount()
Gets records count. |
boolean |
hasMoreRecords()
Checks whether there are more records to read. |
java.lang.String |
isValidFile(java.lang.String fileName)
Validates the input file. |
void |
setActionsAttrName(java.lang.String actionsAttrName)
Sets actions attribute name. |
void |
setDeletionSequence(java.lang.String deletionSequence)
Sets deletion sequence string which is used to determine which value in the parsed file should be deleted from the managed object later. |
void |
setSearchObjectAttrName(java.lang.String searchObjAttrName)
Sets search object attribute name. |
Method Detail |
---|
java.util.List getNextRecord()
boolean hasMoreRecords()
java.lang.String getCurrentRecordActionValue()
java.lang.String getCurrentRecordSearchObjValue() throws FeederParserException
FeederParserException
java.util.List getHeaders()
java.util.List getAllActions()
int getRecordsCount()
void setActionsAttrName(java.lang.String actionsAttrName) throws FeederParserException
actionsAttrName
- the actions 'column' (attribute) presentation
FeederParserException
- if the actions 'column' was not found in the headervoid setSearchObjectAttrName(java.lang.String searchObjAttrName)
searchObjAttrName
- the search object 'column' (attribute) presentationjava.lang.String isValidFile(java.lang.String fileName)
Note - This method returns NULL when the file is valid.
fileName
- the name of the uploaded file
void setDeletionSequence(java.lang.String deletionSequence)
deletionSequence
- java.lang.String getDeletionSequence()
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |