com.liferay.portlet.dynamicdatamapping.service.impl
Class DDMStructureLocalServiceImpl
java.lang.Object
com.liferay.portlet.dynamicdatamapping.service.base.DDMStructureLocalServiceBaseImpl
com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, PersistedModelLocalService, DDMStructureLocalService
public class DDMStructureLocalServiceImpl
- extends DDMStructureLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMStructureLocalServiceBaseImpl |
counterLocalService, ddmContentLocalService, ddmContentPersistence, ddmStorageLinkLocalService, ddmStorageLinkPersistence, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, ddmTemplateFinder, ddmTemplateLocalService, ddmTemplatePersistence, ddmTemplateService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
DDMStructure |
addStructure(long userId,
long groupId,
long classNameId,
String structureKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
String storageType,
int type,
ServiceContext serviceContext)
|
void |
addStructureResources(DDMStructure structure,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addStructureResources(DDMStructure structure,
String[] groupPermissions,
String[] guestPermissions)
|
protected void |
appendNewStructureRequiredFields(DDMStructure structure,
Document templateDocument)
|
DDMStructure |
copyStructure(long userId,
long structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
ServiceContext serviceContext)
|
void |
deleteStructure(DDMStructure structure)
|
void |
deleteStructure(long structureId)
|
void |
deleteStructure(long groupId,
String structureKey)
|
void |
deleteStructures(long groupId)
|
protected DDMStructure |
doUpdateStructure(Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext,
DDMStructure structure)
|
DDMStructure |
fetchStructure(long structureId)
|
DDMStructure |
fetchStructure(long groupId,
String structureKey)
|
List<DDMStructure> |
getClassStructures(long classNameId)
|
List<DDMStructure> |
getClassStructures(long classNameId,
int start,
int end)
|
List<DDMStructure> |
getClassStructures(long classNameId,
OrderByComparator orderByComparator)
|
List<DDMStructure> |
getDLFileEntryTypeStructures(long dlFileEntryTypeId)
|
DDMStructure |
getStructure(long structureId)
|
DDMStructure |
getStructure(long groupId,
String structureKey)
|
List<DDMStructure> |
getStructure(long groupId,
String name,
String description)
|
List<DDMStructure> |
getStructureEntries()
Deprecated. getStructures() |
List<DDMStructure> |
getStructureEntries(long groupId)
Deprecated. getStructures(long) |
List<DDMStructure> |
getStructureEntries(long groupId,
int start,
int end)
Deprecated. getStructures(long, int, int) |
List<DDMStructure> |
getStructures()
|
List<DDMStructure> |
getStructures(long groupId)
|
List<DDMStructure> |
getStructures(long groupId,
int start,
int end)
|
int |
getStructuresCount(long groupId)
|
List<DDMStructure> |
search(long companyId,
long[] groupIds,
long[] classNameIds,
String keywords,
int start,
int end,
OrderByComparator orderByComparator)
|
List<DDMStructure> |
search(long companyId,
long[] groupIds,
long[] classNameIds,
String name,
String description,
String storageType,
int type,
boolean andOperator,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
String keywords)
|
int |
searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
String name,
String description,
String storageType,
int type,
boolean andOperator)
|
protected void |
syncStructureTemplatesFields(DDMStructure structure)
|
protected void |
syncStructureTemplatesFields(DDMTemplate template,
Element templateElement)
|
DDMStructure |
updateStructure(long structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext)
|
DDMStructure |
updateStructure(long groupId,
String structureKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext)
|
protected void |
validate(List<Element> elements,
Set<String> names)
|
protected void |
validate(long groupId,
String structureKey,
Map<Locale,String> nameMap,
String xsd)
|
protected void |
validate(Map<Locale,String> nameMap,
String xsd)
|
protected void |
validateName(Map<Locale,String> nameMap)
|
Methods inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMStructureLocalServiceBaseImpl |
addDDMStructure, afterPropertiesSet, createDDMStructure, deleteDDMStructure, deleteDDMStructure, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchDDMStructure, getBeanIdentifier, getClassLoader, getCounterLocalService, getDDMContentLocalService, getDDMContentPersistence, getDDMStorageLinkLocalService, getDDMStorageLinkPersistence, getDDMStructure, getDDMStructureByUuidAndGroupId, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructures, getDDMStructuresCount, getDDMStructureService, getDDMTemplateFinder, getDDMTemplateLocalService, getDDMTemplatePersistence, getDDMTemplateService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setDDMContentLocalService, setDDMContentPersistence, setDDMStorageLinkLocalService, setDDMStorageLinkPersistence, setDDMStructureFinder, setDDMStructureLinkLocalService, setDDMStructureLinkPersistence, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setDDMTemplateFinder, setDDMTemplateLocalService, setDDMTemplatePersistence, setDDMTemplateService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateDDMStructure, updateDDMStructure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMStructureLocalServiceImpl
public DDMStructureLocalServiceImpl()
addStructure
public DDMStructure addStructure(long userId,
long groupId,
long classNameId,
String structureKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
String storageType,
int type,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(DDMStructure structure,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(DDMStructure structure,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyStructure
public DDMStructure copyStructure(long userId,
long structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public void deleteStructure(DDMStructure structure)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public void deleteStructure(long structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public void deleteStructure(long groupId,
String structureKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructures
public void deleteStructures(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
fetchStructure
public DDMStructure fetchStructure(long structureId)
throws SystemException
- Throws:
SystemException
fetchStructure
public DDMStructure fetchStructure(long groupId,
String structureKey)
throws SystemException
- Throws:
SystemException
getClassStructures
public List<DDMStructure> getClassStructures(long classNameId)
throws SystemException
- Throws:
SystemException
getClassStructures
public List<DDMStructure> getClassStructures(long classNameId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getClassStructures
public List<DDMStructure> getClassStructures(long classNameId,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getDLFileEntryTypeStructures
public List<DDMStructure> getDLFileEntryTypeStructures(long dlFileEntryTypeId)
throws SystemException
- Throws:
SystemException
getStructure
public DDMStructure getStructure(long structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructure
public DDMStructure getStructure(long groupId,
String structureKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructure
public List<DDMStructure> getStructure(long groupId,
String name,
String description)
throws SystemException
- Throws:
SystemException
getStructureEntries
public List<DDMStructure> getStructureEntries()
throws SystemException
- Deprecated.
getStructures()
- Throws:
SystemException
getStructureEntries
public List<DDMStructure> getStructureEntries(long groupId)
throws SystemException
- Deprecated.
getStructures(long)
- Throws:
SystemException
getStructureEntries
public List<DDMStructure> getStructureEntries(long groupId,
int start,
int end)
throws SystemException
- Deprecated.
getStructures(long, int, int)
- Throws:
SystemException
getStructures
public List<DDMStructure> getStructures()
throws SystemException
- Throws:
SystemException
getStructures
public List<DDMStructure> getStructures(long groupId)
throws SystemException
- Throws:
SystemException
getStructures
public List<DDMStructure> getStructures(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getStructuresCount
public int getStructuresCount(long groupId)
throws SystemException
- Throws:
SystemException
search
public List<DDMStructure> search(long companyId,
long[] groupIds,
long[] classNameIds,
String keywords,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
search
public List<DDMStructure> search(long companyId,
long[] groupIds,
long[] classNameIds,
String name,
String description,
String storageType,
int type,
boolean andOperator,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
String keywords)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
String name,
String description,
String storageType,
int type,
boolean andOperator)
throws SystemException
- Throws:
SystemException
updateStructure
public DDMStructure updateStructure(long structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateStructure
public DDMStructure updateStructure(long groupId,
String structureKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
appendNewStructureRequiredFields
protected void appendNewStructureRequiredFields(DDMStructure structure,
Document templateDocument)
doUpdateStructure
protected DDMStructure doUpdateStructure(Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext,
DDMStructure structure)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
syncStructureTemplatesFields
protected void syncStructureTemplatesFields(DDMStructure structure)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
syncStructureTemplatesFields
protected void syncStructureTemplatesFields(DDMTemplate template,
Element templateElement)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(List<Element> elements,
Set<String> names)
throws PortalException
- Throws:
PortalException
validate
protected void validate(long groupId,
String structureKey,
Map<Locale,String> nameMap,
String xsd)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(Map<Locale,String> nameMap,
String xsd)
throws PortalException
- Throws:
PortalException
validateName
protected void validateName(Map<Locale,String> nameMap)
throws PortalException
- Throws:
PortalException