|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.migration.ResourceBean
public class ResourceBean
Resource bean for migration.
Constructor Summary | |
---|---|
ResourceBean(int contentId,
java.lang.String type,
java.lang.String name,
java.lang.String displayTemplate,
boolean published,
int legacyVersion,
boolean isSecure,
java.lang.String title,
java.lang.String useInIndex,
java.lang.String templateDescription,
java.util.Date expiryDate)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
cleanTitle()
Creates cleaned version of the title (or name if title is null). |
int |
contentId()
Accessor method for contentId. |
java.lang.String |
displayTemplate()
Accessor method for displayTemplate. |
java.util.Date |
expiryDate()
Accessor. |
boolean |
isPublished()
Accessor method for boolean value of published status. |
boolean |
isSecure()
Accessor. |
int |
legacyVersion()
Accessor method for legacyVersion. |
java.lang.String |
name()
Accessor method for name. |
java.lang.String |
templateDescription()
Accessor. |
java.lang.String |
title()
Accessor. |
java.lang.String |
type()
Accessor method for type. |
java.lang.String |
useInIndex()
Accessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceBean(int contentId, java.lang.String type, java.lang.String name, java.lang.String displayTemplate, boolean published, int legacyVersion, boolean isSecure, java.lang.String title, java.lang.String useInIndex, java.lang.String templateDescription, java.util.Date expiryDate)
contentId
- contentId of resourcetype
- type of resourcename
- name of resourcedisplayTemplate
- displayTemplate of resourcepublished
- published true for published resourcelegacyVersion
- Legacy version id of the resourceisSecure
- Does the resource have security roles associated.title
- The title for the resourceuseInIndex
- The value of use_in_index.templateDescription
- The value of templateDescription.Method Detail |
---|
public java.lang.String type()
public java.lang.String name()
public java.lang.String displayTemplate()
public int contentId()
public boolean isPublished()
public int legacyVersion()
public boolean isSecure()
public java.lang.String title()
public java.lang.String useInIndex()
public java.lang.String cleanTitle()
public java.lang.String templateDescription()
public java.util.Date expiryDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |