public class ExpandoColumnService extends BaseService
session| Constructor and Description |
|---|
ExpandoColumnService(Session session) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
addColumn(long tableId,
java.lang.String name,
int type) |
org.json.JSONObject |
addColumn(long tableId,
java.lang.String name,
int type,
org.json.JSONObject defaultData) |
void |
deleteColumn(long columnId) |
org.json.JSONObject |
fetchExpandoColumn(long columnId) |
org.json.JSONObject |
updateColumn(long columnId,
java.lang.String name,
int type) |
org.json.JSONObject |
updateColumn(long columnId,
java.lang.String name,
int type,
org.json.JSONObject defaultData) |
org.json.JSONObject |
updateTypeSettings(long columnId,
java.lang.String typeSettings) |
checkNull, getSession, mangleWrapper, setSession, toStringpublic ExpandoColumnService(Session session)
public org.json.JSONObject addColumn(long tableId,
java.lang.String name,
int type,
org.json.JSONObject defaultData)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject addColumn(long tableId,
java.lang.String name,
int type)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject updateTypeSettings(long columnId,
java.lang.String typeSettings)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteColumn(long columnId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject updateColumn(long columnId,
java.lang.String name,
int type,
org.json.JSONObject defaultData)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject updateColumn(long columnId,
java.lang.String name,
int type)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject fetchExpandoColumn(long columnId)
throws java.lang.Exception
java.lang.Exception