Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
SimpleMedia Module for Magnolia CMS (http://www.openmindlab.com/lab/products/media.html) Copyright(C) 2008-2013, Openmind S.r.l. http://www.openmindonline.it This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
 
 
 package net.sourceforge.openutils.mgnlmedia.media.pages;
 
 import  info.magnolia.cms.core.MetaData;
 
 import java.util.Map;
 
 import javax.jcr.Node;
 
Store media info for rendering in MediaFolderViewPage

Author(s):
molaschi
Version:
$Id: MediaFolderViewPage.java 1366 2009-09-05 08:56:03Z molaschi $
 
 public class MediaBean
 {
 
     private String handle;
 
     private String name;
 
     private String filename;
 
     private String title;
 
     private String description;
 
     private String thumbnailUrl;
 
     private String previewUrl;
 
     private String dialog;
 
     private Node content;
 
     private MetaData metaData;
 
     private String uuid;
 
     private String type;
 
     private String icon;
 
 
     private Map<StringAdvancedResultusedInNodes = new HashMap<StringAdvancedResult>();
 
     private Integer numberOfReferences;
 
     private boolean canPublish;
 
     private boolean writable;
 
     private Map<StringStringmediaInfo;
 
     private boolean external;

    
Returns the metaData.

Returns:
the metaData
 
     public MetaData getMetaData()
     {
         return ;
     }

    
Sets the metaData.

Parameters:
metaData the metaData to set
 
     public void setMetaData(MetaData metaData)
     {
         this. = metaData;
     }

    
Returns the handle.

Returns:
the handle
    public String getHandle()
    {
        return ;
    }

    
Sets the handle.

Parameters:
handle the handle to set
    public void setHandle(String handle)
    {
        this. = handle;
    }

    
Returns the name.

Returns:
the name
    public String getName()
    {
        return ;
    }

    
Sets the name.

Parameters:
name the name to set
    public void setName(String name)
    {
        this. = name;
    }

    
Returns the filename.

Returns:
the filename
    public String getFilename()
    {
        return ;
    }

    
Sets the filename.

Parameters:
filename the filename to set
    public void setFilename(String filename)
    {
        this. = filename;
    }

    
Returns the description.

Returns:
the description
    public String getDescription()
    {
        return ;
    }

    
Sets the description.

Parameters:
description the description to set
    public void setDescription(String description)
    {
        this. = description;
    }

    
Returns the thumbnailUrl.

Returns:
the thumbnailUrl
    public String getThumbnailUrl()
    {
        return ;
    }

    
Sets the thumbnailUrl.

Parameters:
thumbnailUrl the thumbnailUrl to set
    public void setThumbnailUrl(String thumbnailUrl)
    {
        this. = thumbnailUrl;
    }

    
Returns the previewUrl.

Returns:
the previewUrl
    public String getPreviewUrl()
    {
        return ;
    }

    
Sets the previewUrl.

Parameters:
previewUrl the previewUrl to set
    public void setPreviewUrl(String previewUrl)
    {
        this. = previewUrl;
    }

    
Returns the content.

Returns:
the content
    public Node getContent()
    {
        return ;
    }

    
Sets the content.

Parameters:
content the content to set
    public void setContent(Node content)
    {
        this. = content;
    }

    
Returns the uuid.

Returns:
the uuid
    public String getUuid()
    {
        return ;
    }

    
Sets the uuid.

Parameters:
uuid the uuid to set
    public void setUuid(String uuid)
    {
        this. = uuid;
    }

    
Returns the usedInWebPages.

Returns:
the usedInWebPages
    {
        return ;
    }

    
Sets the usedInWebPages.

Parameters:
usedInWebPages the usedInWebPages to set
    public void setUsedInWebPages(AdvancedResult usedInWebPages)
    {
        this. = usedInWebPages;
    }

    
Returns the usedInUris.

Returns:
the usedInUris
    {
        return ;
    }

    
Sets the usedInUris.

Parameters:
usedInUris the usedInUris to set
    public void setUsedInNodes(Map<StringAdvancedResultusedInUris)
    {
        this. = usedInUris;
    }

    
Returns the canPublish.

Returns:
the canPublish
    public boolean isCanPublish()
    {
        return ;
    }

    
Sets the canPublish.

Parameters:
canPublish the canPublish to set
    public void setCanPublish(boolean canPublish)
    {
        this. = canPublish;
    }

    
Returns the writable.

Returns:
the writable
    public boolean isWritable()
    {
        return ;
    }

    
Sets the writable.

Parameters:
writable the writable to set
    public void setWritable(boolean writable)
    {
        this. = writable;
    }

    
Returns the mediaInfo

Returns:
the mediaInfo
    public Map<StringStringgetMediaInfo()
    {
        return ;
    }

    
Sets the mediaInfo.

Parameters:
mediaInfo the mediaInfo to set
    public void setMediaInfo(Map<StringStringmediaInfo)
    {
        this. = mediaInfo;
    }
    public boolean isExternal()
    {
        return ;
    }
    public void setExternal(boolean external)
    {
        this. = external;
    }

    
Returns the title.

Returns:
the title
    public String getTitle()
    {
        return ;
    }

    
Sets the title.

Parameters:
title the title to set
    public void setTitle(String title)
    {
        this. = title;
    }

    
Returns the dialog.

Returns:
the dialog
    public String getDialog()
    {
        return ;
    }

    
Sets the dialog.

Parameters:
dialog the dialog to set
    public void setDialog(String dialog)
    {
        this. = dialog;
    }

    
Returns the type.

Returns:
the type
    public String getType()
    {
        return ;
    }

    
Sets the type.

Parameters:
type the type to set
    public void setType(String type)
    {
        this. = type;
    }

    
Returns the icon.

Returns:
the icon
    public String getIcon()
    {
        return ;
    }

    
Sets the icon.

Parameters:
icon the icon to set
    public void setIcon(String icon)
    {
        this. = icon;
    }
    {
        return ;
    }
    public void setNumberOfReferences(Integer numberOfReferences)
    {
        this. = numberOfReferences;
    }
New to GrepCode? Check out our FAQ X