|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmain.KeyManager
public class KeyManager
Constructor Summary | |
---|---|
KeyManager()
Creates an instance of KeyManager |
Method Summary | |
---|---|
void |
deleteKey(ForeignKey foreignKey)
Deletes a key |
void |
deleteKey(java.lang.String name,
java.lang.String type,
java.lang.String date)
Deletes a key |
ForeignKey |
find(java.lang.String name,
java.lang.String type,
java.lang.String date)
Finds a key in the keylist |
java.util.ArrayList<ForeignKey> |
getKeyListe()
|
void |
newKey(ForeignKey foreignKey)
Adds a key to the keylist |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyManager()
Method Detail |
---|
public void newKey(ForeignKey foreignKey) throws java.lang.Exception
foreignKey
- the new key
java.lang.Exception
public ForeignKey find(java.lang.String name, java.lang.String type, java.lang.String date)
name
- the owner of the keytype
- the type of the keydate
- the time of creation
public void deleteKey(java.lang.String name, java.lang.String type, java.lang.String date)
name
- the name of the ownertype
- the type of the keydate
- the time of creationpublic void deleteKey(ForeignKey foreignKey)
foreignKey
- the key to deletepublic java.util.ArrayList<ForeignKey> getKeyListe()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |