@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
PortalException
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) throws PortalException
PortalException
void deleteStructure(long structureId) throws PortalException
PortalException
String extractAttributes(long structureId, DDMFormValues ddmFormValues, Locale locale) throws PortalException
PortalException
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) throws PortalException
PortalException
Class<?> getDDMStructureModelClass()
Serializable getIndexedFieldValue(Serializable fieldValue, String fieldType) throws Exception
Exception
DDMStructure getStructure(long structureId) throws PortalException
PortalException
DDMStructure getStructure(long groupId, long classNameId, String structureKey) throws PortalException
PortalException
DDMStructure getStructureByUuidAndGroupId(String uuid, long groupId) throws PortalException
PortalException
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) throws PortalException
PortalException
void updateStructureDefinition(long structureId, String definition) throws PortalException
PortalException
void updateStructureKey(long structureId, String structureKey) throws PortalException
PortalException