1
22
23 package com.liferay.portal.mirage.custom;
24
25 import com.sun.portal.cms.mirage.exception.CMSException;
26 import com.sun.portal.cms.mirage.exception.TemplateNotFoundException;
27 import com.sun.portal.cms.mirage.exception.ValidationException;
28 import com.sun.portal.cms.mirage.model.core.User;
29 import com.sun.portal.cms.mirage.model.custom.Category;
30 import com.sun.portal.cms.mirage.model.custom.ContentType;
31 import com.sun.portal.cms.mirage.model.custom.Template;
32 import com.sun.portal.cms.mirage.service.custom.ContentTypeService;
33
34 import java.util.List;
35
36
42 public class ContentTypeServiceImpl implements ContentTypeService {
43
44 public void addTemplateToContentType(
45 Template template, ContentType contentType, User user)
46 throws CMSException, ValidationException {
47 }
48
49 public void assignDefaultTemplate(
50 ContentType contentType, Template template) throws CMSException {
51 }
52
53 public boolean checkContentTypeExists(String contentTypeUUID)
54 throws CMSException {
55
56 return false;
57 }
58
59 public void checkOutTemplate(
60 Template template, ContentType contentType, User user)
61 throws CMSException {
62 }
63 public void createContentType(ContentType contentType) throws CMSException {
64
65 }
66
67 public void deleteContentType(ContentType contentType) throws CMSException {
68 }
69
70 public void deleteTemplateOfContentType(
71 ContentType contentType, Template template)
72 throws CMSException, TemplateNotFoundException {
73 }
74
75 public void deleteTemplatesOfContentType(
76 ContentType contentType, Template[] templatesToBeDeleted)
77 throws CMSException, TemplateNotFoundException {
78 }
79
80 public List<Template> getAllVersionsOfTemplate(
81 Template template, ContentType contentType) throws CMSException {
82
83 return null;
84 }
85
86 public List<String> getAvailableContentTypeNames(Category category)
87 throws CMSException {
88
89 return null;
90 }
91
92 public List<ContentType> getAvailableContentTypes(
93 Category category, User user) throws CMSException {
94
95 return null;
96 }
97
98 public ContentType getContentTypeByUUID(String contentTypeUUID, User user)
99 throws CMSException {
100
101 return null;
102 }
103
104 public Template getLatestVersionOfTemplate(
105 Template template, ContentType contentType) throws CMSException {
106
107 return null;
108 }
109
110 public Template getTemplateWithUUID(String templateUUID)
111 throws TemplateNotFoundException {
112
113 return null;
114 }
115
116 public boolean isContentTypeEditable(String contentTypeUUID)
117 throws CMSException {
118
119 return false;
120 }
121
122 public void revertChangesTemplateForTemplate(
123 Template checkedOutTemplate, ContentType contentType, User user)
124 throws CMSException {
125 }
126
127 public void saveNewVersionOfTemplate(
128 Template newTemplate, ContentType contentType, User user)
129 throws CMSException, ValidationException {
130 }
131
132 public void unassignDefaultTemplate(ContentType contentType)
133 throws CMSException {
134 }
135
136 public void updateCategoryOfContentType(ContentType contentType)
137 throws CMSException {
138 }
139
140 public void updateContentType(ContentType contentType) throws CMSException {
141 }
142
143 public void updateTemplateOfContentType(
144 Template template, ContentType contentType, User user)
145 throws CMSException, ValidationException {
146 }
147
148 public boolean validateTemplate(
149 Template template, ContentType testContentType)
150 throws ValidationException {
151
152 return false;
153 }
154
155 }