1
14
15 package com.liferay.portlet.expando.service;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.kernel.annotation.Isolation;
20 import com.liferay.portal.kernel.annotation.Transactional;
21
22
46 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
47 PortalException.class, SystemException.class})
48 public interface ExpandoColumnService {
49 public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
50 long tableId, java.lang.String name, int type)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
55 long tableId, java.lang.String name, int type,
56 java.lang.Object defaultData)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException;
59
60 public void deleteColumn(long columnId)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
65 long columnId, java.lang.String name, int type)
66 throws com.liferay.portal.PortalException,
67 com.liferay.portal.SystemException;
68
69 public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
70 long columnId, java.lang.String name, int type,
71 java.lang.Object defaultData)
72 throws com.liferay.portal.PortalException,
73 com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
76 long columnId, java.lang.String typeSettings)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException;
79 }