wcmf\lib\presentation Namespace Reference

Namespaces

 control
 
 format
 
 impl
 
 
 view
 

Classes

interface  ActionMapper
 
class  Application
 
class  ApplicationError
 
class  ApplicationEvent
 
class  ApplicationException
 
class  Controller
 
interface  ControllerMessage
 
interface  Request
 
interface  Response
 

Variables

const ERROR_LEVEL_WARNING 'warning'
 
const ERROR_LEVEL_ERROR 'error'
 
const ERROR_LEVEL_FATAL 'fatal'
 
 $message = ObjectFactory::getInstance('message')
 
const GENERAL_WARNING serialize(array('GENERAL_WARNING', $message->getText('An unspecified warning occured.'), ERROR_LEVEL_WARNING))
 
const GENERAL_ERROR serialize(array('GENERAL_ERROR', $message->getText('An unspecified error occured.', ERROR_LEVEL_ERROR)))
 
const GENERAL_FATAL serialize(array('GENERAL_FATAL', $message->getText('An unspecified fatal error occured.'), ERROR_LEVEL_FATAL))
 
const ACTION_INVALID serialize(array('ACTION_INVALID', $message->getText('The requested action is unknown.'), ERROR_LEVEL_ERROR))
 
const SESSION_INVALID serialize(array('SESSION_INVALID', $message->getText('The session is invalid.'), ERROR_LEVEL_ERROR))
 
const PARAMETER_MISSING serialize(array('PARAMETER_MISSING', $message->getText('One or more parameters are missing.'), ERROR_LEVEL_ERROR))
 
const PARAMETER_INVALID serialize(array('PARAMETER_INVALID', $message->getText('One or more parameters are invalid.'), ERROR_LEVEL_ERROR))
 
const OID_INVALID serialize(array('OID_INVALID', $message->getText('One or more object ids are invalid.'), ERROR_LEVEL_ERROR))
 
const CLASS_NAME_INVALID serialize(array('CLASS_NAME_INVALID', $message->getText('One or more classes are invalid.'), ERROR_LEVEL_ERROR))
 
const AUTHENTICATION_FAILED serialize(array('AUTHENTICATION_FAILED', $message->getText('Authentication failed.'), ERROR_LEVEL_ERROR))
 
const LIMIT_NEGATIVE serialize(array('LIMIT_NEGATIVE', $message->getText('The passed limit is a negative number.'), ERROR_LEVEL_WARNING))
 
const OFFSET_OUT_OF_BOUNDS serialize(array('OFFSET_OUT_OF_BOUNDS', $message->getText('The passed offset is negative or greater than the number of entries matching the parameters.'), ERROR_LEVEL_WARNING))
 
const SORT_FIELD_UNKNOWN serialize(array('SORT_FIELD_UNKNOWN', $message->getText('The passed sortFieldName is no valid attribute of the passed class.'), ERROR_LEVEL_ERROR))
 
const SORT_DIRECTION_UNKNOWN serialize(array('SORT_DIRECTION_UNKNOWN', $message->getText('The passed sortDirection has an invalid value.'), ERROR_LEVEL_ERROR))
 
const DEPTH_INVALID serialize(array('DEPTH_INVALID', $message->getText('The passed depth is a negative number other than -1.'), ERROR_LEVEL_ERROR))
 
const ATTRIBUTE_NAME_INVALID serialize(array('ATTRIBUTE_NAME_INVALID', $message->getText('The attribute name passed cannot be found in the selected class.'), ERROR_LEVEL_ERROR))
 
const ATTRIBUTE_VALUE_INVALID serialize(array('ATTRIBUTE_VALUE_INVALID', $message->getText('The attribute value passed is invalid for the attribute.'), ERROR_LEVEL_ERROR))
 
const CONCURRENT_UPDATE serialize(array('CONCURRENT_UPDATE', $message->getText('The server detected a concurrent update.'), ERROR_LEVEL_ERROR))
 
const ROLE_INVALID serialize(array('ROLE_INVALID', $message->getText('The role passed cannot be found in the selected source class.'), ERROR_LEVEL_ERROR))
 
const ASSOCIATION_INVALID serialize(array('ASSOCIATION_INVALID', $message->getText('There is no association between the source and the target class.'), ERROR_LEVEL_ERROR))
 
const ASSOCIATION_NOT_FOUND serialize(array('ASSOCIATION_NOT_FOUND', $message->getText('No current association matching the input parameters can be found.'), ERROR_LEVEL_WARNING))
 
const SEARCH_NOT_SUPPORTED serialize(array('SEARCH_NOT_SUPPORTED', $message->getText('There selected class does not support searching.'), ERROR_LEVEL_ERROR))
 
const ORDER_UNDEFINED serialize(array('ORDER_UNDEFINED', $message->getText('There is no order defined for the root object.'), ERROR_LEVEL_WARNING))
 
const REFERENCE_INVALID serialize(array('REFERENCE_INVALID', $message->getText('There reference object cannot be found in the container object.'), ERROR_LEVEL_ERROR))
 
const ORDER_NOT_SUPPORTED serialize(array('ORDER_NOT_SUPPORTED', $message->getText('The container class does not support ordered references.'), ERROR_LEVEL_ERROR))
 
const CLASSES_DO_NOT_MATCH serialize(array('CLASSES_DO_NOT_MATCH', $message->getText('The classes of insertOid and referenceOid do not match.'), ERROR_LEVEL_ERROR))
 
const HISTORY_NOT_SUPPORTED serialize(array('HISTORY_NOT_SUPPORTED', $message->getText('There selected class does not support history.'), ERROR_LEVEL_ERROR))
 
const PERMISSION_DENIED serialize(array('PERMISSION_DENIED', $message->getText('The user does not have the permission to perform this action.'), ERROR_LEVEL_ERROR))
 
const OBJECT_IS_LOCKED serialize(array('OBJECT_IS_LOCKED', $message->getText('The object is currently locked by another user.'), ERROR_LEVEL_ERROR))
 

Variable Documentation

const ERROR_LEVEL_WARNING 'warning'

Predefined error levels.

Definition at line 21 of file ApplicationError.php.

const ERROR_LEVEL_ERROR 'error'

Definition at line 22 of file ApplicationError.php.

const ERROR_LEVEL_FATAL 'fatal'

Definition at line 23 of file ApplicationError.php.

$message = ObjectFactory::getInstance('message')

Predefined errors.

Definition at line 155 of file ApplicationError.php.

const GENERAL_WARNING serialize(array('GENERAL_WARNING', $message->getText('An unspecified warning occured.'), ERROR_LEVEL_WARNING))

Definition at line 156 of file ApplicationError.php.

const GENERAL_ERROR serialize(array('GENERAL_ERROR', $message->getText('An unspecified error occured.', ERROR_LEVEL_ERROR)))

Definition at line 158 of file ApplicationError.php.

const GENERAL_FATAL serialize(array('GENERAL_FATAL', $message->getText('An unspecified fatal error occured.'), ERROR_LEVEL_FATAL))

Definition at line 160 of file ApplicationError.php.

const ACTION_INVALID serialize(array('ACTION_INVALID', $message->getText('The requested action is unknown.'), ERROR_LEVEL_ERROR))

Definition at line 163 of file ApplicationError.php.

const SESSION_INVALID serialize(array('SESSION_INVALID', $message->getText('The session is invalid.'), ERROR_LEVEL_ERROR))

Definition at line 165 of file ApplicationError.php.

const PARAMETER_MISSING serialize(array('PARAMETER_MISSING', $message->getText('One or more parameters are missing.'), ERROR_LEVEL_ERROR))

Definition at line 167 of file ApplicationError.php.

const PARAMETER_INVALID serialize(array('PARAMETER_INVALID', $message->getText('One or more parameters are invalid.'), ERROR_LEVEL_ERROR))

Definition at line 169 of file ApplicationError.php.

const OID_INVALID serialize(array('OID_INVALID', $message->getText('One or more object ids are invalid.'), ERROR_LEVEL_ERROR))

Definition at line 171 of file ApplicationError.php.

const CLASS_NAME_INVALID serialize(array('CLASS_NAME_INVALID', $message->getText('One or more classes are invalid.'), ERROR_LEVEL_ERROR))

Definition at line 173 of file ApplicationError.php.

const AUTHENTICATION_FAILED serialize(array('AUTHENTICATION_FAILED', $message->getText('Authentication failed.'), ERROR_LEVEL_ERROR))

Definition at line 176 of file ApplicationError.php.

const LIMIT_NEGATIVE serialize(array('LIMIT_NEGATIVE', $message->getText('The passed limit is a negative number.'), ERROR_LEVEL_WARNING))

Definition at line 179 of file ApplicationError.php.

const OFFSET_OUT_OF_BOUNDS serialize(array('OFFSET_OUT_OF_BOUNDS', $message->getText('The passed offset is negative or greater than the number of entries matching the parameters.'), ERROR_LEVEL_WARNING))

Definition at line 181 of file ApplicationError.php.

const SORT_FIELD_UNKNOWN serialize(array('SORT_FIELD_UNKNOWN', $message->getText('The passed sortFieldName is no valid attribute of the passed class.'), ERROR_LEVEL_ERROR))

Definition at line 183 of file ApplicationError.php.

const SORT_DIRECTION_UNKNOWN serialize(array('SORT_DIRECTION_UNKNOWN', $message->getText('The passed sortDirection has an invalid value.'), ERROR_LEVEL_ERROR))

Definition at line 185 of file ApplicationError.php.

const DEPTH_INVALID serialize(array('DEPTH_INVALID', $message->getText('The passed depth is a negative number other than -1.'), ERROR_LEVEL_ERROR))

Definition at line 188 of file ApplicationError.php.

const ATTRIBUTE_NAME_INVALID serialize(array('ATTRIBUTE_NAME_INVALID', $message->getText('The attribute name passed cannot be found in the selected class.'), ERROR_LEVEL_ERROR))

Definition at line 191 of file ApplicationError.php.

const ATTRIBUTE_VALUE_INVALID serialize(array('ATTRIBUTE_VALUE_INVALID', $message->getText('The attribute value passed is invalid for the attribute.'), ERROR_LEVEL_ERROR))

Definition at line 193 of file ApplicationError.php.

const CONCURRENT_UPDATE serialize(array('CONCURRENT_UPDATE', $message->getText('The server detected a concurrent update.'), ERROR_LEVEL_ERROR))

Definition at line 195 of file ApplicationError.php.

const ROLE_INVALID serialize(array('ROLE_INVALID', $message->getText('The role passed cannot be found in the selected source class.'), ERROR_LEVEL_ERROR))

Definition at line 198 of file ApplicationError.php.

const ASSOCIATION_INVALID serialize(array('ASSOCIATION_INVALID', $message->getText('There is no association between the source and the target class.'), ERROR_LEVEL_ERROR))

Definition at line 200 of file ApplicationError.php.

const ASSOCIATION_NOT_FOUND serialize(array('ASSOCIATION_NOT_FOUND', $message->getText('No current association matching the input parameters can be found.'), ERROR_LEVEL_WARNING))

Definition at line 202 of file ApplicationError.php.

const SEARCH_NOT_SUPPORTED serialize(array('SEARCH_NOT_SUPPORTED', $message->getText('There selected class does not support searching.'), ERROR_LEVEL_ERROR))

Definition at line 205 of file ApplicationError.php.

const ORDER_UNDEFINED serialize(array('ORDER_UNDEFINED', $message->getText('There is no order defined for the root object.'), ERROR_LEVEL_WARNING))

Definition at line 208 of file ApplicationError.php.

const REFERENCE_INVALID serialize(array('REFERENCE_INVALID', $message->getText('There reference object cannot be found in the container object.'), ERROR_LEVEL_ERROR))

Definition at line 211 of file ApplicationError.php.

const ORDER_NOT_SUPPORTED serialize(array('ORDER_NOT_SUPPORTED', $message->getText('The container class does not support ordered references.'), ERROR_LEVEL_ERROR))

Definition at line 213 of file ApplicationError.php.

const CLASSES_DO_NOT_MATCH serialize(array('CLASSES_DO_NOT_MATCH', $message->getText('The classes of insertOid and referenceOid do not match.'), ERROR_LEVEL_ERROR))

Definition at line 216 of file ApplicationError.php.

const HISTORY_NOT_SUPPORTED serialize(array('HISTORY_NOT_SUPPORTED', $message->getText('There selected class does not support history.'), ERROR_LEVEL_ERROR))

Definition at line 219 of file ApplicationError.php.

const PERMISSION_DENIED serialize(array('PERMISSION_DENIED', $message->getText('The user does not have the permission to perform this action.'), ERROR_LEVEL_ERROR))

Definition at line 222 of file ApplicationError.php.

const OBJECT_IS_LOCKED serialize(array('OBJECT_IS_LOCKED', $message->getText('The object is currently locked by another user.'), ERROR_LEVEL_ERROR))

Definition at line 225 of file ApplicationError.php.