|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.importexport.UserAssociationsKeeper
public class UserAssociationsKeeper
Implements methods for recording the association of roles, engines, and connection setted by the user. The association recorder can be exported into xml format
Constructor Summary | |
---|---|
UserAssociationsKeeper()
Defines the internal structure for recording associations |
Method Summary | |
---|---|
void |
fillFromXml(java.lang.String xmlStr)
Fill the associations reading an xml string |
java.lang.String |
getAssociatedRole(java.lang.String expRoleName)
|
void |
recordConnectionAssociation(java.lang.String exportedConName,
java.lang.String existingConName)
Records an association between an exported connection and an existing one |
void |
recordEngineAssociation(java.lang.String exportedEngineLabel,
java.lang.String existingEngineLabel)
Records an association between an exported engine and an existing one |
void |
recordRoleAssociation(java.lang.String exportedRoleName,
java.lang.String existingRolename)
Records an association between an exported role and an existing one |
java.lang.String |
toXml()
Exports the associations as xml |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserAssociationsKeeper()
Method Detail |
---|
public void recordRoleAssociation(java.lang.String exportedRoleName, java.lang.String existingRolename)
exportedRoleName
- the name of the exported roleexistingRolename
- the name of the existing rolepublic void recordEngineAssociation(java.lang.String exportedEngineLabel, java.lang.String existingEngineLabel)
exportedEngineLabel
- the label of the exported engineexistingEngineLabel
- the label of the existing enginepublic void recordConnectionAssociation(java.lang.String exportedConName, java.lang.String existingConName)
exportedConName
- the name of the exported connectionexistingConName
- the name of the existing connectionpublic java.lang.String toXml()
public void fillFromXml(java.lang.String xmlStr)
xmlStr
- the xml string which defines the associationspublic java.lang.String getAssociatedRole(java.lang.String expRoleName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |