public class CommonServiceConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_ID_ON_CREATE_CONTEXT_ATTRIBUTE_FALSE_VALUE |
static String |
ALLOW_ID_ON_CREATE_CONTEXT_ATTRIBUTE_KEY
Special attribute value which when supplied on the context during
a create will allow the calling program to supply an ID to the
implementation bypassing the check that throws a ReadOnlyException
if this is the case.
|
static String |
ALLOW_ID_ON_CREATE_CONTEXT_ATTRIBUTE_TRUE_VALUE |
static String |
REF_OBJECT_URI_GLOBAL_PREFIX
Reference Object URI's
|
Constructor and Description |
---|
CommonServiceConstants() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isIdAllowedOnCreate(ContextInfo context)
Checks if should allow Ids to be supplied on creates
|
static void |
setIsIdAllowedOnCreate(ContextInfo context,
boolean allowed) |
public static final String REF_OBJECT_URI_GLOBAL_PREFIX
public static final String ALLOW_ID_ON_CREATE_CONTEXT_ATTRIBUTE_KEY
public static final String ALLOW_ID_ON_CREATE_CONTEXT_ATTRIBUTE_TRUE_VALUE
public static final String ALLOW_ID_ON_CREATE_CONTEXT_ATTRIBUTE_FALSE_VALUE
public CommonServiceConstants()
public static boolean isIdAllowedOnCreate(ContextInfo context)
public static void setIsIdAllowedOnCreate(ContextInfo context, boolean allowed)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.