|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.business.DocumentType
public class DocumentType
This class represents the business object DocumentType
Field Summary | |
---|---|
static java.lang.String |
RESOURCE_TYPE
|
Constructor Summary | |
---|---|
DocumentType()
|
Method Summary | |
---|---|
void |
addAttribute(DocumentAttribute documentAttribute)
Add a document attribute to this type of document |
byte[] |
getAdminXsl()
Returns the Xsl for the Administration module |
javax.xml.transform.Source |
getAdminXslSource()
Return the admin xsl source : if the admin xsl is null, a default one is generated and returned |
java.util.List<DocumentAttribute> |
getAttributes()
Gets attributes list for the document type |
java.lang.String |
getCode()
Returns the Code |
byte[] |
getContentServiceXsl()
Returns the Xsl for the Document ContentService |
javax.xml.transform.Source |
getContentServiceXslSource()
Return the xsl source to display the document into the frontoffice : if the admin xsl is null, a default one is generated and returned. |
java.lang.String |
getDefaultThumbnailUrl()
Returns the DefaultThumbnailUrl |
java.lang.String |
getDescription()
Returns the Description |
java.lang.String |
getMetadataHandler()
Returns the MetadataHandler name |
java.lang.String |
getName()
Returns the Name |
java.lang.String |
getResourceId()
RBAC resource implmentation |
java.lang.String |
getResourceTypeCode()
RBAC resource implmentation |
int |
getThumbnailAttributeId()
Returns the ThumbnailAttributeId |
MetadataHandler |
metadataHandler()
Returns the metahandler |
void |
setAdminXsl(byte[] baXsl)
Sets the Xsl for the Administration module |
void |
setCode(java.lang.String strCode)
Sets the Code |
void |
setContentServiceXsl(byte[] baXsl)
Sets the Xsl for the Document ContentService |
void |
setDefaultThumbnailUrl(java.lang.String strDefaultThumbnailUrl)
Sets the DefaultThumbnailUrl |
void |
setDescription(java.lang.String strDescription)
Sets the Description |
void |
setMetadataHandler(java.lang.String strMetadataHandler)
Sets the MetadataHandler name |
void |
setName(java.lang.String strName)
Sets the Name |
void |
setThumbnailAttributeId(int nThumbnailAttributeId)
Sets the ThumbnailAttributeId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RESOURCE_TYPE
Constructor Detail |
---|
public DocumentType()
Method Detail |
---|
public java.lang.String getCode()
public void setCode(java.lang.String strCode)
strCode
- The Codepublic java.lang.String getName()
public void setName(java.lang.String strName)
strName
- The Namepublic java.lang.String getDescription()
public void setDescription(java.lang.String strDescription)
strDescription
- The Descriptionpublic byte[] getAdminXsl()
public void setAdminXsl(byte[] baXsl)
strXsl
- The Xslpublic byte[] getContentServiceXsl()
public void setContentServiceXsl(byte[] baXsl)
strXsl
- The Xslpublic void addAttribute(DocumentAttribute documentAttribute)
documentAttribute
- The documentAttribute to addpublic java.util.List<DocumentAttribute> getAttributes()
public int getThumbnailAttributeId()
public void setThumbnailAttributeId(int nThumbnailAttributeId)
nThumbnailAttributeId
- The ThumbnailAttributeIdpublic java.lang.String getDefaultThumbnailUrl()
public void setDefaultThumbnailUrl(java.lang.String strDefaultThumbnailUrl)
strDefaultThumbnailUrl
- The DefaultThumbnailUrlpublic java.lang.String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public java.lang.String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public javax.xml.transform.Source getAdminXslSource()
public javax.xml.transform.Source getContentServiceXslSource()
public java.lang.String getMetadataHandler()
public void setMetadataHandler(java.lang.String strMetadataHandler)
strMetadataHandler
- The MetadataHandlerpublic MetadataHandler metadataHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |