com.liferay.portal.mirage.custom
Class ContentTypeServiceImpl
java.lang.Object
com.liferay.portal.mirage.custom.ContentTypeServiceImpl
- All Implemented Interfaces:
- com.sun.portal.cms.mirage.service.custom.ContentTypeService
public class ContentTypeServiceImpl
- extends java.lang.Object
- implements com.sun.portal.cms.mirage.service.custom.ContentTypeService
View Source
- Author:
- Jorge Ferrer, Prakash Reddy
|
Method Summary |
void |
addTemplateToContentType(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
assignDefaultTemplate(com.sun.portal.cms.mirage.model.custom.ContentType contentType,
com.sun.portal.cms.mirage.model.custom.Template template)
|
boolean |
checkContentTypeExists(java.lang.String contentTypeUUID)
|
void |
checkOutTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
createContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
deleteContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
deleteTemplateOfContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType,
com.sun.portal.cms.mirage.model.custom.Template template)
|
void |
deleteTemplatesOfContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType,
com.sun.portal.cms.mirage.model.custom.Template[] templatesToBeDeleted)
|
java.util.List<com.sun.portal.cms.mirage.model.custom.Template> |
getAllVersionsOfTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
java.util.List<java.lang.String> |
getAvailableContentTypeNames(com.sun.portal.cms.mirage.model.custom.Category category)
|
java.util.List<com.sun.portal.cms.mirage.model.custom.ContentType> |
getAvailableContentTypes(com.sun.portal.cms.mirage.model.custom.Category category)
|
com.sun.portal.cms.mirage.model.custom.ContentType |
getContentTypeByNameAndCategory(java.lang.String contentTypeName,
com.sun.portal.cms.mirage.model.custom.Category category)
|
com.sun.portal.cms.mirage.model.custom.ContentType |
getContentTypeByUUID(java.lang.String contentTypeUUID)
|
com.sun.portal.cms.mirage.model.custom.Template |
getLatestVersionOfTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
com.sun.portal.cms.mirage.model.custom.Template |
getTemplateWithUUID(java.lang.String templateUUID)
|
boolean |
isContentTypeEditable(java.lang.String contentTypeUUID)
|
void |
revertChangesTemplateForTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
saveNewVersionOfTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
unassignDefaultTemplate(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
updateCategoryOfContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
updateContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
void |
updateTemplateOfContentType(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
boolean |
validateTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentTypeServiceImpl
public ContentTypeServiceImpl()
addTemplateToContentType
public void addTemplateToContentType(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
addTemplateToContentType in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
assignDefaultTemplate
public void assignDefaultTemplate(com.sun.portal.cms.mirage.model.custom.ContentType contentType,
com.sun.portal.cms.mirage.model.custom.Template template)
- Specified by:
assignDefaultTemplate in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
checkContentTypeExists
public boolean checkContentTypeExists(java.lang.String contentTypeUUID)
- Specified by:
checkContentTypeExists in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
checkOutTemplate
public void checkOutTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
checkOutTemplate in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
createContentType
public void createContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
createContentType in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
deleteContentType
public void deleteContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
deleteContentType in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
deleteTemplateOfContentType
public void deleteTemplateOfContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType,
com.sun.portal.cms.mirage.model.custom.Template template)
- Specified by:
deleteTemplateOfContentType in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
deleteTemplatesOfContentType
public void deleteTemplatesOfContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType,
com.sun.portal.cms.mirage.model.custom.Template[] templatesToBeDeleted)
- Specified by:
deleteTemplatesOfContentType in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
getAllVersionsOfTemplate
public java.util.List<com.sun.portal.cms.mirage.model.custom.Template> getAllVersionsOfTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
getAllVersionsOfTemplate in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
getAvailableContentTypeNames
public java.util.List<java.lang.String> getAvailableContentTypeNames(com.sun.portal.cms.mirage.model.custom.Category category)
- Specified by:
getAvailableContentTypeNames in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
getAvailableContentTypes
public java.util.List<com.sun.portal.cms.mirage.model.custom.ContentType> getAvailableContentTypes(com.sun.portal.cms.mirage.model.custom.Category category)
- Specified by:
getAvailableContentTypes in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
getContentTypeByNameAndCategory
public com.sun.portal.cms.mirage.model.custom.ContentType getContentTypeByNameAndCategory(java.lang.String contentTypeName,
com.sun.portal.cms.mirage.model.custom.Category category)
- Specified by:
getContentTypeByNameAndCategory in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
getContentTypeByUUID
public com.sun.portal.cms.mirage.model.custom.ContentType getContentTypeByUUID(java.lang.String contentTypeUUID)
- Specified by:
getContentTypeByUUID in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
getLatestVersionOfTemplate
public com.sun.portal.cms.mirage.model.custom.Template getLatestVersionOfTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
getLatestVersionOfTemplate in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
getTemplateWithUUID
public com.sun.portal.cms.mirage.model.custom.Template getTemplateWithUUID(java.lang.String templateUUID)
- Specified by:
getTemplateWithUUID in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
isContentTypeEditable
public boolean isContentTypeEditable(java.lang.String contentTypeUUID)
- Specified by:
isContentTypeEditable in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
revertChangesTemplateForTemplate
public void revertChangesTemplateForTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
revertChangesTemplateForTemplate in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
saveNewVersionOfTemplate
public void saveNewVersionOfTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
saveNewVersionOfTemplate in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
unassignDefaultTemplate
public void unassignDefaultTemplate(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
unassignDefaultTemplate in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
updateCategoryOfContentType
public void updateCategoryOfContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
updateCategoryOfContentType in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
updateContentType
public void updateContentType(com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
updateContentType in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
updateTemplateOfContentType
public void updateTemplateOfContentType(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
updateTemplateOfContentType in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService
validateTemplate
public boolean validateTemplate(com.sun.portal.cms.mirage.model.custom.Template template,
com.sun.portal.cms.mirage.model.custom.ContentType contentType)
- Specified by:
validateTemplate in interface com.sun.portal.cms.mirage.service.custom.ContentTypeService