mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Patch checkpoint.
Service descriptor changes including introduction of schema number. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -31,18 +31,24 @@ public interface AppliedPatch
|
||||
public String getDescription();
|
||||
public void setDescription(String description);
|
||||
|
||||
public String getApplyToVersion();
|
||||
public void setApplyToVersion(String version);
|
||||
public int getFixesFromSchema();
|
||||
public void setFixesFromSchema(int version);
|
||||
|
||||
public boolean getSucceeded();
|
||||
public void setSucceeded(boolean succeeded);
|
||||
public int getFixesToSchema();
|
||||
public void setFixesToSchema(int version);
|
||||
|
||||
public String getAppliedOnVersion();
|
||||
public void setAppliedOnVersion(String version);
|
||||
public int getTargetSchema();
|
||||
public void setTargetSchema(int version);
|
||||
|
||||
public int getAppliedToSchema();
|
||||
public void setAppliedToSchema(int version);
|
||||
|
||||
public Date getAppliedOnDate();
|
||||
public void setAppliedOnDate(Date date);
|
||||
|
||||
public boolean getSucceeded();
|
||||
public void setSucceeded(boolean succeeded);
|
||||
|
||||
public String getReport();
|
||||
public void setReport(String report);
|
||||
}
|
||||
|
@@ -16,10 +16,12 @@
|
||||
optimistic-lock="version" >
|
||||
<id column="id" length="32" name="id" type="string" />
|
||||
<property name="description" column="description" type="string" length="1024" />
|
||||
<property name="applyToVersion" column="apply_to_version" type="string" length="10" />
|
||||
<property name="succeeded" column="succeeded" type="boolean" />
|
||||
<property name="appliedOnVersion" column="applied_on_version" type="string" length="10" />
|
||||
<property name="fixesFromSchema" column="fixes_from_schema" type="integer" />
|
||||
<property name="fixesToSchema" column="fixes_to_schema" type="integer" />
|
||||
<property name="appliedToSchema" column="applied_to_schema" type="integer" />
|
||||
<property name="targetSchema" column="target_schema" type="integer" />
|
||||
<property name="appliedOnDate" column="applied_on_date" type="timestamp" />
|
||||
<property name="succeeded" column="succeeded" type="boolean" />
|
||||
<property name="report" column="report" type="string" length="1024" />
|
||||
</class>
|
||||
|
||||
|
@@ -29,11 +29,36 @@ public class AppliedPatchImpl implements AppliedPatch
|
||||
{
|
||||
private String id;
|
||||
private String description;
|
||||
private String applyAfterVersion;
|
||||
private boolean succeeded;
|
||||
private String appliedOnVersion;
|
||||
private int fixesFromSchema;
|
||||
private int fixesToSchema;
|
||||
private int targetSchema;
|
||||
|
||||
private int appliedToSchema;
|
||||
private Date appliedOnDate;
|
||||
private boolean succeeded;
|
||||
private String report;
|
||||
|
||||
public AppliedPatchImpl()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
StringBuilder sb = new StringBuilder(256);
|
||||
sb.append("AppliedPatch")
|
||||
.append("[ id=").append(id)
|
||||
.append(", description=").append(description)
|
||||
.append(", fixesFromSchema=").append(fixesFromSchema)
|
||||
.append(", fixesToSchema=").append(fixesToSchema)
|
||||
.append(", targetSchema=").append(targetSchema)
|
||||
.append(", appliedToSchema=").append(appliedToSchema)
|
||||
.append(", appliedOnDate=").append(appliedOnDate)
|
||||
.append(", succeeded=").append(succeeded)
|
||||
.append(", report=").append(report)
|
||||
.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public String getId()
|
||||
{
|
||||
@@ -57,14 +82,50 @@ public class AppliedPatchImpl implements AppliedPatch
|
||||
}
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getAppliedOnVersion()
|
||||
|
||||
public int getFixesFromSchema()
|
||||
{
|
||||
return appliedOnVersion;
|
||||
return fixesFromSchema;
|
||||
}
|
||||
public void setAppliedOnVersion(String appliedOnVersion)
|
||||
public void setFixesFromSchema(int version)
|
||||
{
|
||||
this.appliedOnVersion = appliedOnVersion;
|
||||
this.fixesFromSchema = version;
|
||||
}
|
||||
|
||||
public int getFixesToSchema()
|
||||
{
|
||||
return fixesToSchema;
|
||||
}
|
||||
public void setFixesToSchema(int version)
|
||||
{
|
||||
this.fixesToSchema = version;
|
||||
}
|
||||
|
||||
public int getTargetSchema()
|
||||
{
|
||||
return targetSchema;
|
||||
}
|
||||
public void setTargetSchema(int currentSchema)
|
||||
{
|
||||
this.targetSchema = currentSchema;
|
||||
}
|
||||
|
||||
public int getAppliedToSchema()
|
||||
{
|
||||
return appliedToSchema;
|
||||
}
|
||||
public void setAppliedToSchema(int version)
|
||||
{
|
||||
this.appliedToSchema = version;
|
||||
}
|
||||
|
||||
public Date getAppliedOnDate()
|
||||
{
|
||||
return appliedOnDate;
|
||||
}
|
||||
public void setAppliedOnDate(Date appliedOnDate)
|
||||
{
|
||||
this.appliedOnDate = appliedOnDate;
|
||||
}
|
||||
|
||||
public boolean getSucceeded()
|
||||
@@ -75,24 +136,6 @@ public class AppliedPatchImpl implements AppliedPatch
|
||||
{
|
||||
this.succeeded = succeeded;
|
||||
}
|
||||
|
||||
public String getApplyToVersion()
|
||||
{
|
||||
return applyAfterVersion;
|
||||
}
|
||||
public void setApplyToVersion(String applyAfterVersion)
|
||||
{
|
||||
this.applyAfterVersion = applyAfterVersion;
|
||||
}
|
||||
|
||||
public Date getAppliedOnDate()
|
||||
{
|
||||
return appliedOnDate;
|
||||
}
|
||||
public void setAppliedOnDate(Date appliedOnDate)
|
||||
{
|
||||
this.appliedOnDate = appliedOnDate;
|
||||
}
|
||||
|
||||
public String getReport()
|
||||
{
|
||||
|
Reference in New Issue
Block a user