|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.operations.GetOperation
public class GetOperation
Models an inquiry operation on the repostiroty . The operation has six attributes:
<OPERATION name=""> <GETOPERATION path="?" version="?" getVersions="(true/false)" getChilds="(true/false)" getContent="(true/false)" getProperties="(true/false)" /> </OPERATION>
Constructor Summary | |
---|---|
GetOperation()
Constructor of the class useful to build an empty get operation. |
|
GetOperation(java.lang.String path,
boolean getChild,
boolean getProps,
boolean getCont,
boolean getVers)
Constructor of the class useful to build a get operation setting the path, getChilds, getProperties, getVersions, getContent attributes. |
|
GetOperation(java.lang.String path,
java.lang.String version,
boolean getChild,
boolean getProps,
boolean getCont,
boolean getVers)
Constructor of the class useful to build a get operation setting the path, version, getChilds, getProperties, getVersions, getContent attributes. |
Method Summary | |
---|---|
SourceBean |
getOperationDescriptor()
Gets the Internal SourceBean which defines the internal structure of the operation |
void |
setPath(java.lang.String path)
Set the path of the cms node |
void |
setRetriveChildsInformation(java.lang.String getChilds)
Set the getChilds attribute of the get operation |
void |
setRetriveContentInformation(java.lang.String getContent)
Set the getContent attribute of the get operation |
void |
setRetrivePropertiesInformation(java.lang.String getProperties)
Set the getProperties attribute of the get operation |
void |
setRetriveVersionsInformation(java.lang.String getVersion)
Set the getVersions attribute of the get operation |
void |
setVersion(java.lang.String ver)
Set the versione of the cms node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetOperation() throws BuildOperationException
BuildOperationException
- Thrown if an error occurs during the creationpublic GetOperation(java.lang.String path, boolean getChild, boolean getProps, boolean getCont, boolean getVers) throws BuildOperationException
path
- The Path of the cms node to examinegetChild
- Flag to activate or deactivate the child information gatheringgetProps
- Flag to activate or deactivate the properties information gatheringgetCont
- Flag to activate or deactivate the content gatheringgetVers
- Flag to activate or deactivate the version information gathering
BuildOperationException
- Thrown if an error occurs during the creationpublic GetOperation(java.lang.String path, java.lang.String version, boolean getChild, boolean getProps, boolean getCont, boolean getVers) throws BuildOperationException
path
- The Path of the cms nodeversion
- The version of the node to examinegetChild
- Flag to activate or deactivate the child information gatheringgetProps
- Flag to activate or deactivate the properties information gatheringgetCont
- Flag to activate or deactivate the content gatheringgetVers
- Flag to activate or deactivate the version information gathering
BuildOperationException
- Thrown if an error occurs during the creationMethod Detail |
---|
public SourceBean getOperationDescriptor()
public void setPath(java.lang.String path) throws BuildOperationException
path
- Path of the cms node
BuildOperationException
- Thrown if an error occurs during the settingpublic void setVersion(java.lang.String ver) throws BuildOperationException
version
- Version of the cms node
BuildOperationException
- Thrown if an error occurs during the settingpublic void setRetriveVersionsInformation(java.lang.String getVersion) throws BuildOperationException
getVersion
- Flag to activate or deactivate the version information gathering
BuildOperationException
- Thrown if an error occurs during the settingpublic void setRetriveContentInformation(java.lang.String getContent) throws BuildOperationException
getContent
- Flag to activate or deactivate the content gathering
BuildOperationException
- Thrown if an error occurs during the settingpublic void setRetrivePropertiesInformation(java.lang.String getProperties) throws BuildOperationException
getProperties
- Flag to activate or deactivate the information gathering about node properties
BuildOperationException
- Thrown if an error occurs during the settingpublic void setRetriveChildsInformation(java.lang.String getChilds) throws BuildOperationException
getChilds
- Flag to activate or deactivate the information gathering about node childs
BuildOperationException
- Thrown if an error occurs during the setting
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |