JavaDoc für PublicPersonalProfile
git-svn-id: https://svn.libreccm.org/ccm/trunk@1367 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
32adf413d9
commit
65733dc471
|
|
@ -7,7 +7,8 @@ import com.arsdigita.persistence.OID;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* A possible navigation entry for a public personal profile.
|
||||||
|
*
|
||||||
* @author Jens Pelzetter
|
* @author Jens Pelzetter
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,21 @@ import com.arsdigita.cms.contenttypes.GenericPerson;
|
||||||
import com.arsdigita.xml.Element;
|
import com.arsdigita.xml.Element;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Implementations of this interface are used to render automatic content
|
||||||
|
* (for example a publication list).
|
||||||
|
*
|
||||||
* @author Jens Pelzetter
|
* @author Jens Pelzetter
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public interface ContentGenerator {
|
public interface ContentGenerator {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generates the content
|
||||||
|
*
|
||||||
|
* @param parent XML element to attach the content to
|
||||||
|
* @param person The person to be used as data source
|
||||||
|
* @param state The current page state.
|
||||||
|
*/
|
||||||
void generateContent(Element parent, GenericPerson person, PageState state);
|
void generateContent(Element parent, GenericPerson person, PageState state);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,8 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Servlet for the PublicPersonalProfile application.
|
||||||
|
*
|
||||||
* @author Jens Pelzetter
|
* @author Jens Pelzetter
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
@ -482,6 +483,13 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generates the contact XML for the person
|
||||||
|
*
|
||||||
|
* @param profileOwnerElem
|
||||||
|
* @param contact
|
||||||
|
* @param state
|
||||||
|
*/
|
||||||
private void generateContactXml(final Element profileOwnerElem,
|
private void generateContactXml(final Element profileOwnerElem,
|
||||||
final GenericContact contact,
|
final GenericContact contact,
|
||||||
final PageState state) {
|
final PageState state) {
|
||||||
|
|
@ -524,6 +532,14 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders the admin page.
|
||||||
|
*
|
||||||
|
* @param page
|
||||||
|
* @param request
|
||||||
|
* @param response
|
||||||
|
* @throws ServletException
|
||||||
|
*/
|
||||||
private void showAdminPage(final Page page,
|
private void showAdminPage(final Page page,
|
||||||
final HttpServletRequest request,
|
final HttpServletRequest request,
|
||||||
final HttpServletResponse response)
|
final HttpServletResponse response)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue