 
					
				
		
11-16-2007 09:26 AM
11-20-2007 10:20 AM
  public List<String> getAllAssetTypes()
  {
    List<String> result = null;
    DictionaryService dictionaryService = serviceRegistry.getDictionaryService();
    List<ConstraintDefinition> constraintDefinitions = dictionaryService.getProperty(RCDModel.PROP_ASSET_ASSETTYPE) .getConstraints();
    for (ConstraintDefinition cd : constraintDefinitions)
    {
      if (RCDModel.CONSTRAINT_ASSET_ASSETTYPES.equals(cd.getName()) || cd.getConstraint() instanceof ListOfValuesConstraint)
      {
        result = ((ListOfValuesConstraint)cd.getConstraint()).getAllowedValues();
      }
    }
    return result;
  }
 
					
				
				
			
		
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.