@Deprecated public class SectionBridge extends Object
Constructor and Description |
---|
SectionBridge()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
applyInquiryFieldAuthorizations(Field field,
InquiryRestrictions inquiryRestrictions)
Deprecated.
|
static List<Row> |
getContainerRows(Section s,
CollectionDefinitionI collectionDefinition,
BusinessObject o,
Maintainable m,
Maintainable oldMaintainable,
List<String> displayedFieldNames,
Set<String> conditionallyRequiredMaintenanceFields,
StringBuffer containerRowErrorKey,
int numberOfColumns,
Inquirable inquirable)
Deprecated.
|
static List<Row> |
getContainerRows(Section s,
CollectionDefinitionI collectionDefinition,
BusinessObject o,
Maintainable m,
Maintainable oldMaintainable,
List<String> displayedFieldNames,
Set<String> conditionallyRequiredMaintenanceFields,
StringBuffer containerRowErrorKey,
String parents,
boolean hideAdd,
int numberOfColumns,
Inquirable inquirable)
Deprecated.
Builds a list of Rows with Fields of type containers for a many section.
|
static MaintenanceDocumentDictionaryService |
getMaintenanceDocumentDictionaryService()
Deprecated.
|
protected static boolean |
isRowHiddenForInquiry(BusinessObject lineBusinessObject,
Inquirable inquirable,
String collectionName)
Deprecated.
Determines whether a business object is hidden on an inquiry screen.
|
protected static boolean |
isRowHiddenForMaintenanceDocument(BusinessObject lineBusinessObject,
BusinessObject oldLineBusinessObject,
Maintainable newMaintainable,
String collectionName)
Deprecated.
Determines whether a business object is hidden on a maintenance document.
|
protected static boolean |
isRowHideableForInquiry(BusinessObject lineBusinessObject)
Deprecated.
Determines whether a business object is hidable on an inquiry screen.
|
protected static boolean |
isRowHideableForMaintenanceDocument(BusinessObject lineBusinessObject,
BusinessObject oldLineBusinessObject)
Deprecated.
Determines whether a business object is hidable on a maintenance document.
|
static Section |
toSection(Inquirable inquirable,
InquirySectionDefinition sd,
BusinessObject o,
InquiryRestrictions auths)
Deprecated.
This method creates a Section for display on an Inquiry Screen.
|
static Section |
toSection(MaintainableSectionDefinition sd,
BusinessObject o,
Maintainable maintainable,
Maintainable oldMaintainable,
String maintenanceAction,
List<String> displayedFieldNames,
Set<String> conditionallyRequiredMaintenanceFields)
Deprecated.
This method creates a Section for a MaintenanceDocument.
|
public SectionBridge()
public static final Section toSection(Inquirable inquirable, InquirySectionDefinition sd, BusinessObject o, InquiryRestrictions auths)
sd
- The DD definition from which to construct the Section.o
- The BusinessObject from which to populate the Section values.protected static final void applyInquiryFieldAuthorizations(Field field, InquiryRestrictions inquiryRestrictions)
public static final Section toSection(MaintainableSectionDefinition sd, BusinessObject o, Maintainable maintainable, Maintainable oldMaintainable, String maintenanceAction, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields) throws InstantiationException, IllegalAccessException
sd
- The DD definition of the Section.o
- The BusinessObject from which the Section will be populated.maintainable
- maintenanceAction
- The action (new, newwithexisting, copy, edit, etc) requested from the UI.autoFillDefaultValues
- Should default values be auto-filled?autoFillBlankRequiredValues
- Should required values left blank on the UI be auto-filled?displayedFieldNames
- What fields are displayed on the UI?InstantiationException
IllegalAccessException
public static final List<Row> getContainerRows(Section s, CollectionDefinitionI collectionDefinition, BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields, StringBuffer containerRowErrorKey, int numberOfColumns, Inquirable inquirable)
#getContainerRows(Section, CollectionDefinitionI, BusinessObject, Maintainable, List, StringBuffer, String,
boolean, int)
public static final List<Row> getContainerRows(Section s, CollectionDefinitionI collectionDefinition, BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields, StringBuffer containerRowErrorKey, String parents, boolean hideAdd, int numberOfColumns, Inquirable inquirable)
s
- The Section containing the Collection/Container.collectionDefinition
- The DD definition of the Collection.o
- The BusinessObject from which the Container/Collection will be populated.m
- The Maintainable for the BO (needed by some methods called on FieldBridge, FieldUtils etc.)displayedFieldNames
- containerRowErrorKey
- The error key for the Container/Collection.parents
- hideAdd
- Should the add line be added to the Container/Collection?numberOfColumns
- In how many columns in the UI will the fields in the Container/Collection be shown?protected static boolean isRowHideableForMaintenanceDocument(BusinessObject lineBusinessObject, BusinessObject oldLineBusinessObject)
lineBusinessObject
- the BO in the new maintainable, should be of type BusinessObject
and Inquirable
oldLineBusinessObject
- the corresponding BO in the old maintainable, should be of type BusinessObject
and
Inquirable
protected static boolean isRowHiddenForMaintenanceDocument(BusinessObject lineBusinessObject, BusinessObject oldLineBusinessObject, Maintainable newMaintainable, String collectionName)
lineBusinessObject
- the BO in the new maintainable, should be of type BusinessObject
oldLineBusinessObject
- the corresponding BO in the old maintainablenewMaintainable
- the new maintainable from the maintenace documentcollectionName
- the name of the collection from which these BOs comeprotected static boolean isRowHideableForInquiry(BusinessObject lineBusinessObject)
lineBusinessObject
- the collection element BO, should be of type BusinessObject
and Inquirable
protected static boolean isRowHiddenForInquiry(BusinessObject lineBusinessObject, Inquirable inquirable, String collectionName)
lineBusinessObject
- the BO in the collection, should be of type BusinessObject
and Inquirable
inquirable
- the inquirablecollectionName
- the name of the collection from which the BO comespublic static MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.