public class ScriptConstraint extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAuthority(String authority)
Cascade delete an authority
|
void |
deleteValue(String value)
Cascade delete a value
|
String[] |
getAllowedValues() |
ScriptConstraintAuthority[] |
getAuthorities() |
String |
getName() |
String |
getTitle() |
ScriptConstraintValue |
getValue(String value)
Get a single value
|
ScriptConstraintValue[] |
getValues() |
boolean |
isCaseSensitive() |
void |
setName(String name) |
void |
setTitle(String title) |
void |
updateAllowedValues(String[] allowedValues)
updateAllowedValues
|
void |
updateTitle(String newTitle)
updateTitle
|
void |
updateValues(org.json.JSONArray bodge)
Update a value
|
void |
updateValues(String value,
String[] authorities)
Update a value
|
public void setTitle(String title)
public String getTitle()
public void setName(String name)
public String getName()
public boolean isCaseSensitive()
public String[] getAllowedValues()
public ScriptConstraintAuthority[] getAuthorities()
public void updateTitle(String newTitle)
public void updateAllowedValues(String[] allowedValues)
public void updateValues(org.json.JSONArray bodge)
throws Exception
values - authorities - Exceptionpublic void updateValues(String value, String[] authorities)
values - authorities - public void deleteAuthority(String authority)
authority - public void deleteValue(String value)
value - public ScriptConstraintValue getValue(String value)
value - public ScriptConstraintValue[] getValues()
Copyright © 2005–2018 Alfresco Software. All rights reserved.