ContentBox Core API 1.5.7

contentbox.model.content
Class Category

WEB-INF.cftags.component
        extended by contentbox.model.content.Category

public class Category
extends WEB-INF.cftags.component

******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ******************************************************************************* I content category


Method Summary
 void ADDCONTENT(BaseContent content)
 any GETCATEGORY()
 any GETCATEGORYID()
 array GETCONTENT()
 any GETNUMBEROFENTRIES()
 any GETNUMBEROFPAGES()
 any GETSLUG()
 boolean HASCONTENT([BaseContent content])
 boolean REMOVECONTENT(BaseContent content)
 void SETCATEGORY(any category)
 void SETCONTENT(array content)
 void SETNUMBEROFENTRIES(any numberOfEntries)
 void SETNUMBEROFPAGES(any numberOfPages)
 void SETSLUG(any slug)
 any getMemento()
          Get memento representation
 boolean isLoaded()
          is loaded?
 Category removeAllContent()
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

ADDCONTENT

public void ADDCONTENT(BaseContent content)

Parameters:
content

GETCATEGORY

public any GETCATEGORY()


GETCATEGORYID

public any GETCATEGORYID()


GETCONTENT

public array GETCONTENT()


GETNUMBEROFENTRIES

public any GETNUMBEROFENTRIES()


GETNUMBEROFPAGES

public any GETNUMBEROFPAGES()


GETSLUG

public any GETSLUG()


HASCONTENT

public boolean HASCONTENT([BaseContent content])

Parameters:
content

REMOVECONTENT

public boolean REMOVECONTENT(BaseContent content)

Parameters:
content

SETCATEGORY

public void SETCATEGORY(any category)

Parameters:
category

SETCONTENT

public void SETCONTENT(array content)

Parameters:
content

SETNUMBEROFENTRIES

public void SETNUMBEROFENTRIES(any numberOfEntries)

Parameters:
numberOfEntries

SETNUMBEROFPAGES

public void SETNUMBEROFPAGES(any numberOfPages)

Parameters:
numberOfPages

SETSLUG

public void SETSLUG(any slug)

Parameters:
slug

getMemento

public any getMemento()
Get memento representation


isLoaded

public boolean isLoaded()
is loaded?


removeAllContent

public Category removeAllContent()


ContentBox Core API 1.5.7