edu.sampleu.krms.impl
Class CampusAgendaTypeService
java.lang.Object
org.kuali.rice.krms.impl.type.KrmsTypeServiceBase
org.kuali.rice.krms.impl.type.AgendaTypeServiceBase
edu.sampleu.krms.impl.CampusAgendaTypeService
- All Implemented Interfaces:
- AgendaTypeService, RemotableAttributeOwner
public class CampusAgendaTypeService
- extends AgendaTypeServiceBase
Sample AgendaTypeService that creates a RemotableAttributeField for specifying the campus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CampusAgendaTypeService
public CampusAgendaTypeService()
translateTypeAttribute
public RemotableAttributeField translateTypeAttribute(KrmsTypeAttribute inputAttribute,
KrmsAttributeDefinition attributeDefinition)
- Description copied from class:
KrmsTypeServiceBase
- Translate a
KrmsTypeAttribute
into a RemotableAttributeField
.
Override this method to provide custom translation of certain attributes.
- Overrides:
translateTypeAttribute
in class KrmsTypeServiceBase
- Parameters:
inputAttribute
- the KrmsTypeAttribute
to translateattributeDefinition
- the KrmsAttributeDefinition
for the given inputAttribute
- Returns:
- a
RemotableAttributeField
for the given inputAttribute
validateAttributes
public List<RemotableAttributeError> validateAttributes(String krmsTypeId,
Map<String,String> attributes)
throws RiceIllegalArgumentException
- Description copied from interface:
RemotableAttributeOwner
This method validates the passed in attributes for a krmsTypeId generating a List of
RemotableAttributeError
s.
- Specified by:
validateAttributes
in interface RemotableAttributeOwner
- Overrides:
validateAttributes
in class KrmsTypeServiceBase
- Parameters:
krmsTypeId
- the people flow type identifier. Must not be null or blank.attributes
- the attributes to validate. Cannot be null.
- Returns:
- any errors that are discovered during validation. Will not return null.
- Throws:
RiceIllegalArgumentException
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.