public class DLFileEntryTypeService
extends BaseService
| Constructor and Description |
|---|
DLFileEntryTypeService(Session session) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
addFileEntryType(long groupId,
java.lang.String fileEntryTypeKey,
org.json.JSONObject nameMap,
org.json.JSONObject descriptionMap,
org.json.JSONArray ddmStructureIds,
JSONObjectWrapper serviceContext) |
org.json.JSONObject |
addFileEntryType(long groupId,
java.lang.String name,
java.lang.String description,
org.json.JSONArray ddmStructureIds,
JSONObjectWrapper serviceContext) |
void |
deleteFileEntryType(long fileEntryTypeId) |
org.json.JSONObject |
getFileEntryType(long fileEntryTypeId) |
org.json.JSONArray |
getFileEntryTypes(org.json.JSONArray groupIds) |
org.json.JSONArray |
getFileEntryTypes(org.json.JSONArray groupIds,
int start,
int end) |
java.lang.Integer |
getFileEntryTypesCount(org.json.JSONArray groupIds) |
org.json.JSONArray |
getFolderFileEntryTypes(org.json.JSONArray groupIds,
long folderId,
boolean inherited) |
org.json.JSONArray |
search(long companyId,
org.json.JSONArray groupIds,
java.lang.String keywords,
boolean includeBasicFileEntryType,
int start,
int end,
JSONObjectWrapper orderByComparator) |
java.lang.Integer |
searchCount(long companyId,
org.json.JSONArray groupIds,
java.lang.String keywords,
boolean includeBasicFileEntryType) |
void |
updateFileEntryType(long fileEntryTypeId,
org.json.JSONObject nameMap,
org.json.JSONObject descriptionMap,
org.json.JSONArray ddmStructureIds,
JSONObjectWrapper serviceContext) |
void |
updateFileEntryType(long fileEntryTypeId,
java.lang.String name,
java.lang.String description,
org.json.JSONArray ddmStructureIds,
JSONObjectWrapper serviceContext) |
public org.json.JSONObject addFileEntryType(long groupId,
java.lang.String fileEntryTypeKey,
org.json.JSONObject nameMap,
org.json.JSONObject descriptionMap,
org.json.JSONArray ddmStructureIds,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject addFileEntryType(long groupId,
java.lang.String name,
java.lang.String description,
org.json.JSONArray ddmStructureIds,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteFileEntryType(long fileEntryTypeId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject getFileEntryType(long fileEntryTypeId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getFileEntryTypes(org.json.JSONArray groupIds)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getFileEntryTypes(org.json.JSONArray groupIds,
int start,
int end)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer getFileEntryTypesCount(org.json.JSONArray groupIds)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getFolderFileEntryTypes(org.json.JSONArray groupIds,
long folderId,
boolean inherited)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray search(long companyId,
org.json.JSONArray groupIds,
java.lang.String keywords,
boolean includeBasicFileEntryType,
int start,
int end,
JSONObjectWrapper orderByComparator)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Integer searchCount(long companyId,
org.json.JSONArray groupIds,
java.lang.String keywords,
boolean includeBasicFileEntryType)
throws java.lang.Exception
java.lang.Exceptionpublic void updateFileEntryType(long fileEntryTypeId,
org.json.JSONObject nameMap,
org.json.JSONObject descriptionMap,
org.json.JSONArray ddmStructureIds,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic void updateFileEntryType(long fileEntryTypeId,
java.lang.String name,
java.lang.String description,
org.json.JSONArray ddmStructureIds,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exception