001
014
015 package com.liferay.portlet.expando.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Transactional;
024 import com.liferay.portal.security.ac.AccessControlled;
025 import com.liferay.portal.service.BaseService;
026
027
038 @ProviderType
039 @AccessControlled
040 @JSONWebService
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface ExpandoColumnService extends BaseService {
044
049
050
055 public java.lang.String getBeanIdentifier();
056
057
062 public void setBeanIdentifier(java.lang.String beanIdentifier);
063
064 public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
065 long tableId, java.lang.String name, int type)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
070 long tableId, java.lang.String name, int type,
071 java.lang.Object defaultData)
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException;
074
075 public void deleteColumn(long columnId)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException;
078
079 public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
080 long columnId, java.lang.String name, int type)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException;
083
084 public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
085 long columnId, java.lang.String name, int type,
086 java.lang.Object defaultData)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException;
089
090 public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
091 long columnId, java.lang.String typeSettings)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException;
094 }