| java.lang.Object org.kuali.core.web.ui.SectionBridge
SectionBridge | public class SectionBridge (Code) | | |
Method Summary | |
final public static List<Row> | getContainerRows(Section s, CollectionDefinitionI collectionDefinition, BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, StringBuffer containerRowErrorKey, int numberOfColumns, Inquirable inquirable) | final public static List<Row> | getContainerRows(Section s, CollectionDefinitionI collectionDefinition, BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, StringBuffer containerRowErrorKey, String parents, boolean hideAdd, int numberOfColumns, Inquirable inquirable) Builds a list of Rows with Fields of type containers for a many section. | protected static boolean | isRowHiddenForInquiry(BusinessObject lineBusinessObject, Inquirable inquirable, String collectionName) Determines whether a business object is hidden on an inquiry screen. | protected static boolean | isRowHiddenForMaintenanceDocument(BusinessObject lineBusinessObject, BusinessObject oldLineBusinessObject, Maintainable newMaintainable, String collectionName) Determines whether a business object is hidden on a maintenance document. | protected static boolean | isRowHideableForInquiry(BusinessObject lineBusinessObject) Determines whether a business object is hidable on an inquiry screen. | protected static boolean | isRowHideableForMaintenanceDocument(BusinessObject lineBusinessObject, BusinessObject oldLineBusinessObject) Determines whether a business object is hidable on a maintenance document. | final public static Section | toSection(Inquirable inquirable, InquirySectionDefinition sd, BusinessObject o) This method creates a Section for display on an Inquiry Screen.
Parameters: sd - The DD definition from which to construct the Section. Parameters: o - The BusinessObject from which to populate the Section values. | final public static Section | toSection(MaintainableSectionDefinition sd, BusinessObject o, Maintainable maintainable, Maintainable oldMaintainable, String maintenanceAction, boolean autoFillDefaultValues, boolean autoFillBlankRequiredValues, List<String> displayedFieldNames) This method creates a Section for a MaintenanceDocument. |
getContainerRows | final public static List<Row> getContainerRows(Section s, CollectionDefinitionI collectionDefinition, BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, StringBuffer containerRowErrorKey, int numberOfColumns, Inquirable inquirable)(Code) | | See Also: #getContainerRows(Section, CollectionDefinitionI, BusinessObject, Maintainable, List, StringBuffer, String, See Also: boolean, int) |
getContainerRows | final public static List<Row> getContainerRows(Section s, CollectionDefinitionI collectionDefinition, BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, StringBuffer containerRowErrorKey, String parents, boolean hideAdd, int numberOfColumns, Inquirable inquirable)(Code) | | Builds a list of Rows with Fields of type containers for a many section.
Parameters: s - The Section containing the Collection/Container. Parameters: collectionDefinition - The DD definition of the Collection. Parameters: o - The BusinessObject from which the Container/Collection will be populated. Parameters: m - The Maintainable for the BO (needed by some methods called on FieldBridge, FieldUtils etc.) Parameters: displayedFieldNames - Parameters: containerRowErrorKey - The error key for the Container/Collection. Parameters: parents - Parameters: hideAdd - Should the add line be added to the Container/Collection? Parameters: numberOfColumns - In how many columns in the UI will the fields in the Container/Collection be shown? |
isRowHiddenForInquiry | protected static boolean isRowHiddenForInquiry(BusinessObject lineBusinessObject, Inquirable inquirable, String collectionName)(Code) | | Determines whether a business object is hidden on an inquiry screen.
Parameters: lineBusinessObject - the BO in the collection, should be of type PersistableBusinessObject and Inquirable Parameters: inquirable - the inquirable Parameters: collectionName - the name of the collection from which the BO comes true if the business object is to be hidden; false otherwise |
isRowHiddenForMaintenanceDocument | protected static boolean isRowHiddenForMaintenanceDocument(BusinessObject lineBusinessObject, BusinessObject oldLineBusinessObject, Maintainable newMaintainable, String collectionName)(Code) | | Determines whether a business object is hidden on a maintenance document.
Parameters: lineBusinessObject - the BO in the new maintainable, should be of type PersistableBusinessObject Parameters: oldLineBusinessObject - the corresponding BO in the old maintainable Parameters: newMaintainable - the new maintainable from the maintenace document Parameters: collectionName - the name of the collection from which these BOs come |
isRowHideableForInquiry | protected static boolean isRowHideableForInquiry(BusinessObject lineBusinessObject)(Code) | | Determines whether a business object is hidable on an inquiry screen. Hidable means that if the user chose to hide the inactive
elements in the collection in which the passed in BO resides, then the BO would be hidden
Parameters: lineBusinessObject - the collection element BO, should be of type PersistableBusinessObject and Inquirable whether the BO is eligible to be hidden if the user decides to hide them |
isRowHideableForMaintenanceDocument | protected static boolean isRowHideableForMaintenanceDocument(BusinessObject lineBusinessObject, BusinessObject oldLineBusinessObject)(Code) | | Determines whether a business object is hidable on a maintenance document. Hidable means that if the user chose to hide the inactive
elements in the collection in which the passed in BOs reside, then the BOs would be hidden
Parameters: lineBusinessObject - the BO in the new maintainable, should be of type PersistableBusinessObject and Inquirable Parameters: oldLineBusinessObject - the corresponding BO in the old maintainable, should be of type PersistableBusinessObject and Inquirable whether the BOs are eligible to be hidden if the user decides to hide them |
toSection | final public static Section toSection(Inquirable inquirable, InquirySectionDefinition sd, BusinessObject o)(Code) | | This method creates a Section for display on an Inquiry Screen.
Parameters: sd - The DD definition from which to construct the Section. Parameters: o - The BusinessObject from which to populate the Section values. A populated Section. |
toSection | final public static Section toSection(MaintainableSectionDefinition sd, BusinessObject o, Maintainable maintainable, Maintainable oldMaintainable, String maintenanceAction, boolean autoFillDefaultValues, boolean autoFillBlankRequiredValues, List<String> displayedFieldNames) throws InstantiationException, IllegalAccessException(Code) | | This method creates a Section for a MaintenanceDocument.
Parameters: sd - The DD definition of the Section. Parameters: o - The BusinessObject from which the Section will be populated. Parameters: maintainable - Parameters: maintenanceAction - The action (new, newwithexisting, copy, edit, etc) requested from the UI. Parameters: autoFillDefaultValues - Should default values be auto-filled? Parameters: autoFillBlankRequiredValues - Should required values left blank on the UI be auto-filled? Parameters: displayedFieldNames - What fields are displayed on the UI? A populated Section. throws: InstantiationException - throws: IllegalAccessException - |
|
|