|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.services.seo.entity.impl.FriendlyURLEntityImpl
nl.gx.webmanager.services.seo.entity.impl.MediaItemFriendlyURLEntityImpl
public final class MediaItemFriendlyURLEntityImpl
Representation of a friendly URL of a media item. A media item is located by a content ID (contentid). A media item can have a Google News ID.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface nl.gx.webmanager.services.seo.FriendlyURLEntity |
|---|
FriendlyURLEntity.ContentType |
| Field Summary |
|---|
| Fields inherited from interface nl.gx.webmanager.services.seo.MediaItemFriendlyURLEntity |
|---|
MEDIA_ITEM_ID_PART |
| Fields inherited from interface nl.gx.webmanager.services.seo.FriendlyURLEntity |
|---|
PATH_SEPARATOR |
| Constructor Summary | |
|---|---|
MediaItemFriendlyURLEntityImpl(int mediaItemId,
int mediaItemVersionId,
java.lang.String urlTitle,
boolean isActive,
boolean isLive)
Constructor used to create a new media item friendly URL entity. |
|
MediaItemFriendlyURLEntityImpl(int id,
java.lang.String urlIdentifier,
java.lang.String entityIdentifier,
java.lang.String urlTitle,
int websiteId,
java.lang.Integer sequenceNumber,
boolean activated,
boolean isLive,
java.lang.String queryString,
java.util.Date entryDate,
FriendlyURLEntity reference,
java.lang.Integer mediaItemVersionId,
java.lang.String googleNewsId)
Constructor used to instantiate an existing friendly URL entity when all fields are available. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
constructGoogleNewsId()
Returns the Constructed Google id of the media item. |
FriendlyURLEntity.ContentType |
getContentType()
Returns the content type of the friendly URL entity. |
java.lang.String |
getGoogleNewsId()
Returns the Google News identifier of the friendly URL. |
java.lang.Integer |
getMediaItemId()
Returns the media item identifier of the friendly URL. |
java.lang.Integer |
getVersionId()
Returns the version id of the friendly URL. |
java.lang.String |
toString()
|
| Methods inherited from class nl.gx.webmanager.services.seo.entity.impl.FriendlyURLEntityImpl |
|---|
equals, getAlternativePath, getBaseEntityIdentifier, getBaseIdentifier, getBaseURLTitleEntityIdentifier, getEntityIdentifier, getEntryDate, getId, getQueryString, getReference, getSequenceNumber, getURLIdentifier, getURLTitle, getURLTitleEntity, getWebsiteId, hashCode, isActivated, isAlternative, isCurrent, isLive, setActivated, setAlternative, setId, setLive, setReference, setSequenceNumber, setURLTitle, setURLTitleIdentifier |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface nl.gx.webmanager.services.seo.FriendlyURLEntity |
|---|
getAlternativePath, getBaseEntityIdentifier, getBaseIdentifier, getBaseURLTitleEntityIdentifier, getEntityIdentifier, getEntryDate, getId, getQueryString, getReference, getSequenceNumber, getURLIdentifier, getURLTitle, getURLTitleEntity, getWebsiteId, isActivated, isAlternative, isCurrent, isLive |
| Constructor Detail |
|---|
public MediaItemFriendlyURLEntityImpl(int mediaItemId,
int mediaItemVersionId,
java.lang.String urlTitle,
boolean isActive,
boolean isLive)
mediaItemId - Identifier of a media item.mediaItemVersionId - Identifier of a media item version.urlTitle - URL title of that media item.isActive - true if the URL title is active, that is, is accessible,
false otherwise.isLive - true if the media item version the URL title is pointing to, is the current
media item version of the media item, false otherwise.
public MediaItemFriendlyURLEntityImpl(int id,
java.lang.String urlIdentifier,
java.lang.String entityIdentifier,
java.lang.String urlTitle,
int websiteId,
java.lang.Integer sequenceNumber,
boolean activated,
boolean isLive,
java.lang.String queryString,
java.util.Date entryDate,
FriendlyURLEntity reference,
java.lang.Integer mediaItemVersionId,
java.lang.String googleNewsId)
id - The identifier of the entity.urlIdentifier - The URL identifier of the entity.entityIdentifier - The entity identifier of the entity.urlTitle - The URL title of the entity.websiteId - The host id of the entity.sequenceNumber - The sequence number of the entity.activated - The activated bit of the entity.isLive - The live bit of the entity.queryString - The query string of the entity.entryDate - The creation date of the entity.reference - The reference of the entity.mediaItemVersionId - The media item version id of the entity.googleNewsId - The Google News id of the entity.| Method Detail |
|---|
public FriendlyURLEntity.ContentType getContentType()
getContentType in interface FriendlyURLEntitygetContentType in class FriendlyURLEntityImplpublic java.lang.Integer getMediaItemId()
getMediaItemId in interface MediaItemFriendlyURLEntitypublic java.lang.Integer getVersionId()
getVersionId in interface FriendlyURLEntitygetVersionId in class FriendlyURLEntityImplpublic java.lang.String getGoogleNewsId()
getGoogleNewsId in interface MediaItemFriendlyURLEntitypublic java.lang.String toString()
toString in class FriendlyURLEntityImplprotected java.lang.String constructGoogleNewsId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||