1 16 package org.apache.cocoon.webapps.portal; 17 18 24 public interface PortalConstants { 25 26 27 String SESSION_CONTEXT_NAME = "portal"; 28 29 32 String PRIVATE_SESSION_CONTEXT_NAME = "org.apache.cocoon.webapps.portal.context.SessionContext"; 33 34 35 String AUTHENTICATION_MODULE_NAME = "portal"; 36 37 40 String COPLETINFO_PARAMETERS = "COPLETINFO_PARAMETERS"; 41 42 45 String COPLETINFO_PORTALURI = "COPLETINFO_PORTALURI"; 46 47 50 String COPLETINFO_STATUSPROFILE = "COPLETINFO_STATUSPROFILE"; 51 52 String ELEMENT_CONFIGURATION="configuration"; 54 String ELEMENT_ID = "id"; 55 String ELEMENT_ADMINCONF = "portaladminconf"; 56 String ELEMENT_LAYOUT = "layout"; 57 String ELEMENT_PORTAL = "portal"; 58 String ELEMENT_PORTALCONF= "portalconf"; 59 String ELEMENT_PROFILE = "profile"; 60 String ELEMENT_ROLE = "role"; 61 String ELEMENT_STATE = "state"; 62 String ELEMENT_COPLET = "coplet"; 63 String ELEMENT_COPLETS = "coplets"; 64 65 final String STATE_USER = "user"; 67 final String STATE_ROLE = "role"; 68 final String STATE_MAIN = "main"; 69 final String STATE_COPLETS = "coplets"; 70 final String STATE_GLOBAL = "global"; 71 final String STATE_COPLET = "coplet"; 72 final String STATE_MAIN_ROLE= "mainrole"; 73 74 75 final String ATTRIBUTE_CONFIGURATION = "portalConf"; 76 77 78 final String ATTRIBUTE_PORTAL_URI = "portalURI"; 79 80 final String ATTRIBUTE_COPLET_REPOSITORY = "portalRep"; 81 82 final String PROFILE_PROFILE = "profile"; final String PROFILE_TYPE_PATHS = "typePaths"; final String PROFILE_TYPE_CONF_PATHS= "typeConfPaths"; final String PROFILE_PORTAL_LAYOUTS = "portalLayouts"; final String PROFILE_COPLET_LAYOUTS = "copletLayouts"; final String PROFILE_MISC_POINTER = "misc"; final int PROFILE_MISC_HEADER_NODE = 0; 89 final int PROFILE_MISC_FOOTER_NODE = 1; 90 final int PROFILE_MISC_HEADER_CONTENT_NODE = 2; 91 final int PROFILE_MISC_FOOTER_CONTENT_NODE = 3; 92 final int PROFILE_MISC_COLUMNS_NODE= 4; 93 final int PROFILE_MISC_LAST_COPLET_NODE = 5; 94 final int PROFILE_MISC_MESSAGES_NODE = 6; 95 97 final String PROFILE_DEFAULT_COPLETS= "defCoplets"; final String PROFILE_MEDIA_COPLETS = "mediaCoplets"; final String PROFILE_SAVE_STATUS_FLAG= "saveStatus"; 101 102 final String CONF_BUILD_RESOURCE = "A"; 103 final String CONF_AUTH_REDIRECT = "B"; 104 final String CONF_LAYOUTBASE_RESOURCE = "C"; 105 final String CONF_COPLETBASE_RESOURCE = "D"; 106 final String CONF_COPLETBASE_SAVE_RESOURCE = "E"; 107 final String CONF_TYPEBASE_RESOURCE = "F"; 108 final String CONF_GLOBALDELTA_LOADRESOURCE = "G"; 109 final String CONF_GLOBALDELTA_SAVERESOURCE = "H"; 110 final String CONF_GLOBALDELTA_TYPERESOURCE = "I"; 111 final String CONF_ROLEDELTA_LOADRESOURCE = "J"; 112 final String CONF_ROLEDELTA_SAVERESOURCE = "K"; 113 final String CONF_ROLEDELTA_TYPERESOURCE = "L"; 114 final String CONF_USERDELTA_LOADRESOURCE = "M"; 115 final String CONF_USERDELTA_SAVERESOURCE = "N"; 116 final String CONF_USERDELTA_TYPERESOURCE = "O"; 117 final String CONF_STATUS_LOADRESOURCE = "P"; 118 final String CONF_STATUS_SAVERESOURCE = "Q"; 119 final String CONF_ADMIN_TYPE_BASE = "R"; 120 final String CONF_PORTAL_URI = "S"; 121 final String CONF_PROFILE_CACHE = "T"; 122 final String CONF_PARALLEL_COPLETS = "U"; 123 final String CONF_COPLET_TIMEOUT = "V"; 124 125 final int MAX_COLUMNS = 5; 126 127 128 final String PARAMETER_MEDIA = "media"; 129 final String PARAMETER_ID = "id"; 130 final String PARAMETER_NUMBER= "number"; 131 final String PARAMETER_CUSTOMIZE = "customize"; 132 final String PARAMETER_SIZE = "size"; 133 final String PARAMETER_VISIBLE= "visible"; 134 final String PARAMETER_PERSISTENT= "persistent"; 135 } 136 | Popular Tags |