Class ObjectDefinitionServiceWrapper

java.lang.Object
com.liferay.object.service.ObjectDefinitionServiceWrapper
All Implemented Interfaces:
ObjectDefinitionService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.ServiceWrapper<ObjectDefinitionService>

public class ObjectDefinitionServiceWrapper extends Object implements ObjectDefinitionService, com.liferay.portal.kernel.service.ServiceWrapper<ObjectDefinitionService>
Provides a wrapper for ObjectDefinitionService.
See Also:
Generated:
  • Constructor Details

    • ObjectDefinitionServiceWrapper

      public ObjectDefinitionServiceWrapper()
    • ObjectDefinitionServiceWrapper

      public ObjectDefinitionServiceWrapper(ObjectDefinitionService objectDefinitionService)
  • Method Details

    • addCustomObjectDefinition

      public ObjectDefinition addCustomObjectDefinition(String externalReferenceCode, long objectFolderId, String className, boolean enableCategorization, boolean enableComments, boolean enableFormContainer, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableObjectEntryDraft, boolean enableObjectEntrySchedule, boolean enableObjectEntrySubscription, boolean enableObjectEntryVersioning, String friendlyURLSeparator, Map<Locale,String> labelMap, String name, String panelAppOrder, String panelCategoryKey, Map<Locale,String> pluralLabelMap, boolean portlet, String scope, String storageType, List<ObjectDefinitionSetting> objectDefinitionSettings, List<ObjectField> objectFields, List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> workflowDefinitionLinks, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCustomObjectDefinition in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSystemObjectDefinition

      public ObjectDefinition addSystemObjectDefinition(String externalReferenceCode, long userId, long objectFolderId, String className, boolean enableCategorization, boolean enableComments, boolean enableFormContainer, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableObjectEntryDraft, boolean enableObjectEntryHistory, boolean enableObjectEntrySchedule, boolean enableObjectEntrySubscription, boolean enableObjectEntryVersioning, String friendlyURLSeparator, Map<Locale,String> labelMap, String name, String panelAppOrder, String panelCategoryKey, Map<Locale,String> pluralLabelMap, boolean portlet, String scope, List<ObjectDefinitionSetting> objectDefinitionSettings, List<ObjectField> objectFields, List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> workflowDefinitionLinks) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addSystemObjectDefinition in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteObjectDefinition

      public ObjectDefinition deleteObjectDefinition(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteObjectDefinition in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchObjectDefinitionByExternalReferenceCode

      public ObjectDefinition fetchObjectDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchObjectDefinitionByExternalReferenceCode in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCMSObjectDefinitions

      public List<ObjectDefinition> getCMSObjectDefinitions(long companyId, String[] objectFolderExternalReferenceCodes)
      Specified by:
      getCMSObjectDefinitions in interface ObjectDefinitionService
    • getObjectDefinition

      public ObjectDefinition getObjectDefinition(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getObjectDefinition in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectDefinitionByExternalReferenceCode

      public ObjectDefinition getObjectDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getObjectDefinitionByExternalReferenceCode in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectDefinitions

      public List<ObjectDefinition> getObjectDefinitions(int start, int end)
      Specified by:
      getObjectDefinitions in interface ObjectDefinitionService
    • getObjectDefinitions

      public List<ObjectDefinition> getObjectDefinitions(long companyId, int start, int end)
      Specified by:
      getObjectDefinitions in interface ObjectDefinitionService
    • getObjectDefinitionsCount

      public int getObjectDefinitionsCount() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getObjectDefinitionsCount in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectDefinitionsCount

      public int getObjectDefinitionsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getObjectDefinitionsCount in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
      Specified by:
      getOSGiServiceIdentifier in interface ObjectDefinitionService
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectDefinitionService>
      Returns:
      the OSGi service identifier
    • publishCustomObjectDefinition

      public ObjectDefinition publishCustomObjectDefinition(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      publishCustomObjectDefinition in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • publishSystemObjectDefinition

      public ObjectDefinition publishSystemObjectDefinition(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      publishSystemObjectDefinition in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCustomObjectDefinition

      public ObjectDefinition updateCustomObjectDefinition(String externalReferenceCode, long objectDefinitionId, long accountEntryRestrictedObjectFieldId, long descriptionObjectFieldId, long objectFolderId, long titleObjectFieldId, boolean accountEntryRestricted, boolean active, String className, boolean enableCategorization, boolean enableComments, boolean enableFormContainer, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableObjectEntryDraft, boolean enableObjectEntryHistory, boolean enableObjectEntrySchedule, boolean enableObjectEntrySubscription, boolean enableObjectEntryVersioning, String friendlyURLSeparator, Map<Locale,String> labelMap, String name, String panelAppOrder, String panelCategoryKey, boolean portlet, Map<Locale,String> pluralLabelMap, String scope, int status, List<ObjectDefinitionSetting> objectDefinitionSettings, List<ObjectField> objectFields, List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> workflowDefinitionLinks, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCustomObjectDefinition in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public ObjectDefinition updateExternalReferenceCode(long objectDefinitionId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateExternalReferenceCode in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSystemObjectDefinition

      public ObjectDefinition updateSystemObjectDefinition(String externalReferenceCode, long objectDefinitionId, long objectFolderId, long titleObjectFieldId, List<ObjectDefinitionSetting> objectDefinitionSettings, List<ObjectField> objectFields, List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> workflowDefinitionLinks) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateSystemObjectDefinition in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateTitleObjectFieldId

      public ObjectDefinition updateTitleObjectFieldId(long objectDefinitionId, long titleObjectFieldId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateTitleObjectFieldId in interface ObjectDefinitionService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public ObjectDefinitionService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectDefinitionService>
    • setWrappedService

      public void setWrappedService(ObjectDefinitionService objectDefinitionService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectDefinitionService>