|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.server.resourceIndex.DatabaseMethodInfoStore
public class DatabaseMethodInfoStore
A MethodInfoStore that uses a database for storage.
TABLE COLUMN EXAMPLE VALUE
-------------------- ------------ ----------------------
riMethod methodId test:bdef1/methodName
bDefPid test:bdef1
methodName methodName
riMethodPermutations methodId test:bdef1/methodName
permutation methodName?arg1=val1
riMethodImplBinding methodImplId test:bmech1/methodName
dsBindKey KEY1
riMethodImpl methodImplId test:bmech1/methodName
bMechPid test:bmech1
methodId test:bdef1/methodName
riMethodMimeType methodImplId test:bmech1/methodName
mimeType text/plain
| Constructor Summary | |
|---|---|
DatabaseMethodInfoStore(ConnectionPool pool,
boolean storePermutations)
|
|
| Method Summary | |
|---|---|
void |
deleteBDefInfo(java.lang.String bDefPID)
Delete method information about the given behavior definition. |
void |
deleteBMechInfo(java.lang.String bMechPID)
Delete method information about the given behavior mechanism. |
java.util.Set<MethodInfo> |
getMethodInfo(java.lang.String bMechPID)
Get the MethodInfo for each method of the given
behavior mechanism. |
void |
putBDefInfo(BDefReader reader)
Add or replace method information about the given behavior definition. |
void |
putBMechInfo(BMechReader reader)
Add or replace method information about the given behavior mechanism. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseMethodInfoStore(ConnectionPool pool,
boolean storePermutations)
| Method Detail |
|---|
public void putBDefInfo(BDefReader reader)
throws ResourceIndexException
putBDefInfo in interface MethodInfoStorereader - the behavior definition.
ResourceIndexException - if any error occurs.
public void deleteBDefInfo(java.lang.String bDefPID)
throws ResourceIndexException
deleteBDefInfo in interface MethodInfoStorebDefPID - the pid of the behavior definition whose information
should be deleted.
ResourceIndexException - if any error occurs.
public void putBMechInfo(BMechReader reader)
throws ResourceIndexException
putBMechInfo in interface MethodInfoStorereader - the behavior mechanism.
ResourceIndexException - if any error occurs.
public void deleteBMechInfo(java.lang.String bMechPID)
throws ResourceIndexException
deleteBMechInfo in interface MethodInfoStoreResourceIndexException - if any error occurs.
public java.util.Set<MethodInfo> getMethodInfo(java.lang.String bMechPID)
throws ResourceIndexException
MethodInfo for each method of the given
behavior mechanism.
getMethodInfo in interface MethodInfoProviderbMechPID - the behavior mechanism pid.
ResourceIndexException - if no such behavior mechanism exists
or the information can't be read for any other reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||