public class CampusAgendaTypeService extends AgendaTypeServiceBase
defaultAgendaTypeService
Constructor and Description |
---|
CampusAgendaTypeService() |
Modifier and Type | Method and Description |
---|---|
void |
setConfigurationService(ConfigurationService configurationService) |
RemotableAttributeField |
translateTypeAttribute(KrmsTypeAttribute inputAttribute,
KrmsAttributeDefinition attributeDefinition)
Translate a
KrmsTypeAttribute into a RemotableAttributeField . |
List<RemotableAttributeError> |
validateAttributes(String krmsTypeId,
Map<String,String> attributes)
This method validates the passed in attributes for a krmsTypeId generating a List of
RemotableAttributeError s. |
loadAgenda
getAttributeFields, getDataDictionaryRemoteFieldService, sortFields, validateAttributesAgainstExisting
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeFields, validateAttributesAgainstExisting
public CampusAgendaTypeService()
public RemotableAttributeField translateTypeAttribute(KrmsTypeAttribute inputAttribute, KrmsAttributeDefinition attributeDefinition)
KrmsTypeServiceBase
KrmsTypeAttribute
into a RemotableAttributeField
.
Override this method to provide custom translation of certain attributes.translateTypeAttribute
in class KrmsTypeServiceBase
inputAttribute
- the KrmsTypeAttribute
to translateattributeDefinition
- the KrmsAttributeDefinition
for the given inputAttributeRemotableAttributeField
for the given inputAttributepublic void setConfigurationService(ConfigurationService configurationService)
public List<RemotableAttributeError> validateAttributes(String krmsTypeId, Map<String,String> attributes) throws RiceIllegalArgumentException
RemotableAttributeOwner
This method validates the passed in attributes for a krmsTypeId generating a List of
RemotableAttributeError
s.
validateAttributes
in interface RemotableAttributeOwner
validateAttributes
in class KrmsTypeServiceBase
krmsTypeId
- the people flow type identifier. Must not be null or blank.attributes
- the attributes to validate. Cannot be null.RiceIllegalArgumentException
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.