|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DeploymentData
An interface for DeploymentData classes. This interface is package protected. We do not want to allow others to call persist.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones a deployment data object |
void |
convertToRollbackData()
Converts a particular DeploymentData from a list of items modified in a deployment to a rollback for that deployment. |
int |
getMarkerCount()
Returns the number of markers for deployment |
java.util.Collection |
getNextSetOfMarkers(int pCurrentIndex,
int pBatchSize)
Returns some set of markers, starting at pCurrentIndex, of a number up to pBatchsize. |
RepositoryItem |
getRepositoryItem()
Returns the underlying repository item |
void |
persist(MutableRepository pRepository,
MutableRepositoryItem pDeploymentItem)
This method is called by the Deployment class in its persist phase. |
| Field Detail |
|---|
static final java.lang.String CLASS_VERSION
| Method Detail |
|---|
void persist(MutableRepository pRepository,
MutableRepositoryItem pDeploymentItem)
throws atg.deployment.DistributedDeploymentException
atg.deployment.DistributedDeploymentExceptionRepositoryItem getRepositoryItem()
java.util.Collection getNextSetOfMarkers(int pCurrentIndex,
int pBatchSize)
int getMarkerCount()
java.lang.Object clone()
void convertToRollbackData()
add -> delete
update -> update
delete -> add
Note that this function is reversible - calling it twice is the same as not calling it.
Versions are not handled here - we depend on the snapshot setting to get the appropriate versions for a rollback deployment.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||