示例#1
0
 @Override
 public boolean isValidationReviewRequired(IAtsWorkItem workItem) throws OseeCoreException {
   boolean required = false;
   if (workItem.isTeamWorkflow()) {
     required =
         artifactProvider
             .getArtifact(workItem)
             .getSoleAttributeValue(AtsAttributeTypes.ValidationRequired, false);
   }
   return required;
 }
 @Override
 protected int getPercentComplete(IAtsWorkItem workItem) throws OseeCoreException {
   return ((Artifact) workItem.getStoreObject())
       .getSoleAttributeValue(AtsAttributeTypes.PercentComplete, 0);
 }