|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vinculumtech.carrierwave.plansource.GraphPlanRepositorySource
Field Summary | |
static java.lang.String |
DEFAULT_REPOSITORY_ROOT
|
static java.lang.String |
GRAPHPLAN_EXT
|
Constructor Summary | |
GraphPlanRepositorySource()
|
|
GraphPlanRepositorySource(java.lang.String repositoryRoot)
|
|
GraphPlanRepositorySource(java.lang.String repositoryRoot,
java.lang.String sourceName)
|
|
GraphPlanRepositorySource(java.lang.String repositoryRoot,
java.lang.String sourceName,
int authorityOrder)
|
Method Summary | |
java.lang.Integer |
getAuthorityOrder()
Returns this GraphPlanSource instances authority value. |
java.lang.String |
getRepositoryRoot()
|
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)
If graphPlanName is versioned, only that version will be removed. |
GraphPlan |
retrieveGraphPlan(java.lang.String graphPlanName)
Returns a GraphPlan with the given graphPlanName from the repsoitory. |
void |
setAuthorityOrder(int authorityOrder)
|
void |
setRepositoryRoot(java.lang.String repositoryRoot)
|
void |
setSourceDescription(java.lang.String sourceDescription)
|
void |
setSourceName(java.lang.String sourceName)
|
void |
storeGraphPlan(GraphPlan graphPlan)
Saves the given GraphPlan in the repository. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String DEFAULT_REPOSITORY_ROOT
public static java.lang.String GRAPHPLAN_EXT
Constructor Detail |
public GraphPlanRepositorySource()
public GraphPlanRepositorySource(java.lang.String repositoryRoot)
public GraphPlanRepositorySource(java.lang.String repositoryRoot, java.lang.String sourceName)
public GraphPlanRepositorySource(java.lang.String repositoryRoot, java.lang.String sourceName, int authorityOrder)
Method Detail |
public void setRepositoryRoot(java.lang.String repositoryRoot)
public java.lang.String getRepositoryRoot()
public void setSourceName(java.lang.String sourceName)
public java.lang.String getSourceName()
getSourceName
in interface GraphPlanSource
public void setSourceDescription(java.lang.String sourceDescription)
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 boolean removeGraphPlan(java.lang.String graphPlanName) throws GraphPlanException
removeGraphPlan
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 isReadOnly()
isReadOnly
in interface GraphPlanSource
public java.lang.Integer getAuthorityOrder()
GraphPlanSource
getAuthorityOrder
in interface GraphPlanSource
public void setAuthorityOrder(int authorityOrder)
public java.util.List listGraphPlanNames() throws GraphPlanException
GraphPlanSource
listGraphPlanNames
in interface GraphPlanSource
GraphPlanException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |