public interface OrgTypeFactory extends ExternalTypeFactory
Modifier and Type | Method and Description |
---|---|
AnyPerformerHolder |
getAnyPerformer(ModelInstance modelInstance)
Returns a special
human::Performer record which represents any known performer. |
RoleUnitHolder |
getOrganizationUnitHolder(ModelInstance modelInstance,
RoleUnitName name)
Returns a
human::OrganizationUnit record for the given organization-unit name. |
RecordHolder |
getPersonHolder(ModelInstance modelInstance,
String personId)
Returns a
human::Person record for the given person id. |
RoleUnitHolder |
getRoleHolder(ModelInstance modelInstance,
RoleUnitName name)
Returns a
human::RoleUnit record for the given role-unit name. |
RoleUnitName |
normalize(RoleUnitName roleUnitName,
boolean preserveAdditionalParameters)
Returns the normalized role-unit name, i.e.
|
Collection<Performer> |
resolvePerformers(Collection<?> performerHolders)
Converts and resolves the given collection of performer holders to a collection of
Performers . |
addToBatchLoading, addToBatchLoading, convertJavaObjectToHolder, convertValueToHolder, createRecord, getSupportedRecordTypes
RecordHolder getPersonHolder(ModelInstance modelInstance, String personId)
human::Person
record for the given person id.modelInstance
- the model instancepersonId
- the person idRoleUnitHolder getRoleHolder(ModelInstance modelInstance, RoleUnitName name)
human::RoleUnit
record for the given role-unit name.modelInstance
- the model instancename
- the nameRoleUnitHolder getOrganizationUnitHolder(ModelInstance modelInstance, RoleUnitName name)
human::OrganizationUnit
record for the given organization-unit name.modelInstance
- the model instancename
- the nameAnyPerformerHolder getAnyPerformer(ModelInstance modelInstance)
human::Performer
record which represents any known performer.modelInstance
- RoleUnitName normalize(RoleUnitName roleUnitName, boolean preserveAdditionalParameters)
roleUnitName
- preserveAdditionalParameters
- Collection<Performer> resolvePerformers(Collection<?> performerHolders)
Performers
.performerHolders
- Performers
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.