Search in sources :

Example 81 with CCActionTableModel

use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.

the class EntitiesViewBean method createTableModel.

private void createTableModel() {
    tblModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblIDMEntities.xml"));
    tblModel.setTitleLabel("label.items");
    tblModel.setActionValue(TBL_BUTTON_ADD, "table.entities.button.new");
    tblModel.setActionValue(TBL_BUTTON_DELETE, "table.entities.button.delete");
    tblModel.setActionValue(TBL_COL_NAME, "table.entities.name.column.name");
    tblModel.setActionValue(TBL_COL_ID, "table.entities.name.column.id");
}
Also used : CCActionTableModel(com.sun.web.ui.model.CCActionTableModel)

Example 82 with CCActionTableModel

use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.

the class PolicyOpViewBeanBase method createReferralTableModels.

protected void createReferralTableModels() {
    tblReferralsModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblPMReferrals.xml"));
    tblReferralsModel.setTitleLabel("label.items");
    tblReferralsModel.setActionValue("tblReferralsButtonAdd", "button.new");
    tblReferralsModel.setActionValue("tblReferralsButtonDelete", "button.delete");
    tblReferralsModel.setActionValue(TBL_REFERRALS_COL_NAME, "policy.referrals.table.column.name");
    tblReferralsModel.setActionValue(TBL_REFERRALS_COL_TYPE, "policy.referrals.table.column.type");
    propertySheetModel.setModel(TBL_REFERRALS, tblReferralsModel);
}
Also used : CCActionTableModel(com.sun.web.ui.model.CCActionTableModel)

Example 83 with CCActionTableModel

use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.

the class PolicyOpViewBeanBase method createRuleTableModels.

protected void createRuleTableModels() {
    tblRulesModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblPMRules.xml"));
    tblRulesModel.setTitleLabel("label.items");
    tblRulesModel.setActionValue("tblRulesButtonAdd", "button.new");
    tblRulesModel.setActionValue("tblRulesButtonDelete", "button.delete");
    tblRulesModel.setActionValue(TBL_RULES_COL_NAME, "policy.rules.table.column.name");
    tblRulesModel.setActionValue(TBL_RULES_COL_TYPE, "policy.rules.table.column.type");
    propertySheetModel.setModel(TBL_RULES, tblRulesModel);
}
Also used : CCActionTableModel(com.sun.web.ui.model.CCActionTableModel)

Example 84 with CCActionTableModel

use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.

the class SessionPropertyConditionAddViewBean method createTableModel.

protected void createTableModel() {
    tblValuesModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblPolicySessionProperty.xml"));
    tblValuesModel.setTitleLabel("label.items");
    tblValuesModel.setActionValue("tblPolicySessionColName", "policy.table.condition.session.property.column.name");
    tblValuesModel.setActionValue("tblPolicySessionColValues", "policy.table.condition.session.property.column.values");
    tblValuesModel.setActionValue("tblPolicySessionButtonAdd", "policy.table.condition.session.property.button.add");
    tblValuesModel.setActionValue("tblPolicySessionButtonDelete", "policy.table.condition.session.property.button.delete");
    propertySheetModel.setModel(SessionPropertyConditionHelper.ATTR_VALUES, tblValuesModel);
}
Also used : CCActionTableModel(com.sun.web.ui.model.CCActionTableModel)

Example 85 with CCActionTableModel

use of com.sun.web.ui.model.CCActionTableModel in project OpenAM by OpenRock.

the class RMRealmViewBean method createTableModel.

private void createTableModel() {
    tblModel = new CCActionTableModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/tblRMRealm.xml"));
    tblModel.setTitleLabel("label.items");
    tblModel.setActionValue(TBL_BUTTON_ADD, "table.realm.button.new");
    tblModel.setActionValue(TBL_BUTTON_DELETE, "table.realm.button.delete");
    tblModel.setActionValue(TBL_COL_NAME, "table.realm.name.column.name");
    tblModel.setActionValue(TBL_COL_PATH, "table.realm.path.column.name");
}
Also used : CCActionTableModel(com.sun.web.ui.model.CCActionTableModel)

Aggregations

CCActionTableModel (com.sun.web.ui.model.CCActionTableModel)103 CCActionTable (com.sun.web.ui.view.table.CCActionTable)22 OrderedSet (com.sun.identity.shared.datastruct.OrderedSet)18 Iterator (java.util.Iterator)18 List (java.util.List)14 AMConsoleException (com.sun.identity.console.base.model.AMConsoleException)13 ArrayList (java.util.ArrayList)12 HashSet (java.util.HashSet)9 Set (java.util.Set)9 SerializedField (com.sun.identity.console.components.view.html.SerializedField)8 OptionList (com.iplanet.jato.view.html.OptionList)6 SMSubConfig (com.sun.identity.console.base.model.SMSubConfig)6 HashMap (java.util.HashMap)5 Map (java.util.Map)5 SCConfigModel (com.sun.identity.console.service.model.SCConfigModel)4 AuthPropertiesModel (com.sun.identity.console.authentication.model.AuthPropertiesModel)3 EntityModel (com.sun.identity.console.federation.model.EntityModel)2 FSAuthDomainsModel (com.sun.identity.console.federation.model.FSAuthDomainsModel)2 FSSAMLServiceModel (com.sun.identity.console.federation.model.FSSAMLServiceModel)2 SMDiscoEntryData (com.sun.identity.console.service.model.SMDiscoEntryData)2