@ProviderType
public interface DDMStructureManager
| Modifier and Type | Field and Description |
|---|---|
static int |
STRUCTURE_COMPARATOR_STRUCTURE_KEY |
static long |
STRUCTURE_DEFAULT_PARENT_STRUCTURE_ID |
static String |
STRUCTURE_INDEXER_FIELD_NAMESPACE |
static String |
STRUCTURE_INDEXER_FIELD_PREFIX |
static String |
STRUCTURE_INDEXER_FIELD_SEPARATOR |
static int |
STRUCTURE_TYPE_AUTO |
static int |
STRUCTURE_TYPE_DEFAULT |
static String |
STRUCTURE_VERSION_DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(long structureId,
Document document,
DDMFormValues ddmFormValues) |
DDMStructure |
addStructure(long userId,
long groupId,
String parentStructureKey,
long classNameId,
String structureKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
DDMForm ddmForm,
String storageType,
int type,
ServiceContext serviceContext) |
void |
deleteStructure(long structureId) |
String |
extractAttributes(long structureId,
DDMFormValues ddmFormValues,
Locale locale) |
DDMStructure |
fetchStructure(long structureId) |
DDMStructure |
fetchStructure(long groupId,
long classNameId,
String structureKey) |
DDMStructure |
fetchStructureByUuidAndGroupId(String uuid,
long groupId) |
List<DDMStructure> |
getClassStructures(long companyId,
long classNameId) |
List<DDMStructure> |
getClassStructures(long companyId,
long classNameId,
int structureComparator) |
List<DDMStructure> |
getClassStructures(long companyId,
long classNameId,
int start,
int end) |
JSONArray |
getDDMFormFieldsJSONArray(long structureId,
String script) |
Class<?> |
getDDMStructureModelClass() |
Serializable |
getIndexedFieldValue(Serializable fieldValue,
String fieldType) |
DDMStructure |
getStructure(long structureId) |
DDMStructure |
getStructure(long groupId,
long classNameId,
String structureKey) |
DDMStructure |
getStructureByUuidAndGroupId(String uuid,
long groupId) |
List<DDMStructure> |
getStructures(long[] groupIds,
long classNameId) |
int |
getStructureStorageLinksCount(long structureId) |
DDMStructure |
updateStructure(long userId,
long structureId,
long parentStructureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
DDMForm ddmForm,
ServiceContext serviceContext) |
void |
updateStructureDefinition(long structureId,
String definition) |
void |
updateStructureKey(long structureId,
String structureKey) |
static final int STRUCTURE_COMPARATOR_STRUCTURE_KEY
static final long STRUCTURE_DEFAULT_PARENT_STRUCTURE_ID
static final String STRUCTURE_INDEXER_FIELD_NAMESPACE
static final String STRUCTURE_INDEXER_FIELD_PREFIX
static final String STRUCTURE_INDEXER_FIELD_SEPARATOR
static final int STRUCTURE_TYPE_AUTO
static final int STRUCTURE_TYPE_DEFAULT
static final String STRUCTURE_VERSION_DEFAULT
void addAttributes(long structureId,
Document document,
DDMFormValues ddmFormValues)
throws PortalException
PortalExceptionDDMStructure addStructure(long userId, long groupId, String parentStructureKey, long classNameId, String structureKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, DDMForm ddmForm, String storageType, int type, ServiceContext serviceContext) throws PortalException
PortalExceptionvoid deleteStructure(long structureId)
throws PortalException
PortalExceptionString extractAttributes(long structureId,
DDMFormValues ddmFormValues,
Locale locale)
throws PortalException
PortalExceptionDDMStructure fetchStructure(long structureId)
DDMStructure fetchStructure(long groupId, long classNameId, String structureKey)
DDMStructure fetchStructureByUuidAndGroupId(String uuid, long groupId)
List<DDMStructure> getClassStructures(long companyId, long classNameId)
List<DDMStructure> getClassStructures(long companyId, long classNameId, int structureComparator)
List<DDMStructure> getClassStructures(long companyId, long classNameId, int start, int end)
JSONArray getDDMFormFieldsJSONArray(long structureId, String script) throws PortalException
PortalExceptionClass<?> getDDMStructureModelClass()
Serializable getIndexedFieldValue(Serializable fieldValue,
String fieldType)
throws Exception
ExceptionDDMStructure getStructure(long structureId) throws PortalException
PortalExceptionDDMStructure getStructure(long groupId, long classNameId, String structureKey) throws PortalException
PortalExceptionDDMStructure getStructureByUuidAndGroupId(String uuid, long groupId) throws PortalException
PortalExceptionList<DDMStructure> getStructures(long[] groupIds, long classNameId)
int getStructureStorageLinksCount(long structureId)
DDMStructure updateStructure(long userId, long structureId, long parentStructureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, DDMForm ddmForm, ServiceContext serviceContext) throws PortalException
PortalExceptionvoid updateStructureDefinition(long structureId,
String definition)
throws PortalException
PortalExceptionvoid updateStructureKey(long structureId,
String structureKey)
throws PortalException
PortalException