|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vinculumtech.carrierwave.plansource.ClientSessionGraphPlanSource
Implementation of GraphPlanSource which retrieves GraphPlan instances from a ClientSession.
Field Summary | |
static java.lang.Integer |
AUTHORITY_ORDER
|
static java.lang.String |
SOURCE_DESCRIPTION
|
static java.lang.String |
SOURCE_NAME
|
Constructor Summary | |
ClientSessionGraphPlanSource(ClientSession clientSession)
Create a new ClientSessionGraphPlanSource using the specified ClientSession. |
Method Summary | |
java.lang.Integer |
getAuthorityOrder()
Returns this GraphPlanSource instances authority value. |
ClientSession |
getClientSession()
|
protected RepositoryClient |
getGraphPlanRepositoryClient()
|
java.lang.String |
getSourceDescription()
|
java.lang.String |
getSourceName()
|
boolean |
isReadOnly()
|
java.util.List |
listGraphPlanNames()
Returns a list of available graph plan names. |
boolean |
removeGraphPlan(java.lang.String graphPlanName)
Removes the GraphPlan instance specified by the given graphPlanName |
GraphPlan |
retrieveGraphPlan(java.lang.String graphPlanName)
|
protected void |
setClientSession(ClientSession clientSession)
|
void |
storeGraphPlan(GraphPlan graphPlan)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SOURCE_NAME
public static final java.lang.String SOURCE_DESCRIPTION
public static final java.lang.Integer AUTHORITY_ORDER
Constructor Detail |
public ClientSessionGraphPlanSource(ClientSession clientSession)
Method Detail |
public ClientSession getClientSession()
protected void setClientSession(ClientSession clientSession)
protected RepositoryClient getGraphPlanRepositoryClient()
public java.lang.String getSourceName()
getSourceName
in interface GraphPlanSource
public java.lang.String getSourceDescription()
getSourceDescription
in interface GraphPlanSource
public GraphPlan retrieveGraphPlan(java.lang.String graphPlanName) throws GraphPlanException
retrieveGraphPlan
in interface GraphPlanSource
graphPlanName
-
GraphPlanException
public void storeGraphPlan(GraphPlan graphPlan) throws GraphPlanException
storeGraphPlan
in interface GraphPlanSource
graphPlan
- the GraphPlan instance to store
GraphPlanException
public boolean removeGraphPlan(java.lang.String graphPlanName) throws GraphPlanException
GraphPlanSource
removeGraphPlan
in interface GraphPlanSource
graphPlanName
-
GraphPlanException
public java.util.List listGraphPlanNames() throws GraphPlanException
GraphPlanSource
listGraphPlanNames
in interface GraphPlanSource
GraphPlanException
public boolean isReadOnly()
isReadOnly
in interface GraphPlanSource
public java.lang.Integer getAuthorityOrder()
GraphPlanSource
getAuthorityOrder
in interface GraphPlanSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |